Symptom
The log backup does not work sometimes and return the following error:
BACKINT LOG
exception 1: no.110507 (Backup/Destination/Backint/impl/BackupDestBackint_Executor.cpp:230)
Backint exited with exit code 2 instead of 0. console output: 70922 1513876251 3 5 0 1345554240 11391 0 anpha01.w.oenb.co.at hdbbackint NSR error 39 Backint exiting at with fatal error: %s 1 0 190 Cannot reopen backint log file as stderr. Check whether path and permission are set properly. On Windows, "^M" in the line might cause problem. Filename is /nsr/applogs/hdbbackintHP1.log.raw 73987 1513876251 3 5 0 1345554240 11391 0 anpha01.w.oenb.co.at hdbbackint NSR error 158 Cannot reopen backint log file as stderr. Check whether path and permission are set properly. On Windows, "^M" in the line might cause problem. Filename is %s 1 23 34 /nsr/applogs/hdbbackintHP1.log.raw
BACKUP LOG
2017-12-21T18:10:51+01:00 P015937 1607a0e6005 ERROR LOGBCKUP state of service: indexserver, anpha01:30143, volume: 2, BackupLogError
2017-12-21T18:10:51+01:00 P015937 1607a0e6005 ERROR LOGBCKUP state of service: indexserver, anpha01:30143, volume: 2, Unexpected end of backup, expected amount of data is 4096 but transferred 0
INDEXSERVER
exception throw location:
1: 0x00007f66d735fec5 in Backup::BackupDest_DestCallback::wait(unsigned long, bool)+0x2a1 at BackupDest_DestCallback.cpp:153 (libhdbbackup.so)
2: 0x00007f66d734fc08 in Backup::BackupDest_DestinationSPI::sendSynchronous(void const*, unsigned long)+0x1e4 at BackupDest_DestinationSPI.cpp:226 (libhdbbackup.so)
3: 0x00007f66d735c5e8 in Backup::BackupDest_DestinationWriter::prepareDataCopy()+0x84 at BackupDest_DestinationWriter.cpp:310 (libhdbbackup.so)
4: 0x00007f66d735c7a9 in Backup::BackupDest_DestinationWriter::closeStream()+0xa5 at BackupDest_DestinationWriter.cpp:328 (libhdbbackup.so)
5: 0x00007f66d734a21d in Backup::BackupExe_LogBackupImpl::LogBackupThread::run(void*&)+0x2379 at BackupExe_LogBackup.cpp:573 (libhdbbackup.so)
6: 0x00007f66c525a067 in Execution::Thread::staticMainImp(void**)+0x743 at Thread.cpp:463 (libhdbbasis.so)
7: 0x00007f66c525b6f8 in Execution::Thread::staticMain(void*)+0x34 at ThreadMain.cpp:26 (libhdbbasis.so)
[16459]{-1}[-1/-1] 2017-12-30 17:42:44.076095 e Stream PipeChannelManager.cpp(00462) : write to pipe got errno 9 (Bad file descriptor)
[16401]{-1}[-1/-1] 2017-12-30 17:42:44.082043 e Stream PipeChannelManager.cpp(00462) : write to pipe got errno 9 (Bad file descriptor)
[16181]{-1}[-1/-1] 2017-12-30 17:42:44.082110 e Backup BackupExe_LogBackupInformation.cpp(00067) : Exception caught while trying to close destination: exception 1: no.110013 (Backup/Destination/impl/BackupDest_DestCallback.cpp:155)
Unexpected end of backup, expected amount of data is 4096 but transferred 0
DEBUG
(pid = 27244) (01/05/2018 05:03:04 PM) parse_input: fullpath2() expanded /usr/sap/HP1/SYS/global/hdb/backint/DB_SJP/log_backup_0_0_0_0 as /hana/shared/HP1/global/hdb/backint/DB_SJP/log_backup_0_0_0_0
(pid = 27244) (01/05/2018 05:03:04 PM) HANA data path is: /usr/sap/HP1/SYS/global/hdb/backint/DB_SJP
(pid = 27244) (01/05/2018 05:03:04 PM) null sessp
(pid = 27244) (01/05/2018 05:03:04 PM) sap_pb_check_add_ps_file(): returning 0
(pid = 27244) (01/05/2018 05:03:04 PM) sap_pb_total_num_pb_objs(): result=0
(pid = 27244) (01/05/2018 05:03:04 PM) Unable to modify the permissions of the logfile '/nsr/applogs/hdbbackintHP1.log.raw': Operation not permitted.
01/05/18 17:03:04 hdbbackint: 01/05/18 17:03:04.381661 No access to file /usr/sbin/lcmap: No such file or Directory
Read more...
Environment
SAP HANA DB 1.0
Product
Keywords
NSR error 39, NSR error 158, BACKUP LOG, BackupLogError, Unexpected end of backup, INDEXSERVER, errno 9, Bad file descriptor, DEBUG, fullpath2, HANA data path, sap_pb_check_add_ps_file, sap_pb_total_num_pb_objs, logfile permissions, SAP HANA DB 1.0, EMC NetWorker Version 9.1, hdbbackint implementation, Backint, fatal error, path and permission, Windows, "^M", /nsr/applogs/hdbbackintHP1.log.raw, high isolation MDC mode, NSR_DEBUG_DIR , KBA , 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 for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.