on 12-05-2013 11:52 AM
Hi NW Experts,
I am facing the too Many problems in our SRM Portal.
We have : EHP2 FOR SAP SRM 7.0
OS : Windows Server 2008 R2
DB : DB2 10.01.0002
When I reach to Troubleshooting -> logs and traces -> Log viewer in nwa
It gives me the following error.
Connection refused this error gives only when I login with user : j2ee_adm_(instance name)
But when I login with another user it shows me following error..
I have checked the roles and profiles of both users, but they are same.
But my main problem is Log Viewer is not working,
So To resolve this I reach to http://<host name>:5<port number>13
But it gives me an following error.
Host Agent is running on server.
I have also checked the note 1593532 - Logviewer in NWA doesnt work
But when I enter the command (sapcontrol -nr <inst_no> -function ListLogFiles > LF.txt) from <sid>adm as well as from administrator user still it gives the following output in LF file....
05.12.2013 11:39:34
ListLogFiles
FAIL: HTTP error, HTTP/1.1 401 Unauthorized
Default Profile parameter is set to paservice/protectedwebmethods = DEFAULT instead of SDEFAULT.
Please Let me know solution.
Thank you in advance for your support.
Dear Roman N and Christian Schwarzenberger,
Thanks for your quick response.
I have checked the "saphostexec process" because of SAP MC prompt me to check its running or not?
The MC Version is as follows.
Yes I have set the "service/protectedwebmethods = DEFAULT", It was my typing mistake in the post.
Output of the command "sapcontrol -nr 23 -debug -function ListLogFiles > LF.txt" as follows.
05.12.2013 23:21:55
ListLogFiles
FAIL: HTTP error, HTTP/1.1 401 Unauthorized
As per the note 1153713 - Problems with SAP Management Console (Java), I think, I have to upgrade the SAP Management Console (SAP MC) to 720 Patch 516.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can you used the below commnad.
sapcontrol -nr 23 -user sidadm password -debug -function ListLogFiles > LF.txt
instead of this
sapcontrol -nr 23 -debug -function ListLogFiles > LF.txt
I think you are getting the error as you have not given the user id and the password.
Can also check this related to the sapcontrol.
1563660 - sapcontrol, <sid>adm authorization issues (SUM)
For the main error can you please past the full message that you are getting in the NWA in logviewer.
Thanks
Rishi Abrol
Hello Swapnil,
You have different problems here with different root causes. You have to separate between the SAPMC / SAP Host Agent problems ("create control interface failed") and the ListLogFile problem.
ListLogFile is done by the sapstartsrv service of the correcponding instance. In your case instance 23. As the people here have already written, you should add user and password to the sapcontrol call: sapcontrol -nr 23 -user <sidadm> <password> -function ListLogFiles
If this is not working it may be worth to open a csn ticket.
Concerning the SAPMC problem: Your screenshot states, that on the host "keonsrm", the SAP Host Agent is not installed or not running. Please login to this host as root or Administrator user and check if the Host Agent is working properly:
Unix: /usr/sap/hostctrl/exe/saphostexec -status
Windows: C:\Program Files\SAP\hostctrl/exe/saphostexec -status
If the Host Agent is not running, please restart it:
saphostexec -restart
Please also check the Host Agent version.
saphostexec -version
If the Host Agent too old please make an update.
See Note 1031096 (http://service.sap.com/sap/support/notes/1031096)
The current version is 172. You should at least use version 136 to ensure SAPMC and Host Agent are working properly together.
(The SAPMC is getting a lot of OS Information from the Host Agent via WebService calls)
Best Regards,
Christian
Dear All,
I have resolved the Log Viewer issue by following commands.
sapcontrol -nr 23 -user sidadm password -debug -function ListLogFiles > LF.txt
sapcontrol -nr 23 -user sidadm password -function RestartService
And it works.
Thanks to Rishi Abrol.
First: SAPMC
You should upgrade to the latest sapmc. Since Java 1.7 update 45 you need also a new SAPMC.
See note 1153713 (http://service.sap.com/sap/support/notes/1153713) for more information.
Second: Your protectedwebmethods parameter looks weird:
paservice/protectedwebmethods should be
service/protectedwebmethods
Please see note 927637 (http://service.sap.com/sap/support/notes/927637) for more information about authentication in sapstartsrv.
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.
Why you check saphostexec process?
For SAP MC: what java version are you using?
For sapcontrol: perform the same command with additional -debug option and attach output to message.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.