Symptom
The following errors are reported in the traces during HANA Database starting:
nameserver trace
f PersistenceLayer PersistenceController.cpp(00722) : startup failed exception 1: no.3040054 (DataAccess/DataRecovery/impl/LogSegmentDirectory.cpp:956)
Error reading segment directory /hana/log/<SID>/mnt00001/hdb00001/logsegment_000_directory.dat, inconsistency found at page LogDirPage[log=0,phy=330,ecnt=10240,cmax=1,seq=174337,ver=2,chk=202a90121b3c1c0]
exception throw location:
1: 0x00007f81cae0e946 in DataRecovery::LogSegmentDirectory::load(DataRecovery::LogSegmentDirectoryPage*, unsigned long)+0x972 at LogSegmentDirectory.cpp:954 (libhdbdataaccess.so)
2: 0x00007f81cae115b7 in DataRecovery::LogSegmentDirectory::LogSegmentDirectory(ltt::allocator&, unsigned long, ltt::smartptr_handle<FileAccess::File> const&, unsigned long, unsigned long&, unsigned long, unsigned long, unsigned long, DataRecovery::LogSegmentFinishIO&, bool, bool volatile&, bool)+0x5d3 at LogSegmentDirectory.cpp:414 (libhdbdataaccess.so)
3: 0x00007f81cadfb704 in DataRecovery::LogSegmentFactory::LogSegmentFactory(DataRecovery::LogPartition&, Synchronization::Mutex&, DataRecovery::LogSegmentManager&, DataRecovery::LoggerPartitionInfo const&, ltt::smartptr_handle<FileAccess::File> const&)+0x800 at LogSegment.cpp:1819 (libhdbdataaccess.so)
4: 0x00007f81cadc2bec in DataRecovery::DirectoryLogSegmentFactory::DirectoryLogSegmentFactory(DataRecovery::LogPartition&, Synchronization::Mutex&, DataRecovery::LogSegmentManager&, DataRecovery::LoggerPartitionInfo const&)+0x178 at DirectoryLogSegmentFactory.cpp:351 (libhdbdataaccess.so)
5: 0x00007f81cade6527 in DataRecovery::LogPartition::LogPartition(DataRecovery::LoggerImpl&, DataRecovery::LoggerPartitionInfo const&, unsigned long, ltt::auto_ptr<DataRecovery::LogPartition, ltt::default_deleter>&)+0x703 at LogPartition.cpp:91 (libhdbdataaccess.so)
6: 0x00007f81caddc69d in DataRecovery::LoggerImpl::addPartition(DataRecovery::LoggerPartitionInfo const&)+0x189 at LoggerImpl.cpp:2089 (libhdbdataaccess.so)
7: 0x00007f81caddfb80 in DataRecovery::LoggerImpl::LoggerImpl(ltt::allocator&, DataRecovery::LoggerFactory const&, Diagnose::StatisticsData*, Configuration::ConfigurationHandler&, DataAccess::DuplicateTIDChecker&, DataAccess::Savepoint*, ltt::smartptr_handle<DataAccess::LogShippingHandler>, bool, bool, bool, bool, bool, bool, ltt::guid const&, ltt::guid const&)+0x8a0 at LoggerImpl.cpp:866 (libhdbdataaccess.so)
8: 0x00007f81cade07dc in DataRecovery::LoggerFactory::createLogger(DataAccess::PersistenceManager&, bool, bool)+0x218 at LoggerImpl.cpp:3626 (libhdbdataaccess.so)
9: 0x00007f81cab603cf in DataAccess::PersistenceManagerImpl::createLogger(bool, bool)+0x7b at PersistenceManagerImpl.cpp:6187 (libhdbdataaccess.so)
10: 0x00007f81cab61973 in DataAccess::PersistenceManagerImpl::prepareRecoveryOrReplay(bool, bool)+0x60 at PersistenceManagerImpl.cpp:6427 (libhdbdataaccess.so)
11: 0x00007f81cab7119f in DataAccess::PersistenceManager::prepareLogRecovery(DataAccess::LogRecoveryCallback&, bool, bool, unsigned long)+0xcb at PersistenceManagerImpl.cpp:4009 (libhdbdataaccess.so)
-----------------------------------------------------------------------------------
daemon trace
i Daemon TrexDaemon.cpp(04063) : groupId = 4294967295
i Daemon Daemon.cpp(00693) : runlevel 0 completely started
i Daemon Program.cpp(00173) : line up of program group mdcdispatcher to instances <none>.
i Daemon Program.cpp(00173) : line up of program group nameserver to instances 0.
i Daemon TrexDaemon.cpp(02389) : starting program at '/usr/sap/AEQ/HDB05/exe/hdbnameserver' with args ''
w Environment NetworkListener.cpp(01153) : Child process deletes daemon port
w Environment Environment.cpp(00422) : Changing environment set TREXDAEMON_PORT==
i Daemon RunningInstance.cpp(00192) : start 'hdbnameserver' as process 11216
i Daemon SignalsUNIX.cpp(00699) : signo 2 SIGINT from user errno 0 code 0
sender pid 11216 real user id 1001 executable '/hana/shared/<SID>/exe/linuxx86_64/HDB_1.00.122.27.1568902538_6008199/hdbnameserver'
i Daemon TrexDaemon.cpp(04152) : got shutdown event (quit)
i Daemon Daemon.cpp(00779) : comment file contains: nameserver: persistence initialization failed
Read more...
Environment
SAP HANA, platform edition
Product
SAP HANA, platform edition all versions
Keywords
starting, restarting, corrupt, , KBA , HAN-DB , SAP HANA Database , HAN-DB-PER , SAP HANA Database Persistence , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.