cancel
Showing results for 
Search instead for 
Did you mean: 

problem start hostagent

Former Member
0 Kudos

Hi, I have problem try start sap hostagent in the operation system. after the upgrade Kernel release 720.

run start hostagent and show message error:

root@server1:/usr/sap/hostctrl/exe># ./saphostexec -restart

-> Start /usr/sap/hostctrl/exe/saphostexec pf=/usr/sap/hostctrl/exe/host_profile <-

[ERROR] Profile permission violation. (/usr/sap/hostctrl/exe/host_profile)

Usage: saphostexec [OPTION] [pf=<ProfilePath>]

  WHERE :

        <ProfilePath> - path to the profile to be used.

                 by default host_profile in the executable directory.

  OPTION:

        -install | -upgrade   : Install/Upgrade the agent

        -uninstall            : Uninstall the agent

        -restart              : Start or Restart the agent

        -stop                 : Stop a running agent

        -status               : return the status of the agent

        -version              : return a detailed version information

[ERROR] /usr/sap/hostctrl/exe/saphostexec pf=/usr/sap/hostctrl/exe/host_profile exit with status 255

Best Regards,

EDRS

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ramones, 

Looks like a permission issue on first glance although user root is involved. However please check for that to eliminate any such possibility.

Check if any service already associated with hostctrl isn't running by chance. If so kill it and retry.

Further I would suggest using this command

/usr/sap/hostctrl/exe/saphostexec -restart pf=/usr/sap/hostctrl/exe/host_profile

Regards.

Ruchit.

Former Member
0 Kudos

Hi Ruchit apply the command suggest but show same error

root@hostname:/usr/sap/hostctrl/exe># ./saphostexec -restart pf=/usr/sap/hostctrl/exe/host_profile

[ERROR] Profile permission violation. (/usr/sap/hostctrl/exe/host_profile)

Usage: saphostexec [OPTION] [pf=<ProfilePath>]

  WHERE :

        <ProfilePath> - path to the profile to be used.

                 by default host_profile in the executable directory.

  OPTION:

        -install | -upgrade   : Install/Upgrade the agent

        -uninstall            : Uninstall the agent

        -restart              : Start or Restart the agent

        -stop                 : Stop a running agent

        -status               : return the status of the agent

        -version              : return a detailed version information

Former Member
0 Kudos

Hi Ramones,

What about other queries?

Also for which system was kernel upgraded to 720. Also what happens when you execute saphostexec -status

Regards.

Ruchit.

Former Member
0 Kudos

HI Ruchit

root@hostname:/usr/sap/hostctrl/exe># ./saphostexec -status

saphostexec stopped

11:12:07 12.06.2012     LOG: Using PerfDir (DIR_PERF) = /usr/sap/tmp

saposcol running (pid = 13812)

root@cp1ds001:/usr/sap/hostctrl/exe>#

Former Member
0 Kudos

Hi Ramon,

Probably this is the cause.SAPOSCOL shouldn't be running independent of Host Agent. Please stop saposcol or simply kill the process and then try it once again.

Regards.

Ruchit.

Former Member
0 Kudos

Thanks for you help Ruchit. I solved problem, reinstall sap hostagent and running

Best Regards,

EDRS

Former Member

Hi EDRS

we have NetWeaver PI 7.20 installed in the USS of z/OS v1.13

Can u point me to a installation guide for HostAgent on z/OS or

How to verify the installation of hostagent files and/or /usr/sap/hostctrl/exe directory ?

Thanks and regards,

Matthias

Answers (1)

Answers (1)

former_member668775
Discoverer

Hi Ramones,

The correct permissions are as follows:

rw-r----- 1 root sapsys /usr/sap/hostctrl/exe/host_profile

Thanks,

Ankur Sinha