You are on page 1of 2

Nota

2356465 - Error: the log directory file is missing when HANA


startup

Cause

The log directory was either moved or deleted.

Resolution

 In case the file logsegment_000_directory.dat is missing, you can check


whether the file is really missing under log segment directory
/hana/log/<SID>/mnt00001/hdb0000X/.
 If there is no such file or you cannot find the missing log segments, you
should recover the database from a backup. Check SAP HANA
Recovery;
 If recovering the database from a backup is not possible: as of SAP
HANA 1.0 SPS09, you can re-create the directory. Before doing so,
please understand that
o There are no means to recover files that were lost or deleted;
o The old directory is saved by appending a timestamp to its name;
o If there were changes that were not saved into the data volumes
since the last shutdown (redo work), it might incur in data loss;
o You can re-create the log directory with the following command,
while logged as <sid>adm:

hdblogdiag directory --recreate


/hana/log/<SID>/mnt00001/hdb0000X/

 You can only execute the command when the DB is offline, otherwise
invalid data may occur;
 For the root cause of who/what possibly moved/deleted the files, you
have to contact your Hardware/OS vendor.

Se recreo el log segun la nota 2356465

hdblogdiag directory --recreate /hana/log/LDH/mnt00001/hdb00001

hdblogdiag directory --recreate /hana/log/LDH/mnt00003/hdb00003

hdblogdiag directory --recreate /hana/log/LDH/mnt00002/hdb00003


La Base Hana sigue sin levantar

You might also like