on 12-07-2010 3:17 AM
Hi All,
We are having ASCS and PAS Instance on one host and DB is on another host. When we are trying to start ASCS instance its failing:
dmxub05:xc1adm 25> startsap oshcrzm5
Checking XC1 Database
-
Database is running
Starting Startup Agent sapstartsrv
-
Startup of Instance Service failed
See /home/xc1adm/startsap_ASCS61.log for details
Starting SAP Instance ASCS61
-
Startup-Log is written to /home/xc1adm/startsap_ASCS61.log
Startup of Instance failed
See /home/xc1adm/startsap_ASCS61.log for details
On checking startsap_ASCS61.log, it shows below error:
dmxub05:xc1adm 26> cat /home/xc1adm/startsap_ASCS61.log
Trace of system startup/check of SAP System XC1 on Mon Dec 6 19:11:01 MST 2010
Called command: /usr/sap/XC1/SYS/exe/run/startsap start
Starting Startup Agent sapstartsrv
-
/usr/sap/XC1/SYS/exe/run/startsap: /usr/sap/XC1/ASCS61/exe/sapstartsrv: Execute permission denied.
Startup of Instance Service failed
Starting SAP Instance ASCS61
-
Startup of Instance failed
Permission and ownership of sapstartsrv is also fine
dmxub05:xc1adm 27> ls -ltr /usr/sap/XC1/ASCS61/exe/sapstartsrv
-rwxrwxrwx 1 xc1adm sapsys 1048576 Dec 5 17:41 /usr/sap/XC1/ASCS61/exe/sapstartsrv
but when i am starting PAS Instance, it is getting started
dmxub05:xc1adm 21> startsap oshcrzm5 DVEBMGS60
Checking XC1 Database
-
Database is running
Starting Startup Agent sapstartsrv
-
Instance Service on host dmxub05 started
Starting SAP Instance DVEBMGS60
-
Startup-Log is written to /home/xc1adm/startsap_DVEBMGS60.log
Instance on host dmxub05 started
Starting SAP-Collector Daemon
-
19:22:14 06.12.2010 LOG: Effective User Id is root
******************************************************************************
This is Saposcol Version COLL 20.95 701 - V2.7.1 2008-08-11 HP-UX IA64
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 on host dmxub05 started
dmxub05:xc1adm 22> ps -ef | grep dw
xc1adm 14654 14637 0 19:21:46 ? 0:00 dw.sapXC1_DVEBMGS60 pf=/usr/sap/XC1/SYS/profile/XC1_DVEBMGS60_oshcrzm5
xc1adm 14684 14637 0 19:21:48 ? 0:00 dw.sapXC1_DVEBMGS60 pf=/usr/sap/XC1/SYS/profile/XC1_DVEBMGS60_oshcrzm5
xc1adm 14663 14637 0 19:21:46 ? 0:00 dw.sapXC1_DVEBMGS60 pf=/usr/sap/XC1/SYS/profile/XC1_DVEBMGS60_oshcrzm5
xc1adm 14664 14637 0 19:21:46 ? 0:00 dw.sapXC1_DVEBMGS60 pf=/usr/sap/XC1/SYS/profile/XC1_DVEBMGS60_oshcrzm5
Not being able to create the sockets while starting ASCS. But socket are getting created when starting the PAS. Find below:
dmxub05:xc1adm 25> ls -altr .sap*
-rw-rw-rw- 1 xc1adm sapsys 0 Dec 5 12:58 .sapstartsrv60_sapstartsrv.log
-rw-rw-rw- 1 xc1adm sapsys 0 Dec 5 17:41 .sapstartsrv61_sapstartsrv.log
srwx------ 1 xc1adm sapsys 0 Dec 6 19:21 .sapstream56013
srwxrwxrwx 1 xc1adm sapsys 0 Dec 6 19:21 .sapstream3260
srwxrwxrwx 1 xc1adm sapsys 0 Dec 6 19:21 .sapstream46080
srwxrwxrwx 1 xc1adm sapsys 0 Dec 6 19:21 .sapstream46000
srwxrwxrwx 1 xc1adm sapsys 0 Dec 6 19:21 .sapstream3360
srwxrwxrwx 1 xc1adm sapsys 0 Dec 6 19:21 .sapstream65000
srwxrwxrwx 1 xc1adm sapsys 0 Dec 6 19:21 .sapicm8060
srwxrwxrwx 1 xc1adm sapsys 0 Dec 6 19:22 .sapstream46002
srwxrwxrwx 1 xc1adm sapsys 0 Dec 6 19:22 .sapstream46001
Also the entries in sapservices file is also okay
pwd
/usr/sap
ll sapservices
-rwxr-xr-x 1 root sapsys 667 Dec 6 17:15 sapservices
cat sapservices
#!/bin/sh
SHLIB_PATH=/usr/sap/XC1/ASCS61/exe:$SHLIB_PATH; export SHLIB_PATH; /usr/sap/XC1/ASCS61/exe/sapstartsrv pf=/usr/sap/XC1/SYS/profile/START_ASCS61_oshcrzm5 -D -u xc1adm
Kindly help in starting up ASCS Instance.
Regards,
Soumya
Hello,
Please check the Note 1063897 - sapstartsrv user authentication on HP-UX
regards,
John Feely
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
The issue got resolved.
On further investigation it was found that there was a mismatch in sapstartsrv and sapstart file under /usr/SAP/XC1/ASCS61/exe/ and /usr/sap/XC1/DVEBMGS60/exe/
cd /usr/SAP/XC1/ASCS61/exe
ll | grep sapstart
-r-xr--r-x 1 xc1adm sapsys 0 Dec 4 20:45 sapstart
-r-xr--r-x 1 xc1adm sapsys 1048576 Dec 4 20:45 sapstartsrv
cd /usr/sap/XC1/DVEBMGS60/exe
ll | grep sapstart
-rwxr-xr-x 1 xc1adm sapsys 1960136 May 5 2010 sapstart
-rwxr-xr-x 1 xc1adm sapsys 17774216 May 28 2010 sapstartsrv
So copied the exe directory from /usr/sap/XC1/DVEBMGS60 and replaced it in usr/SAP/XC1/ASCS61/ and the ASCS Instance got started.
Thanks all for your suggestions.
Regards,
Soumya
whats your owner and permissions for /usr/sap/XC1/SYS/exe/run/startsap
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try to start this by giving startsap r3 ASCS61 or startsap r3 ASCS61 oshcrzm5
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is your operating system and version?
What is the output of:
file /usr/sap/XC1/ASCS61/exe/sapstartsrv
Edited by: Joe Bo. on Dec 7, 2010 11:53 AM
file, not which!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please check the log files in the work directory of the ASCS. There should be more information regarding the problem you face.
Kind regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.