cancel
Showing results for 
Search instead for 
Did you mean: 

FAIL: process hdbdaemon HDB Daemon not running

01-06-2014 10:29 AM
8855 views 7 comments
0 Likes
SAP Managed Tags
Subscribe

Hi,

I am not able to bring up HANA system.[SP7]

I am getting the following error:

hpdemoserver:/usr/sap/WSD/HDB04> HDB start


StartService
Impromptu CCC initialization by 'rscpCInit'.
  See SAP note 1266393.
OK
OK
Starting instance using: /usr/sap/WSD/SYS/exe/hdb/sapcontrol -prot NI_HTTP -nr 04 -function StartWait 2700 2


06.01.2014 17:14:04
Start
OK

06.01.2014 17:14:18
StartWait
FAIL: process hdbdaemon HDB Daemon not running

The nameserver_alert_**.log shows:

    Can not start the service 'nameserver' at 'hpdemoserver:30401' responsible for the volume '1' because an error during recovery before

exception throw location:

1: 0x00007fe7826c7060 in Backup::Backup_Recover::lookForRecoveryRequest(Backup::BackupCbc_Parser const&, Backup::BackupCbc_Nameserver*, Backup::Backup_ExtendedRecoveryInformation&, ltt_adp::basic_

stringstream<char, ltt::char_traits<char> >&)+0xd0 at exception.hpp:321 (libhdbbackup.so)

2: 0x00007fe78884a7f5 in NameServer::TREXNameServer::assign(NameServer::ServiceStartInfo&)+0x21c1 at TREXNameServer.cpp:1494 (libhdbns.so)

3: 0x00007fe7888972f7 in NameServer::SelfAssignThread::run(void*)+0x13 at TREXNameServer.cpp:284 (libhdbns.so)

4: 0x00007fe7871c4def in TrexThreads::PoolThread::run()+0x9fb at PoolThread.cpp:278 (libhdbbasement.so)

5: 0x00007fe7871c6958 in TrexThreads::PoolThread::run(void*&)+0x14 at PoolThread.cpp:124 (libhdbbasement.so)

6: 0x00007fe78588475b in Execution::Thread::staticMainImp(void**)+0x627 at Thread.cpp:475 (libhdbbasis.so)

7: 0x00007fe7858848fd in Execution::Thread::staticMain(void*)+0x39 at Thread.cpp:543 (libhdbbasis.so)

[8326]{-1}[-1/-1] 2014-01-06 16:59:40.009230 f NameServer       TREXNameServer.cpp(02759) : Can not start the service 'nameserver' at 'hpdemoserver:30401' responsible for the volume '1' because an

error during recovery before -> stopping instance ...

[8326]{-1}[-1/-1] 2014-01-06 16:59:40.018001 e Basis            TREXNameServer.cpp(02789) : Process exited due to an error via explicit exit call with exit code 1 , no crash dump will be written

[8948]{-1}[-1/-1] 2014-01-06 17:14:06.611769 e tns_ddl          TNSClient.cpp(00910) : setServiceType no topology databaseId use service default:  2

[8961]{-1}[-1/-1] 2014-01-06 17:14:06.650648 e Backup           Backup_Recover.cpp(00095) : exception: exception  1: no.110043  (Backup/impl/Backup_Recover.cpp:86)

Please help to solve it out?

Thanks,

  Miller

0 Likes

Accepted Solutions (0)

Answers (4)

Answers (4)

steffen_wetzler
Explorer

Any updates on this?

Former Member
0 Likes

If you still cannot fix this problem... you can try what i did... i have similar issue. Assuming your HANA instance is TRC

  • Back up by copying TRC data folder complete with “cp –Rp”
  • Uninstall using hdbinst TRC system
  • Reinstall TRC system using the same HANA binaries as well as password SYSTEM and trcadm (SID and NR)
  • Shutdown new TRC HANA gracefully using “HDB stop” as well as “sapcontrol –nr 02 –function StopService"
  • Backup by move away mnt00001 folder out from TRC/global/hdb/data and TRC/global/hdb/log
  • Copy these 2 folders back to TRC/global/hdb/data and TRC/global/hdb/log from previously backed up TRC data folder. You can find the files in this path: "/usr/sap/TRC/SYS/global/hdb/custom/config/"
  • Change nameserver.ini’s id key to match the old nameserver.ini from the backed up TRC data folder
    • Do not do this step, you get error start hdbnameserver
  • Start HANA using "HDB start”

Your data should still be there... at least mine was... Hope this helps, but this is the worse case scenario.

Former Member
0 Likes

Hello,

I am getting below error when i am trying to star the HDB.

FAIL: process hdbdaemon HDB Daemon not running

Also, tried starting ./hdbdaemon process manually

Can not start the service 'nameserver' at 'XXXXXXhdb01:30001' responsible for the volume '1' because an error during recovery before -> stopping instance ...

cannot send signal. (2, No such file or directory)

prepare for shutting service down...

stop ClockMonitor thread...

setInactive(nameserver@XXXXXhdb01:30001)

Any help would be appreciated.

Former Member
0 Likes

Hi Miller,

See if the below note is usefull.

A procedure is implemented in the SAP HANA database that, after a failed recovery, prevents the database that is inconsistent as a result from starting. During this, the system writes the state transitions to the topology tree of a name server during a recovery, and deletes these if the recovery is successful. If the recovery is not completed successfully, relevant entries remain in the topology tree as a result. This causes the database start to terminate.

However, due to an error in the implementation of revision 23, entries of this type were permanently written to the topology tree for failed database backups. Therefore, these entries also prevent a subsequent restart or upgrade of the SAP HANA database.


1678038 - Restarting SAP HANA database fails


Regards,

Pavan Gunda

Former Member
0 Likes

Hi Miller,

I am also getting the same error.. it started all of a sudden on the Cloudshare SPS6 VM..

hanacloud:/usr/sap/HDB/HDB00> HDB start

StartService

Impromptu CCC initialization by 'rscpCInit'.

  See SAP note 1266393.

OK

OK

Starting instance using: /usr/sap/HDB/SYS/exe/hdb/sapcontrol -prot NI_HTTP -nr 00 -function StartWait 2700 2

12.02.2014 04:35:48

Start

OK

Former Member
0 Likes

Did u get any solution to this.. if so pls share..