During HANA installation I got the error as below, this was during the SUM installation step.
I can see HDB is started and process, info and version command parameters run fine.
Though the installation is almost done, i am not sure if it was successful and also the hostagent is not running so worried.
The host_profile file has SID=SAP and sys nr=99, is that OK? I tried changing it to my HANA sid HAN and sys nr=00
still hostagent cannot be started. What is correct? When I try to start saphostexec manually I get the profile permission violation
error as highlighted below.
Also user sapadm is mentioned having buy doesnt have /home/sapadm directory, see attached image. Is that normal?
Following is extract from the setup.glf file -
-----------------------------
2012 09 03 00:17:57#+00#DEBUG#com.sap.lm.services.shell.util.ForwardingBuffer#main#stdout:CreateHostAgentCertificate.sh: Generating server PSE...|
2012 09 03 00:18:04#+00#DEBUG#com.sap.lm.services.shell.util.ForwardingBuffer#main#stdout:CreateHostAgentCertificate.sh: Done.|
2012 09 03 00:18:04#+00#DEBUG#com.sap.lm.services.shell.util.ForwardingBuffer#main#stdout:CreateHostAgentCertificate.sh: Granting PSE access to the Host Agent...|
2012 09 03 00:18:04#+00#DEBUG#com.sap.lm.services.shell.util.ForwardingBuffer#main#stdout:CreateHostAgentCertificate.sh: Done.|
2012 09 03 00:18:04#+00#DEBUG#com.sap.lm.services.shell.util.ForwardingBuffer#main#stdout:CreateHostAgentCertificate.sh: Restarting the Host Agent...|
2012 09 03 00:18:08#+00#DEBUG#com.sap.lm.services.shell.util.ForwardingBuffer#main#stdout:saphostexec is already running (pid=6056). Stopping...|
2012 09 03 00:18:08#+00#DEBUG#com.sap.lm.services.shell.util.ForwardingBuffer#main#stdout:-> Start /usr/sap/hostctrl/exe/saphostexec pf=/usr/sap/hostctrl/exe/host_profile <- |
2012 09 03 00:18:08#+00#DEBUG#com.sap.lm.services.shell.util.ForwardingBuffer#main#stdout:[ERROR] Profile permission violation. (/usr/sap/hostctrl/exe/host_profile) |
2012 09 03 00:18:08#+00#DEBUG#com.sap.lm.services.shell.util.ForwardingBuffer#main#stdout:Usage: saphostexec [OPTION] [pf=<ProfilePath>]|
2012 09 03 00:18:08#+00#DEBUG#com.sap.lm.services.shell.util.ForwardingBuffer#main#stdout: WHERE :|
2012 09 03 00:18:08#+00#DEBUG#com.sap.lm.services.shell.util.ForwardingBuffer#main#stdout: <ProfilePath> - path to the profile to be used.|
2012 09 03 00:18:08#+00#DEBUG#com.sap.lm.services.shell.util.ForwardingBuffer#main#stdout: by default host_profile in the executable directory.|
2012 09 03 00:18:08#+00#DEBUG#com.sap.lm.services.shell.util.ForwardingBuffer#main#stdout: OPTION:|
2012 09 03 00:18:08#+00#DEBUG#com.sap.lm.services.shell.util.ForwardingBuffer#main#stdout: -install | -upgrade : Install/Upgrade the agent|
2012 09 03 00:18:08#+00#DEBUG#com.sap.lm.services.shell.util.ForwardingBuffer#main#stdout: -uninstall : Uninstall the agent|
2012 09 03 00:18:08#+00#DEBUG#com.sap.lm.services.shell.util.ForwardingBuffer#main#stdout: -restart : Start or Restart the agent|
2012 09 03 00:18:08#+00#DEBUG#com.sap.lm.services.shell.util.ForwardingBuffer#main#stdout: -stop : Stop a running agent|
2012 09 03 00:18:08#+00#DEBUG#com.sap.lm.services.shell.util.ForwardingBuffer#main#stdout: -status : return the status of the agent|
2012 09 03 00:18:08#+00#DEBUG#com.sap.lm.services.shell.util.ForwardingBuffer#main#stdout: -version : return a detailed version information|
2012 09 03 00:18:08#+00#DEBUG#com.sap.lm.services.shell.util.ForwardingBuffer#main#stdout:[ERROR] /usr/sap/hostctrl/exe/saphostexec pf=/usr/sap/hostctrl/exe/host_profile exit with status 255|
2012 09 03 00:18:08#+00#DEBUG#com.sap.lm.services.shell.util.ForwardingBuffer#main#stdout:CreateHostAgentCertificate.sh: Failed to restart the Host Agent.|
2012 09 03 00:18:08#+00#DEBUG#com.sap.lm.services.shell.local.impl.LocalShellImpl#main#Executed command with return code 254|
---------------------------------
Regards,
Nick