cancel
Showing results for 
Search instead for 
Did you mean: 

System cannot be stopped after Kernel update, very strange.

Former Member
0 Kudos

Hi,

the system is running perfectly fine. I have done a Kernel upgrade and i just wanted to stop and start the system one more time.

The stopsap command is not at all finishing (the dots below are running endlessly) and the system is not stopped. You have any idea where to check??

stopping the SAP instance DVEBMGS02

Shutdown-Log is written to /home/biqadm/stopsap_DVEBMGS02.log

-------------------------------------------

/usr/sap/BIQ/DVEBMGS02/exe/sapcontrol -prot NI_HTTP -nr 02 -function Stop

Instance on host p590bnobi stopped

Waiting for cleanup of resources

.....................................................................................................................

.........................................................................................................................

Regards,

Mohan.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos
Hi Krishna Mohan,
We have faced similar problem after kernel upgrade.
Please check whether there is a file  /tmp/.sapstream5<nr>13 (ex:50013 if nr=00) exists or not in /tmp directory, this is hidden file u need to do ls -la to check and it should be owned by the <sid>adm of the system.
And check these notes too
SAP Note 1565645 - SAP composite note: sapcontrol
SAP Note 877795  - Problems w/ sapstartsrv\

Thanks
-Karthik
Former Member
0 Kudos

Can you restart the server and try it again

Regards

Shahnas.S

Former Member
0 Kudos

Hi Shahnas,

i have tried restarting enough times. Anyway, thank you.

Regards,

Mohan.

Former Member
0 Kudos

Hi Shahnas,

i have tried restarting enough times. Anyway, thank you.

Regards,

Mohan.

pankaj_pabreja
Participant
0 Kudos

Hi Shahnas,

Could you please check the logs as asked by me in previous reply and paste here

Regards,

Pankaj

Former Member
0 Kudos

Hi Pankaj,

one more interesting point - dev_ms file is missing. i checked the other developer traces but didnt find any error. I have uploaded the files in the below link. As i said, the system is running. Only issue is we cannot restart the system. Can i manually create the dev_ms file??

http://www.filefactory.com/file/hkszeixk9bv/n/BIQ_zip

Former Member
0 Kudos

Hi Krishna,

check below thread.

http://scn.sap.com/message/7969766

http://scn.sap.com/thread/1711977

Thanks,

Venkat

Former Member
0 Kudos

Hi All,

the problem is solved.

The problem was it is not giving any error message rather it is stuck at 'Waiting for cleanup of resources'.

There are two files under work directory - kill.sap, shutdown.sap.

In our system, kill.sap file is empty. Do a ps -ef|grep se.sap and update the kill.sap file with the PARENT id (For ex. kill -2 XXXXXXXX).

Perform again stopsap command and if it is stuck at other instance, just ps -ef and kill the corresponding PARENT id with kill -2. Thats all, the problem solved.

Regards,

Mohan.

pankaj_pabreja
Participant
0 Kudos

Hi Mohan,

Check out the logs dev_ms, dev_disp and dev_w* in the work directory (/usr/sap/<SID>/<Instance>/work . You can check out the latest logs.

Regards,

Pankaj Pabreja