SAP Knowledge Base Article - Preview

2356465 - Error: the logsegment directory file is missing when HANA startup

Symptom

Starting HANA server fails on a service, when you check the service trace, you can see an error about logsegment missing.

2356465.JPG

[25350]{-1}[-1/-1] 2016-08-18 09:53:50.620347 e assign           TREXIndexServer.cpp(01340) : assign failed with persistence startup error. exception  1: no.2000004  (Basis/IO/FileAccess/impl/FileDescriptors.cpp:321)
    Cannot open file ""<root>/logsegment_000_directory.dat" ((closed, mode= RW, access= rw-rw-r--, flags= DIRECT|MUST_EXIST), factory= (root= "/hana/log/HDW/mnt00001/hdb00003/" (access= rw-rw-r--, flags= AUTOCREATE_DIRECTORY, usage= LOG, fs= nfs, config= (async_write_submit_active=auto,async_write_submit_blocks=all,async_read_submit=on,num_submit_queues=1,num_completion_queues=1,size_kernel_io_queue=512,max_parallel_io_requests=64,min_submit_batch_size=16,max_submit_batch_size=64))", rc=2: No such file or directory
  
exception throw location:
 1: 0x00007f11f8fb0d4b in FileAccess::FileDescriptors::open(char const*, FileAccess::Mode, int, int, unsigned long)+0x1f7 at FileDescriptors.cpp:321 (libhdbbasis.so)
 2: 0x00007f11f8fe205a in FileAccess::LocalFile::open()+0x76 at LocalFile.cpp:175 (libhdbbasis.so)
 3: 0x00007f11f8fe2dc8 in FileAccess::LocalFile::LocalFile(ltt::allocator&, FileAccess::FileFactory&, FileAccess::FileStatistics&, unsigned long, char const*, FileAccess::Mode, int, int)+0x54 at LocalFile.cpp:147 (libhdbbasis.so)
 4: 0x00007f11f8feb08b in FileAccess::LocalFileFactory::open(ltt::basic_string<char, ltt::char_traits<char> > const&, FileAccess::Mode, int, int)+0x3c7 at LocalFileFactory.cpp:135 (libhdbbasis.so)
 5: 0x00007f11fcc52616 in DataRecovery::DirectoryLogSegmentFactory::DirectoryLogSegmentFactory(DataRecovery::LogPartition&, Synchronization::Mutex&, DataRecovery::LogSegmentManager&, DataRecovery::LoggerPartitionInfo const&)+0x162 at DirectoryLogSegmentFactory.cpp:346 (libhdbdataaccess.so)
 6: 0x00007f11fcc73873 in DataRecovery::LogPartition::LogPartition(DataRecovery::LoggerImpl&, DataRecovery::LoggerPartitionInfo const&, unsigned long, ltt::auto_ptr<DataRecovery::LogPartition, ltt::default_deleter>&)+0x5c0 at LogPartition.cpp:90 (libhdbdataaccess.so)
 7: 0x00007f11fcc6a38c in DataRecovery::LoggerImpl::addPartition(DataRecovery::LoggerPartitionInfo const&)+0x138 at LoggerImpl.cpp:1945 (libhdbdataaccess.so)
 8: 0x00007f11fcc6d4d0 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&)+0x7f0 at LoggerImpl.cpp:813 (libhdbdataaccess.so)
 9: 0x00007f11fcc6e0ec in DataRecovery::LoggerFactory::createLogger(DataAccess::PersistenceManager&, bool, bool)+0x218 at LoggerImpl.cpp:3401 (libhdbdataaccess.so)
 10: 0x00007f11fc9e0edf in DataAccess::PersistenceManagerImpl::createLogger(bool, bool)+0x7b at PersistenceManagerImpl.cpp:5826 (libhdbdataaccess.so)


Read more...

Environment

As of SAP HANA 1.0 SPS9

Product

SAP HANA 1.0, platform edition

Keywords

hdblogdiag directory, log segment, mnt00001 , KBA , HAN-DB , SAP HANA Database , HAN-DB-BAC , SAP HANA Backup & Recovery , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.