cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to Stop Instance

Former Member
0 Kudos

Hi,

Not able to stop our Solution Manager system.

Os- AIX 6.1 & database-Oracle 11

Getting this error when trying to stop the instance:

pm2adm> stopsap unxs0275

Checking PM2 Database

Database is running

-


stopping the SAP instance DVEBMGS10

Shutdown-Log is written to /support/home/pm2adm/stopsap_DVEBMGS10.log

-


/usr/sap/PM2/DVEBMGS10/exe/sapcontrol -prot NI_HTTP -nr 10 -function Stop

stop of Instance failed

Error log:

pm2adm> pg stopsap_DVEBMGS10.log

Trace of system startup/check of SAP System PM2 on Fri 26 Aug 10:55:50 2011

Called command: /usr/sap/PM2/SYS/exe/run/stopsap stop

-


10:55:54

stopping the SAP instance DVEBMGS10

-


10:55:55

Shutdown-Log is written to /support/home/pm2adm/stopsap_DVEBMGS10.log

-


10:55:57

/usr/sap/PM2/DVEBMGS10/exe/sapcontrol -prot NI_HTTP -nr 10 -function Stop

26.08.2011 10:55:57

Stop

FAIL: HTTP error, HTTP/1.1 401 Unauthorized

-


10:55:59

stop of Instance failed

Can you please suggest?

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hello All,

I have faced similar issue, I could not stop/start the system using standard commands. I've seen that something is not right with sapstartsrv process, afterwards I've stopped hostagent using:

/usr/sap/hostctrl/exe/saphostexec -stop

It seems that it kept/locked sapstartsrv.

Then I could proceed with stop/start the system.

I hope that my solution will help you to solve this issue.

Good luck,

regards,

Karolina

Former Member
0 Kudos

Hi All ,

I had face the same issue while bring down the system ,

Instead of request rebooting of server , we reloaded the service process (srv) .which fixed the issue.:) then i tired to bring down the system It worked.

Former Member
0 Kudos

Rebooted the unix server & it worked.

0 Kudos

The sapstartsrv is not allowing you to perform the Stop option for instance 10.

The sapstartsrv should create a streamfile in the /tmp/.sapstream5<instance number>13. Check

if this file has the right permition, something like that:

srwx--- 1 <sap>adm sapsys .sapstream51013

To solve the issue you could try:

1. Try restart the sapstartsrv for the instance 10 and check if this will solve the problem.

2. check if the s-bit permission in the program sapuxuserch (note 927637)

3. In the last way you could disable the protect method for sapstartsrv with the instace profile parameter

"service/protectedwebmethods = NONE" and restart the sapstartsrv. This certainly will solve the problem, but I do not recommend it for security aspect.

Before unprotect the web methods you should try to update the sapstartsrv.

Edited by: Clebio Dossa on Aug 27, 2011 12:52 AM

ashish_mishra2
Contributor
0 Kudos

Hi,

Go to kernel folder /sapmnt/sid/exe and /usr/sap/sid/DV*/exe

change permission and ownership of sapuxuserchk file using below command from root

chown root:sapsys sapuxuserchk

chmod 4775 sapuxuserchk

Then try stopping instance. this might work.

Regards,

Ashish

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

Check SAP note 1565645.

Thanks

Sunny