on 01-19-2014 7:27 AM
Hi,
Saphostagent not able to gather operating system data in JAVA MC ,displaying message saphostagent not started or not installed .
Can someone help me on this ?
--
Regards
Praveen
Hello Praveen,
Please make sure the Host Agent is actually running on the System in question. You can check that with "/usr/sap/hostctrl/exe/saphostexec -status"
The next thing to check would be the Host Agent Ports 1128 (http) / 1129 (https) which are used for the communication between SAPMC and Host Agent.
You may check these with "netstat -a" (or something similar). At least port 1128 should be open and should have the status "listening". The SAPMC settings must also be set to use http / https.
Also, please make sure there is no firewall preventing the communication.
To get a clear picture of the situation, you should provide the Host Agent Version (saphostexec -version) and the Host Agent logs which can be found in /usr/sap/hostctrl/work.
The most important logfiles are dev_saphostexec and sapstartsrv.log
You may have a look there. Normally, the logs are quite readable and maybe there is a hint to where the problem is.
Best Regards,
Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Praveen,
You need to update your SAPMC. In the past, the Host Agent offered the GetComputerSystem Webmethod without any user authentication but due to security reasons this was changed.
You still have an older version of the SAPMC. With the latest Version, the connection to the Host Agent should work again.
Please have a look at note 1014480 on how to update the SAPMC.
Best Regards,
Christian
Hello Praveen,
On the systems which provide the data are older Host Agents installed which work with your version of the SAPMC.
To be on the safe side you should upgrade the SAPMC and upgrade your Host Agents. But the new SAPMC will also work with older Host Agents.
See Note 1031096 for information about Host Agent upgrade.
Best Regards,
Christian
Thanks For your reply,but still I am getting same issue.
All the thing is working as suggested by you
--
Regards
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reply.
But I am still getting the same issue
Tried all the points mentioned bu you.
--
Regards
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
restarted the system but still not working
Regards
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Praveen,
Let's recapitulate the situation: You restarted the Host Agent and the System. The Host Agent is running now. If you enter "saphostexec -status" you see something like this:
saphostexec running (pid = 19852)
sapstartsrv running (pid = 19855)
08:33:11 27.01.2014 LOG: Using PerfDir (DIR_PERF) = /usr/sap/tmp
saposcol running (pid = 19884)
Please let me know if all of this is correct.
Now my questions:
1.) Is is possible to do a ping from your system where the SAPMC runs to the system where the Host Agent runs ?
2.) On the Host Agent System, please execute this command: netstat -a -p | grep 1128
It will show you if the Host Agent is listening on this port. Please post the output here.
3.) Please have a look at the Host Agent logfile /usr/sap/hostctrl/work/sapstartsrv.log to determine if the Host Agent encountered problems when starting. Are there any error messages ?
4.) Do you have any Firewall settings blocking port 1128/1129 in your landscape ?
5.) Please execute the following command: "/usr/sap/hostctrl/exe/saphostctrl -function GetComputerSystem" and let me know if you see data about your system.
Best Regards,
Christian
True but we had already tried with the root with ./saphostexec -start,restart.
We are able to see the process but its not fetching data in JAVA MC.
--
Regards
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
What is the result if you run ps -ef |grep host ?
Also is sapstartsrv running and has it been running since sap is started on this java host? i.e. if sapstartsrv process is older than running java sap processes I would recommend full restart of java and also ensuring cleanipc is done and sapstartsrv is stopped and newly started.
As the hostagent interfaces via the sapstartsrv process I have seen in past this causes problem.
Please advise.
Regards,
Johan
jaeadm> saphostexec -status
[Thr 01] Fri Jan 24 15:50:13 2014
[Thr 01] *** ERROR => (13: Permission denied) [HostServiceI 2325]
saphostexec stopped
15:50:13 24.01.2014 LOG: Using PerfDir (DIR_PERF) = /usr/sap/tmp
Still need help
-Regards
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
I think problem is related with /etc/services file ,I am not able to find entries related with hostagent.
Please suggest.
-
Regards
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Praveen,
your /etc/services should include the following entries:
saphostctrl | 1128/tcp # SAPHostControl over SOAP/HTTP |
saphostctrl | 1128/udp # SAPHostControl over SOAP/HTTP |
saphostctrls | 1129/tcp # SAPHostControl over SOAP/HTTPS |
saphostctrls | 1129/udp # SAPHostControl over SOAP/HTTPS |
Best Regards,
Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Praveen
Is the host agent installed in your system. Please confirm the OS of your system.
Does the /usr/sap/hostctrl exist in your system .
Also see the following link for Unix platforms
Thanks
Rishi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.