on 11-03-2014 8:03 PM
Hi Team ,
Really apreciate your inputs to start the SAP system, in my scenario , sap system is not able to start, it is showing timeout error.
I have checked all the owner ship and permission for SAP server , still no luck.
All the other APP server's are up just this app server is down .
Please help me to bring up the server.
Higly appreciate your inputs.
Regards,
Pradeep.
Can you attach screenshot or output where you see this error?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Team,
PFB the error screenshot,
/usr/sap/SID/SYS/exe/run/sapstartsrv pf=/usr/sap/SID/SYS/profile/SID_DVEBMGS50_hostname
Unable to open trace file sapstartsrv.log. (Error 13 Permission denied) [ntservsserver.cpp 3533]
Checking SID Database
Database is running
-------------------------------------------
Starting Startup Agent sapstartsrv
FAIL: Timeout
Startup of Instance Service failed
See /home/sidadm/startsap_DVEBMGS50.log for details
Regards,
Pradeep.
Hello Pradeep,
Try below link and see if changing group permissions to sapadm helps
https://blogs.oracle.com/sherryyu/entry/sap_acc_how_to_troubleshoot
Thank you,
Sree.
Hi,
Even after I have loop back address in /etc/hosts, I am still facing the issue.
127.0.0.1 localhost loopback
Any other things that I need to check. Problem I face is very similar to Pradeep's problem.
mmpf181:s11adm 22> startsap r3
Checking S11 Database
Database is running
-------------------------------------------
Starting Startup Agent sapstartsrv
FAIL: Timeout
Startup of Instance Service failed
See /home/s11adm/startsap_ASCS00.log for details
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prithviraj,
1) I dont find sapstartsrv.log in /home/<SID>adm path..any other path?
2) startsap_ASCS00.log file contents as below. Not much useful.
Trace of system startup/check of SAP System S11 on Mon Jul 25 23:10:53 CDT 2016
Called command: /usr/sap/S11/SYS/exe/run/startsap start
-------------------------------------------
23:10:54
Starting Startup Agent sapstartsrv
-------------------------------------------
23:12:56
Startup of Instance Service failed
-------------------------------------------
23:12:56
See /home/s11adm/startsap_ASCS00.log for details
3)
I have the localhost entry in my /etc/hosts file.
127.0.0.1 localhost loopback<<<
mmpf181:s11adm 56> /usr/sap/S11/ASCS00/exe/sapcontrol -prot NI_HTTP -nr 00 -function GetInstanceProperties
25.07.2016 23:33:41
GetInstanceProperties
FAIL: NIEHOST_UNKNOWN, NiRawConnect failed in plugin_fopen()
mmpf181:s11adm 57> /usr/sap/S11/ASCS00/exe/sapcontrol -prot NI_HTTP -nr 00 -function GetInstanceProperties -debug
Mon Jul 25 23:34:17 2016
NiIInit: allocated nitab (2048 at 60000000006ab940)
NiIHSBufInit: initialize hostname buffer (IPv4)
NiHLInit: alloc host buf (100 entries)
NiSrvLInit: alloc serv bufs (100 entries)
***LOG Q0I=> NiPGetServByName: 'sapctrl00' not found: getaddrinfo (9: Bad file number) [niuxi.c 1823]
NiSrvLGetServNo: service name 'sapctrl00' not found by operating system
NiInit3: NI already initializes (init=1;cur=2048)
***LOG Q0I=> NiPGetHostByName: 'localhost' not found: getaddrinfo [niuxi.c 1759]
NiHLGetNodeAddr: hostname 'localhost' not found by operating system
25.07.2016 23:34:17
GetInstanceProperties
FAIL: NIEHOST_UNKNOWN, NiRawConnect failed in plugin_fopen()
mmpf181:s11adm 58>
Even though localhost entry in /etc/hosts..taking from files, getting the localhost not found issue as below:
NiSrvLGetServNo: service name 'sapctrl00' not found by operating system
NiInit3: NI already initializes (init=1;cur=2048)
***LOG Q0I=> NiPGetHostByName: 'localhost' not found: getaddrinfo [niuxi.c 1759]
NiHLGetNodeAddr: hostname 'localhost' not found by operating system
Added the nsswitch.conf as below.
<Hostname>:s11adm 73> cat /etc/nsswitch.conf
hosts: files [NOTFOUND=continue TRYAGAIN=continue] dns
ipnodes: files [NOTFOUND=continue TRYAGAIN=continue] dns
After adding, it worked fine and my SAP instance is up
It is a weird one as I did not use nsswitch.conf before and all these days it used to worked.
This time nsswitch was needed.
NOTE: OS=HPUX in this case.
Hello Pradeep,
Please take a look at following note.
1762827 - Startup of Instance Service failed in Unix or Linux Environment
Thank you,
Sree.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
I am using sidadm user to start ,
As per the note everything is correct for my scenario,
Now is the entries in sapservices file correct , please advice,
#!/bin/sh
SHLIB_PATH=/usr/sap/SID/DVEBMGS50/exe:$SHLIB_PATH; export SHLIB_PATH; /usr/sap/SID/DVEBMGS50/exe/sapstartsrv pf=/usr/sap/SID/SYS/profi
le/SID_DVEBMGS50_hostname -D -u sidadm
SHLIB_PATH=/usr/sap/DAA/SMDA97/exe:$SHLIB_PATH; export SHLIB_PATH; /usr/sap/DAA/SMDA97/exe/sapstartsrv pf=/usr/sap/DAA/SYS/profile/DAA
_SMDA97_hostanme -D -u daaadm
LD_LIBRARY_PATH=/usr/sap/SID/DVEBMGS50/exe:$LD_LIBRARY_PATH;export LD_LIBRARY_PATH;/usr/sap/SID/DVEBMGS50/exe/sapstartsrv pf=/usr/sap/
SID/SYS/profile/SID_DVEBMGS50_hostname -D -u sidadm
Regards,
Pradeep.
Hi,
Below are the logs from work direcotry,
---------------------------------------------------
trc file: "sapstartsrv.log", trc level: 0, release: "721"
---------------------------------------------------
pid 9143
[Thr 01] Tue Nov 4 13:36:42 2014
No halib defined => HA support disabled
CCMS agent initialization for instance type ABAP: return code 0.
CCMS agent disabled by profile parameter ccms/enable_agent = 0.
Initializing SAPControl Webservice
Starting AutoRestart thread
AutoRestart thread started
SapSSLInit failed => https support disabled
Starting WebService thread
Webservice thread started, listening on port 55013
Trusted http connect via Unix domain socket '/tmp/.sapstream55013' enabled.
I have tried deleting .sapstream55013 file from /tmp location and starting but no luck .
Can you tell me how to start using sapcontrol.
Thank you.
Regards,
Pradeep.
Hi ,
How to check administrator access avaliable in unix level.
Regards,
Pradeep.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
I am getting the below error after starting profile manually,
Unable to open trace file sapstartsrv.log. (Error 13 Permission denied) [ntservsserver.cpp 3533]
All the permissions and ownership for /usr/sap/SID/and /sapmnt/SID is fine ...
Kindly give your inputs.
Regards,
Pradeep.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Start sapstartsrv for this instance using sapcontrol.
Before that delete stream files in /tmp file system.
If it doesn't start, share it's logs.
Divyanshu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also useful information would be kernel versions and patch levels, if you recently tried an upgrade of the kernel, etc etc. Possible log files attached (not pasted to avoid long scrolls) of the sapstartsrv in the work directory.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pradeep,
Run the below command manually
/sap/<SID>/SYS/exe/run/sapstartsrv pf=/usr/sap/<SID>/SYS/profile/<start or instance profile>
Paste the output of above command
You will get the exact error. It might be permission issue on your disk.
With Regards
Ashutosh Chaturvedi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.