cancel
Showing results for 
Search instead for 
Did you mean: 

SAPHOSTAGENT not starting-SUSELINUX

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (4)

Answers (4)

kaus19d
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi Pankaj,

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

Regards

Sunil

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

former_member185239
Active Contributor
0 Kudos

Hi Pankaj,

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

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

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