on 04-12-2009 12:44 PM
Hi Experts,
am facing an error while starting the saposcol in one of our systems.
****************************************************************************************************
>saposcol -l
can not open logfile '/usr/sap/tmp/dev_coll.tmp' failed... use stderri
04:40:50 12.04.2009 ERROR: cannot open log file /usr/sap/tmp/dev_coll.tmp
04:40:50 12.04.2009 ERROR: Make sure directory /usr/sap/tmp exists or specify DIR_PERF
04:40:50 12.04.2009 ERROR: in profile and run saposcol pf=<profile>
*******************************************************************************************************
Kindly help me resolve the issue
Thanks in advance
Rgds
Venu
Edited by: venu kamidi on Apr 12, 2009 1:50 PM
Edited by: venu kamidi on Apr 12, 2009 1:55 PM
Hello Venu
by which user, you are trying to start saposcol ?
make sure that /usr/sap/tmp exists and check the permisstion/owner of dev_coll.tmp in it and also the owner of /usr/sap/tmp dir
and check owner/permission of saposcol exe in /sapmnt/SID/exe, may be it should have s-bit permissions
try to consider these Notes
Note 1294308 - saposcol: Access authorization of log file dev_coll
Note 726094 - Starting SAPOSCOL without root authorization
SAP Note 548699 - FAQ: OS collector SAPOSCOL
thanks
Bhudev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhudev,
I am trying to to start with <sid>adm and have checked,the directory, /usr/sap/tmp exists and the owner of the dev_coll.tmp file is smdadm with the permissions ...
-rw-r----- 1 smdadm sapsys Apr 08 08:35 dev_coll.tmp
saposcol owner and permissions as...
-rwsr-x--- 1 hrpadm sapsys May 01 2008 saposcol
Pls.guide me thru
Thanks
Venu
Hello Venu
Are you having more than one SAP instances on this host ?
As seen by owners (smdadm and hrpadm) of two files:
-rw-r----- 1 smdadm sapsys Apr 08 08:35 dev_coll.tmp
saposcol owner and permissions as...
-rwsr-x--- 1 hrpadm sapsys May 01 2008 saposcol
so in which exe directory you are looking for saposcol exe ? i mean which SID ?
if SMD is also there a SAP instance on your host, then what is the owner/permission of that saposcol exe
ok, now as per Note 726094 - Starting SAPOSCOL without root authorization, remove all three files dev_coll, dev_coll.tmp and coll.put but keep a backup of these 3 files, say you can save them in the same directory with names like dev_coll_bkp...
and then start saposcol with user sidadm which is the owner of saposcol exe
and then start saposcol
thanks
Bhudev
Hi Bhudev,
Thanks for the reply.
Yes,there are two <sid>s,but only one exe and the owner and the permissions are as below
rwsr-x--- 1 hrpadm sapsys May 01 2008 saposcol
and, I could be able to understand your point
*******************************************************************************************
"and then start saposcol with user sidadm which is the owner of saposcol exe
and then start saposcol"
*****************************************************************************************
I would be very thankful to you if you can eloborate and help me fix the issue.
It is a bit important as it is the problem with PRD server
Thanks once again
Rgds
Venu
Hi Experts
I am continuing this topic . i have something same problem.
i am using sap ecc6 with oralce 10g in HP-UX.
i have 2 node node1 and node2 which are clustered...
whenever our node1 is down and we are switching to node2. and trying to start sap its says " no start profile found"
Then i did..
PS2:trpadm 39> cp START_DVEBMGS07_PS1 START_DVEBMGS07_PS2
PS2:trpadm 40> cp START_ASCS06_PS1 START_ASCS06_PS2
PS2:trpadm 42> cp TRP_ASCS06_PS1 TRP_ASCS06_PS2
PS2:trpadm 43> cp TRP_DVEBMGS07_PS1 TRP_DVEBMGS07_PS2
PS2:trpadm 44> startsap
Checking TRP Database
-
ABAP Database is running
Starting SAP-Collector Daemon
-
21:02:34 25.09.2010 LOG: Effective User Id is root
open logfile '/usr/sap/tmp/dev_coll.tmp' failed... use stderri
21:02:34 25.09.2010 ERROR: cannot open log file /usr/sap/tmp/dev_coll.tmp
21:02:34 25.09.2010 ERROR: Make sure directory /usr/sap/tmp exists or specify DIR_PERF
21:02:34 25.09.2010 ERROR: in profile and run saposcol pf=<profile>
saposcol already running
Starting SAP Instance ASCS06
-
Startup-Log is written to /home/trpadm/startsap_ASCS06.log
Instance Service on host PS2 started
Instance on host PS2 started
Starting SAP Instance DVEBMGS07
-
Startup-Log is written to /home/trpadm/startsap_DVEBMGS07.log
Instance Service on host PS2 started
Instance on host PS2 started
I am getting this error.
kindly help me as its PRD server issue.
thanks/regards
Hi,
It's been several years but we had a similar problem with failover. I remeber doing somthing in the startsap script to do with
set_sapdbhost to look at the instance profile to determine the DBHOST which will resolve against the hostname and not the failover package..
I will see if I can did up my notes...
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.