Skip to Content
avatar image
Former Member

SAPHOSTAGENT not starting-SUSELINUX

Dear Team,

We are unable to start the SAP HOSTAGENT in SUSE LINIUX.

Please find the below screenshot for reference.We had installed SUSE LINUX 11 SP3 version.

Patch has been upgraded but unable to start.

Below is the command we are checking for status.

/usr/sap/hostctrl/exe # ./saphostexec -status

saphostexec stopped

14:56:30 23.08.2016     LOG: Using PerfDir (DIR_PERF) = /usr/sap/tmp

saposcol running (pid = 5034)

Regards

Pankaj

SAPHOSTAGET.PNG (5.5 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Aug 23, 2016 at 09:58 AM

    Hi Pankaj,

    Can you please check/paste the dev_sapstartsrv and dev_saphostexec log from the work directory.

    With Regards

    Ashutosh Chaturvedi

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Ashutoh,

      Thanks for the reply and sorry for the delay in reply.

      We are trying to  start the SUM,but unable to start due to same host-agent is not starting.

      Below the steps we tried.

      1. Uninstalled the Host agent and installed the new latest hostagent.We are able to see the latest version.

      2.but Hostagent not starting.Its getting struck at Start up.

      below is the log for SAP HOSTAGENT:

      [Thr 140578136024864] Fri Sep  9 20:29:46 2016

      [Thr 140578136024864] SAPCryptoPath /usr/sap/hostctrl/exe/libsapcrypto.so

      [Thr 140578136024864] CryptoPath setup to /usr/sap/hostctrl/exe

      [Thr 140578136024864] Retrieving environment of user 'root'

      [Thr 140578136024864] Executing "'/bin/su' '-' '-c' 'echo SAPHOSTAGENT-START;env;echo SAPHOSTAGENT-END' "

      stty: standard input: Invalid argument

      Regards

      Pankaj

  • avatar image
    Former Member
    Aug 23, 2016 at 09:58 AM

    Hi Pankaj,

    Do you see any error messages in files under "/usr/sap/hostctrl/work" directory? Could you try to "restart" again with root user and check for any error log in the work directory?

    Regards,

    Ganesan

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Ganesan

      Thanks for the reply and sorry for the delay in reply.

      We are trying to  start the SUM,but unable to start due to same host-agent is not starting.

      Below the steps we tried.

      1. Uninstalled the Host agent and installed the new latest hostagent.We are able to see the latest version.

      2.but Hostagent not starting.Its getting struck at Start up.

      below is the log for SAP HOSTAGENT:

      [Thr 140578136024864] Fri Sep  9 20:29:46 2016

      [Thr 140578136024864] SAPCryptoPath /usr/sap/hostctrl/exe/libsapcrypto.so

      [Thr 140578136024864] CryptoPath setup to /usr/sap/hostctrl/exe

      [Thr 140578136024864] Retrieving environment of user 'root'

      [Thr 140578136024864] Executing "'/bin/su' '-' '-c' 'echo SAPHOSTAGENT-START;env;echo SAPHOSTAGENT-END' "

      stty: standard input: Invalid argument

      Regards

      Pankaj

  • avatar image
    Former Member
    Aug 23, 2016 at 10:17 AM

    Hi Pankaj,

    Please try to kill 'saposcol running (pid = 5034)' and restart the hostagent.

    Regards

    Sunil

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Sunil,

      We are trying to  start the SUM,but unable to start due to same host-agent is not starting.

      Below the steps we tried.

      1. Uninstalled the Host agent and installed the new latest hostagent.We are able to see the latest version.

      2.but Hostagent not starting.Its getting struck at Start up.

      below is the log for SAP HOSTAGENT:

      [Thr 140578136024864] Fri Sep  9 20:29:46 2016

      [Thr 140578136024864] SAPCryptoPath /usr/sap/hostctrl/exe/libsapcrypto.so

      [Thr 140578136024864] CryptoPath setup to /usr/sap/hostctrl/exe

      [Thr 140578136024864] Retrieving environment of user 'root'

      [Thr 140578136024864] Executing "'/bin/su' '-' '-c' 'echo SAPHOSTAGENT-START;env;echo SAPHOSTAGENT-END' "

      stty: standard input: Invalid argument

      Regards

      Pankaj

  • Sep 15, 2016 at 09:29 AM

    how about a graceful restart of the entire SAP here. Could you check whether the Crypto file is there in that exe directory?

    Could you try with

    /usr/sap/hostctrl/exe/hostexecstart -version

    ?

    Think you need to see

    https://help.sap.com/saphelp_nw73ehp1/helpdata/en/4f/430016653b1240e10000000a42189b/content.htm

    https://help.sap.com/saphelp_nw73ehp1/helpdata/en/6a/ac42c2e742413da050eaecd57f785d/content.htm

    Add comment
    10|10000 characters needed characters exceeded