cancel
Showing results for 
Search instead for 
Did you mean: 

How to stop and start process SAPOSCOL

Former Member
0 Kudos

Hi, i have a problem with write access for saposcol program. I see that the file saposcol is read the file but its unable to wirte the same.

Collector : running

Start time coll. : Mon May 21 17:49:49 2007

Current Time : Mon Jun 11 13:27:51 2007

Last write access : Tue May 29 06:23:46 2007

Last Read Access : Mon Jun 11 13:26:24 2007

When i try to stop the saposcol i get the following error:

igzadm> saposcol -k

Setting Stop Flag :

13:24:44 11.06.2007 LOG: ==== Stop Flag was set by saposcol (kill_collector()).

13:24:44 11.06.2007 LOG: ==== The collection process will stop as soon as possible

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

can't kill process 409656.

kill: No such process

ERROR:No reaction from collecting process 409656.

Please kill collecting process.exes.

Am doing this command through SID<ADM> from change directory /run.

Please help me how to check the permission of the SIDADM to stop the services.

I also try the same from root user but now use..

Please guide me how to stop and start the SAPOSCOL in AIX 5.3.

Advance Thanks.

Suri Tyson

Accepted Solutions (1)

Accepted Solutions (1)

markus_doehr2
Active Contributor
0 Kudos

Execute first saproot.sh:

cd /usr/sap/<SID>/exe

./saproot.sh <SID>

to make sure, saposcol has the 's'-bit set (or do it manually using

chown root saposcol

chmod 4755 saposcol

Then try to restart with "saposcol -l"

--

Markus

Answers (2)

Answers (2)

Former Member
0 Kudos

Kill the process first..by kill -9 .....and then start saposcol with saposcol -f ..it will start ..

Regards,

Ershad Ahmed.

Former Member
0 Kudos

Hi, i have the following permission for saposcol

imserv:/ # ps -ef | grep saposcol | more

root 118842 528422 0 14:02:17 pts/2 0:00 grep saposcol

I have changed the ownership as you mentioned....

imserv:/usr/sap/IGZ/SYS/exe/run # ./saproot.sh igz

Preparing /usr/sap/IGZ/SYS/exe/run/brbackup ...

Preparing /usr/sap/IGZ/SYS/exe/run/brarchive ...

Preparing /usr/sap/IGZ/SYS/exe/run/brconnect ...

Preparing /usr/sap/IGZ/SYS/exe/run/brtools ...

Preparing saposcol ...

Preparing icmbnd ...

done

However, i still get the error as:

igzadm> saposcol -k

Setting Stop Flag :

14:12:13 11.06.2007 LOG: ==== Stop Flag was set by saposcol (kill_collector()).

14:12:13 11.06.2007 LOG: ==== The collection process will stop as soon as possible

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

can't kill process 409656.

kill: No such process

ERROR:No reaction from collecting process 409656.

Please kill collecting process.

Now the permission are set in my system as:

igzadm> ps -ef |grep saposcol|more

igzadm 729196 983058 0 14:13:25 pts/2 0:00 grep saposcol

markus_doehr2
Active Contributor
0 Kudos

> Hi, i have the following permission for saposcol

>

> imserv:/ # ps -ef | grep saposcol | more

> root 118842 528422 0 14:02:17 pts/2 0:00

> grep saposcol

That is not the "permissions" but the running process. List permissions with

cdexe

ls -l saposcol

> igzadm> saposcol -k

>

> Setting Stop Flag :

> 14:12:13 11.06.2007 LOG: ==== Stop Flag was set by

> saposcol (kill_collector()).

>

> 14:12:13 11.06.2007 LOG: ==== The collection

> process will stop as soon as possible

>

> ********************

> can't kill process 409656.

> kill: No such process

> ERROR:No reaction from collecting process 409656.

> Please kill collecting process.

> the permission are set in my system as:

>

> igzadm> ps -ef |grep saposcol|more

> igzadm 729196 983058 0 14:13:25 pts/2 0:00

> grep saposcol

I'd suggest killing the process with kill -9 729196 and restart it with saposcol -l

--

Markus