cancel
Showing results for 
Search instead for 
Did you mean: 

SAPOSCOl is not started on PROD server

Former Member
0 Kudos

Dear All,

SAPOSCOl is not started ,pls check below logs

ROOT@PRDAPP2:/#su - irpadm

PRDAPP2:irpadm 1> saposcol

******************************************************************************

  • This is Saposcol Version COLL 20.95 700 - AIX v11.65 5L-64 bit 090118

  • Usage: saposcol -l: Start OS Collector

  • saposcol -k: Stop OS Collector

  • saposcol -d: OS Collector Dialog Mode

  • saposcol -s: OS Collector Status

  • Starting collector (create new process)

******************************************************************************

saposcol -l

Started saposcol not responding.

PRDAPP2:irpadm 2> -l

******************************************************************************

  • This is Saposcol Version COLL 20.95 700 - AIX v11.65 5L-64 bit 090118

  • Usage: saposcol -l: Start OS Collector

  • saposcol -k: Stop OS Collector

  • saposcol -d: OS Collector Dialog Mode

  • saposcol -s: OS Collector Status

  • Starting collector (create new process)

******************************************************************************

Started saposcol not responding.

PRDAPP2:irpadm 3> saposcol -s

**************************************************************

Collector Versions :

running :

dialog : COLL 20.95 700 - AIX v11.65 5L-64 bit 090118

Shared Memory : attached

Number of records : 17640

Active Flag : not active (00)

Operating System :

Collector PID : 0 (00000000)

Collector: not running (see 'active' Flag)

**************************************************************

PRDAPP2:irpadm 4> saposcol -k

PID 0 not found. Collecting process not running ?

Setting Stop Flag :

14:01:40 05.04.2011 LOG: ==== Stop Flag was set by saposcol (kill_collector())

.

14:01:40 05.04.2011 LOG: ==== The collection process will stop as soon as pos

sible

Collecting process has stopped.

Process died without reaction ?

14:01:51 05.04.2011 LOG: Shared memory deleted.

PRDAPP2:irpadm 5>

Regards

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Issue got resolved after restart SAp

Former Member
0 Kudos

HI,

Try the below steps.

1. First stop saposcol by saposcol -k (From SIDADM)

2. Now you have to clear the shared memory(from root).

use >ipcs -m

Here you will get the shared memory of OSCOL with root permission (eg: 00X4dbe ).

for kill that shared memory use >ipcrm -m < sharedmemroy id>

3.Now go to /usr/sap/tmp

here you can fine coll.put.. just rename it (new file will create when starting saposcol)

4. Now stat OSCOl -> saposcol -l

and check the status.

You doesn't have permission and kernel issue then it should work.

With Regards,

CSK

Former Member
0 Kudos

Hi ,

can we execute below commands as mentioned by you , while sap is running ... or let me know sap should be down before executing the below commands as mentioned by u ????????

Regards

Edited by: satheesh0812 on Apr 13, 2011 6:56 PM

former_member266290
Participant
0 Kudos

hi

Please check the permissions of the saposcol file.

it should be like this:

-rwsr-x--- 1 root sapsys 1665340 Nov  1 00:49 saposcol

It can be done using following commands:

#cd /sapmnt/SID/exe/
#chown root saposcol
#chgrp sapsys saposcol
#chmod 4750 saposcol

Regards

Edited by: VijayIngle on Apr 5, 2011 11:11 AM

Edited by: VijayIngle on Apr 5, 2011 11:12 AM

Former Member
0 Kudos

Still i cant give access , i got below error.........

Note : we have PRODCI , PRODApp1 saposcol are working only PRODApp2 is not workimg and DB is Stand by server ...

ROOT@PRDAPP2:/#cd sapmnt/IRP/exe

ROOT@PRDAPP2:/sapmnt/IRP/exe#chmod 4750 saposcol

chmod: saposcol: Operation not permitted.

ROOT@PRDAPP2:/sapmnt/IRP/exe#ls -lrt saposcol

-rwxr-x--- 1 root sapsys 2843396 May 03 2010 saposcol

ROOT@PRDAPP2:/sapmnt/IRP/exe#

Regards

former_member266290
Participant
0 Kudos

Hi

It seems you have upgraded the Kernel and have not run the script saproot.sh.

Stop saposcol if it is running

Please check if the saposcol is running

#ps -ef|grep -i saposcol

If the process is kill the process.

And then run the commands I have mentioned.

Also go to /sapmnt/SID/exe directory and run the saproot.sh script.

Note All thses commands should be executed by root user.

Regards

P.S. Please move this thread to SAP on Unix forum.