SAP从业者联盟

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
SAP从业者联盟 门户 SAP notes 查看内容

sap note 548699 - FAQ: OS collector SAPOSCOL

2013-12-17 11:22| 发布者: isap| 查看: 3944| 评论: 0|来自: SAP Market place

摘要: Head dataReleased On 2002.10.08 20:10:01Release Status Released for CustomerComponent BC-CCM-MON-OS Operating System MonitorsPriority Recommendations / Additional InfoCategory FAQSymptom1. How do I in ...
Head data
Released On 2002.10.08 20:10:01
Release Status Released for Customer
Component BC-CCM-MON-OS Operating System Monitors
Priority Recommendations / Additional Info
Category FAQ

Symptom
1. How do I install saposcol?
2. How do I get all the commands of saposcol?
3. What commands can be executed in the dialog mode of saposcol?
4. How do I check whether saposcol is running and under what user
(root or <sid>adm) (Unix)?
5. How can I change the owner and group of file saposcol? What
properties should file saposcol have (Unix)?
6. How do I stop saposcol if standard commands (points 2 and 3) do not
work (Unix)?
7. How do I remove the shared memory key of saposcol?

Solution
1. Question: How do I install saposcol?
a) To install saposcol, just copy the latest version available on the SAP Service Marketplace:
http://service.sap.com/swcenter-main. For more information, see SAP Note 19227.
b) (Windows only) After that, you can set up the saposcol as a service. For more information, see
SAP Note 436186.
2. Question: How do I get all the commands of saposcol?
Answer: In order to be able to execute commands, the saposcol should be running. Saposcol is started
by command "saposcol –l". The saposcol is controlled by the OS command “saposcol <option>”. In order
to find out what <options> are possible, execute command “saposcol -?” and you get an output of all
commands of saposcol.
(Note: Often the above output does not give the meaning of command “saposcol -ztl” – activation of
cycle trace.)
3. Question: What commands can be executed in dialog mode of saposcol?
Answer: The saposcol command “saposcol -d” starts the dialog mode of saposcol. Please use command
“help” for a list of possible commands in the dialog mode. To exit the dialog mode of saposcol,
execute command “exit”.
4. Question: How do I check whether saposcol is running and under what user (root or <sid>adm)
(Unix)?
Answer: First you can execute command "saposcol -s" or
"saposcol -d"
> status
in order to see the content of the shared memory. This will provide you with information as to
whether the collector is running or not.
On Unix you can also execute command:
ps -ef | grep saposcol
If saposcol is running, the output will give you the saposcol process ID. Depending on which user is
running saposcol, the output will be similar either to:
root 17700 1 1 Jun 28 ? 349:27 saposcol –tzl (if saposcol running under user root)
or
<sid>adm 17700 1 1 Jun 28 ? 349:27 saposcol –tzl (if saposcol running under user <sid>adm).
5. Question: How can I change the owner and group of file saposcol? What properties should file
saposcol have (Unix)?
Answer: Execute command:
ls -la /usr/sap/<SID>/SYS/exe/run/saposcol
saposcol should have file properties similar to the following example:
 -rwsr-x--- 1 root  sapsys 320434 Apr 3 18:00 saposcol
To change the saposcol file to owner root, group sapsys, mode 4750, log in as root to your unix
system:
cd /usr/sap/<SID>/SYS/exe/run
chown root saposcol
chgrp sapsys saposcol
chmod 4750 saposcol
6. Question: How do I stop saposcol if standard commands (points 2
and 3) do not work (Unix)?
Answer: Sometimes it may be impossible to stop saposcol either by “saposcol -d” --> kill or by
“saposcol -k”. The system produces messages similar to:
can't kill process 34570.
kill: No such process
ERROR:No reaction from collecting process 34570!
Please kill collecting process.
Although no process with PID 34570 exists, the output of command “saposcol -s” shows that saposcol
is running and shared memory is attached. In this case, you can execute command: "cleanipc 99
remove".
If this does not work either, it is possible to stop the collector running by removing the shared
memory key of saposcol.
7. Question: How do I remove the shared memory key of saposcol?
Answer: Sometimes it may be necessary to remove the shared memory key of saposcol (see point 6).
Caution: Please be very careful! This procedure should be performed only after checking that
saposcol is really not running (see point 4)
and only in cases when other options (see point 6) really do not work!
For this, execute command “ipcs -ma” and note the line that contains saposcol key “4dbe”. You need
the shared memory ID. After that, execute command
ipcrm -m ID
Now the command “saposcol -s” should show that saposcol is not running and that the shared memory
is not attached. The shared memory key will be created automatically by the saposcol when the
collector is next started: “saposcol -l”.

Validity
This document is not restricted to a software component or software component version

References
This document refers to:
SAP Notes
This document is referenced by:
SAP Notes (3)
19227 Open newest saposcol
436186 Installing saposcol as a service
710975 FAQ: which saposcol should be used on AIX
1092053 ARP:CCMS - OS - Collector SAPOSCOL not running
19227 Open newest saposcol
436186 Installing saposcol as a service
710975 FAQ: which saposcol should be used on AIX


鲜花

握手

雷人

路过

鸡蛋

Archiver|SAP从业者联盟 ( 京ICP备09055458号-2 

GMT+8, 2017-9-20 15:38 , Processed in 0.034995 second(s), 13 queries .

Powered by i-sap.org X2

© 2001-2011 Comsenz Inc.

回顶部