after system-swap I can't start the os collector with ST06.
I get the message:
Cannot open file: /usr/sap/tmp/dev_coll
I have checked this and found out, that the directory "tmp" does not exist.
My question now is, can I create this dir manualy on OS or must it be done automatically from sap?
Thx to both for fast answer.
We have unix (HP-UX).
I've created the tmp directory.
But when I click on START or STOP nothing happens.
If I click on LogFile I still get the error Cannot open file: /usr/sap/tmp/dev_coll
Oh I forgot:
When I start ST06 I get the message:
SAPOSCOL not running ? (Shared memory not available)
I hope this is helpful.
Thx for help
Check the ownership and permissions for that directory and file.
ls -ltr \usr\sap\tmp
<paste result here>
Then if necessary, run chown and chmod commands against the directory and the dev_coll file.
\usr\sap\tmp and \usr\sap\tmp\dev_coll
You should have RWX for user <SID>ADM so that the SAPOSCOL process can write it's log file to dev_coll in \usr\sap\tmp
There can be of two reason for this issue.
1. Please see your path variable has the path to your exe directory. You can validate that by issuing env after logged in as <sidadm> user. Compare your path profile with another server in which same SAP product has been installed.
Example PATH Varivale:
Once you fixed the PATH variable logout from <sidadm> user and then login back. Then issue saposcol -l or saposcol -f to see whether its getting started.
2. Please see incase your system have been installed with saphostctl agent. In that case your saposcol will be part of your host agent itself.
3. Please compare the filesystem permission for the error message dev_coll with another server in which saposcol is running fine.
Please go through below SAP Note for configuring saposcol.
Note 19227 - Open newest saposcol.
Check below link aswell
Venkata S Pagolu
Good morning Vasanth,
first sorry for my late response. But I was ill and today is my first day back.
I don't now exactly what I have to check with your last response.
Could you please explain the 3 steps a little more "easier".
As already said, tmp directory is still empty.
I've all rights for sid-adm at this dir.
I've exectued the command as your wrote.
After that I got the following:
<servername>:<sysid>adm 21> sapccmsr -DCCMS pf=/usr/sap/<sysid>/SYS/profile/sapccmsr.pfl sapccmsr=>sapparam(2): fopenU("/usr/sap/<sysid>/SYS/profile/sapccmsr.pfl","r"): No s uch file or directory INFO: CCMS agent sapccmsr working directory is /usr/sap/tmp/sapccmsr INFO: CCMS agent sapccmsr config file is /usr/sap/tmp/sapccmsr/csmconf ERROR: cannot open config file /usr/sap/tmp/sapccmsr/csmconf. ERROR: CCMS agent is not registered at central CCMS system. ERROR: Please start ERROR: sapccmsr -R [-f <config file>] [pf=<complete path of agent profile file> ] EXITING with code 1 <servername>:faqadm 22> saposcol -i saposcol: Command not found.
I've checked dir "tmp" and there exists now a directory called "sapccmsr".
Any ideas whats wrong?
Check that "saposcol" in kernel directory has ownership "root:sapsys" and permission 4755.
Try to start SAPOSCOL with below command.
If you logged in as <sid>adm then,
<sid>adm># su root -c "<full_path_of_saposcol>/saposcol -l"
faqadm 22>su root -c "/usr/sap/<sysid>/SYS/exe/saposcol -l" or faqadm 22>su root -c "/sapmnt/<sysid>/exe/saposcol -l"
(Run saposcol as root user, either from saposcol directory or with full path...)
Hi, Please check in the /usr/sap/<SID>/SYS/exe or /sapmnt/exe directories for this saposcol file.
If it is missing there for any reason, then you can not start the saposcol as it will search for this executable file in the above directory when you give this command saposcol -l to start the os collector.
You can copy it from any other server to the above location and then try to start the os collector as sidadm user.
You dont need to be in any specific path/directory to execute this command.