SAP Knowledge Base Article - Preview

1762827 - "Startup of Instance Service failed" in UNIX or Linux environment

Symptom

You try to start the SAP system with startsap in UNIX or Linux environment.

  1. startsap returns with:
     
    Checking <SID> Database
    Database is running
    -------------------------------------------
    Starting Startup Agent sapstartsrv
    FAIL: Timeout
    Startup of Instance Service failed
    See /home/<sid>adm/startsap_DVEBMGS<NR>.log for details
     
  2. /home/<sid>adm/startsap_DVEBMGS<NR>.log contains:
     
    Called command: /usr/sap/<SID>/SYS/exe/run/startsap start
    -------------------------------------------
    05:42:22
    Starting Startup Agent sapstartsrv
    -------------------------------------------
    05:44:22
    Startup of Instance Service failed
    -------------------------------------------
    05:44:22
    See /home/<sid>adm/startsap_DVEBMGS<NR>.log for details
     
  3. /home/<sid>adm/startsap.trc contains:
     
    /usr/sap/<SID>/SYS/exe/run/sapstartsrv pf=/usr/sap/<SID>/SYS/profile/<start or instance profile> -D
    ask sapcontrol when service is started
    /usr/sap/<SID>/SYS/exe/run/sapcontrol -nr <NR> -function
    WaitforServiceStarted 120 10
    Startup of Instance Service failed
    See /home/<sid>adm/startsap_DVEBMGS<NR>.log for details

By running the command:

/usr/sap/<SID>/SYS/exe/run/sapstartsrv pf=/usr/sap/<SID>/SYS/profile/<start or instance profile> -D

referenced by /home/<sid>adm/startsap.trc without the -D option you get further information regarding the reason why the instance service (represented by the sapstartsrv process) does not start.
Execute the command:

/sap/<SID/SYS/exe/run/sapstartsrv pf=/usr/sap/<SID>/SYS/profile/<start or instance profile>

on OS level with user <sid>adm.
The command returns with one of the following messages:

  • Unable to open trace file sapstartsrv.log. (Error 11 Resource temporarily unavailable)
  • Unable to lockf() the lock file /tmp/.sapstartsrv<NR>_sapstartsrv.log, some other process already has a lock.
  • Unable to open trace file sapstartsrv.log. (Error 13 Permission denied)
  • Unable to open trace file sapstartsrv.log. (Error 20 Not a directory)

Read more...

Environment

  • UNIX (AIX, HP-UX, Solaris) and Linux operating systems

All products based on:

  • SAP NetWeaver 7.0
  • SAP NetWeaver 7.3
  • SAP NetWeaver 7.4
  • SAP enhancement package 1 for SAP NetWeaver 7.0
  • SAP enhancement package 1 for SAP NetWeaver 7.3
  • SAP enhancement package 2 for SAP NetWeaver 7.0
  • SAP enhancement package 3 for SAP NetWeaver 7.0

Product

SAP NetWeaver 7.0 ; SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP enhancement package 1 for SAP NetWeaver 7.0 ; SAP enhancement package 1 for SAP NetWeaver 7.3 ; SAP enhancement package 2 for SAP NetWeaver 7.0 ; SAP enhancement package 3 for SAP NetWeaver 7.0

Keywords

KBA , BC-CST-STS , Startup Service , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.