Skip to Content

Startup of Instance Service failed

Hi Experts,

Our Linux team told us that our "/ (Slash)" mount point of SOLMAN got 100% utilization so we told them to clear something and make the space available and we stopped the SAP and DB on SOLMAN machine. So they freed some space and after that when I am trying to start SAP instance of SOLMAN server but it is showing "Startup of Instance Service failed" and the logs shows as below.

SOLMAN:smdadm 48> startsap

Checking SMD Database

Database is running

-------------------------------------------

Starting Startup Agent sapstartsrv

FAIL: Timeout

Startup of Instance Service failed

See /home/smdadm/startsap_SCS01.log for details

-------------------------------------------

SOLMAN:smdadm 50> cat /home/smdadm/startsap_SCS01.log

Trace of system startup/check of SAP System SMD on Wed Jan 20 16:59:04 IST 2016

Called command: /usr/sap/SMD/SYS/exe/run/startsap start

-------------------------------------------

16:59:05

Starting Startup Agent sapstartsrv

-------------------------------------------

17:01:05

Startup of Instance Service failed

-------------------------------------------

17:01:05

See /home/smdadm/startsap_SCS01.log for details

Please suggest me what to do on this situation

Thanks in advanced.

Regards,

Musa.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

8 Answers

  • Best Answer
    Jan 22, 2016 at 01:08 AM

    Hi,

    The problem should be the lock file permission.

    please check the permission of the following hidden file:

    /tmp/.sapstartsrv01_sapstartsrv.log

    the default/correct permission should be "-rw-rw-rw- 1 <sid>adm sapsys" .

    other permissions will cause "Unable to open trace file sapstartsrv.log. (Error 13 Permission denied) " error when you run

    "sapstartsrv pf=/sapmnt/SMD/profile/START_SCS01_SOLMAN" command.

    you can just delete /tmp/.sapstartsrv01_sapstartsrv.log file and it will be generated again when sapstartsrv service start again.

    Thanks and best regards,

    Shi Feng

    Add comment
    10|10000 characters needed characters exceeded

    • Hey Feng,

      I just saw your suggestion and found that the permission of sapstartsrv00_sapstartsrv.log and sapstartsrv01_sapstartsrv.log is root root

      So now i am trying to delete it and will start the instance once again and will let you know the status very soon.

      Thanks for your suggestion.

      Regards,

      Musaddik.

  • avatar image
    Former Member
    Jan 21, 2016 at 08:25 AM

    Dear RBK B,

    I think there is a permission issue some where.

    Just run the below command

    sapstartsrv pf=<give the instance profile of SCS>

    Paste the error here.

    With Regards

    Ashutosh Chaturvedi

    Add comment
    10|10000 characters needed characters exceeded

    • Hello Musa,

      The profiles look ok.

      Can you please check the permissions of the "work" folder and of the existing sapstartsrv log files?

      ls -lad /usr/sap/SMD/SCS01/work

      ls -la /usr/sap/SMD/SCS01/work/sapstartsrv.*

      Regards,

      Isaías

  • Jan 22, 2016 at 02:48 AM

    Hi,

    By the way, /tmp/.sapstartsrv01_sapstartsrv.log is the lock file for sapstartsrv, you must not delete it if there is sapstartsrv process already running, otherwise, there will be more than one sapstartsrv can be started.

    Best regards,

    Shi Feng

    Add comment
    10|10000 characters needed characters exceeded

    • SOLUTION

      Hey Feng,

      Thanks a lot for your suggestion it solved my issue.

      I deleted old log files below

      sapstartsrv00_sapstartsrv.log

      sapstartsrv01_sapstartsrv.log

      which had root root permission and then gave command startsap.

      The result is below.


      SOLMAN:smdadm 45> startsap

      Checking SMD Database

      Database is not available via R3trans

      -------------------------------------------

      Trying to start SMD database ...

      Log file: /home/smdadm/startdb.log

      SMD database started

      Starting Startup Agent sapstartsrv

      OK

      Instance Service on host SOLMAN started

      -------------------------------------------

      starting SAP Instance SCS01

      Startup-Log is written to /home/smdadm/startsap_SCS01.log

      -------------------------------------------

      /usr/sap/SMD/SCS01/exe/sapcontrol -prot NI_HTTP -nr 01 -function Start

      Instance on host SOLMAN started

      Starting Startup Agent sapstartsrv

      OK

      Instance Service on host SOLMAN started

      -------------------------------------------

      starting SAP Instance DVEBMGS00

      Startup-Log is written to /home/smdadm/startsap_DVEBMGS00.log

      -------------------------------------------

      /usr/sap/SMD/DVEBMGS00/exe/sapcontrol -prot NI_HTTP -nr 00 -function Start

      Instance on host SOLMAN started

      Thanks Feng and everybody who gave their valuable thoughts on my problem.

      May God Bless everybody.

      Regards,

      Musaddik..

  • Jan 21, 2016 at 04:10 AM

    please attach sapstartsrv.log , stderr* logs , startsap.trc here.

    best regards,

    Manjunath Hanmantgad

    Add comment
    10|10000 characters needed characters exceeded

    • Feng,

      Now which profile of the below your want

      -rw-rw---- 1 smdadm sapsys 2297 Oct 18 2013 DEFAULT.BAK

      -rwxrwxrwx 1 smdadm sapsys 2412 Oct 18 2013 DEFAULT.PFL

      -rwxrwxrwx 1 smdadm sapsys 3544 Jul 9 2014 SMD_DVEBMGS00_SOLMAN

      -rwxrwxrwx 1 smdadm sapsys 1395 Sep 27 2013 SMD_DVEBMGS00_SOLMAN.1

      -rwxrwxrwx 1 smdadm sapsys 1453 Sep 27 2013 SMD_DVEBMGS00_SOLMAN.2

      -rw-rw---- 1 smdadm sapsys 3194 Jul 9 2014 SMD_DVEBMGS00_SOLMAN.BAK

      -rwxrwxrwx 1 smdadm sapsys 950 Oct 9 2013 SMD_SCS01_SOLMAN

      -rwxrwxrwx 1 smdadm sapsys 3530 Oct 18 2013 START_DVEBMGS00_SOLMAN

      -rwxrwxrwx 1 smdadm sapsys 1631 Sep 27 2013 START_SCS01_SOLMAN

  • Jan 22, 2016 at 06:21 AM

    SOLUTION

    Hey Feng,

    Thanks a lot for your suggestion it solved my issue.

    I deleted old log files below

    sapstartsrv00_sapstartsrv.log

    sapstartsrv01_sapstartsrv.log

    which had root root permission and then gave command startsap.

    The result is below.


    SOLMAN:smdadm 45> startsap

    Checking SMD Database

    Database is not available via R3trans

    -------------------------------------------

    Trying to start SMD database ...

    Log file: /home/smdadm/startdb.log

    SMD database started

    Starting Startup Agent sapstartsrv

    OK

    Instance Service on host SOLMAN started

    -------------------------------------------

    starting SAP Instance SCS01

    Startup-Log is written to /home/smdadm/startsap_SCS01.log

    -------------------------------------------

    /usr/sap/SMD/SCS01/exe/sapcontrol -prot NI_HTTP -nr 01 -function Start

    Instance on host SOLMAN started

    Starting Startup Agent sapstartsrv

    OK

    Instance Service on host SOLMAN started

    -------------------------------------------

    starting SAP Instance DVEBMGS00

    Startup-Log is written to /home/smdadm/startsap_DVEBMGS00.log

    -------------------------------------------

    /usr/sap/SMD/DVEBMGS00/exe/sapcontrol -prot NI_HTTP -nr 00 -function Start

    Instance on host SOLMAN started

    Thanks Feng and everybody who gave their valuable thoughts on my problem.

    May God Bless everybody.

    Regards,

    Musaddik.

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 20, 2016 at 12:08 PM

    Hi Musa.

    1. Could you share the log /startsap_SCS01.log

    2. Refer the SAP KBA's 1762827 1766358 for startup issue -

    Regards

    Add comment
    10|10000 characters needed characters exceeded

    • Thanks Sriram for your valuable reply

      Q . Could you share the log /startsap_SCS01.log ??


      Ans yes please see below.


      SOLMAN:smdadm 50> cat /home/smdadm/startsap_SCS01.log

      Trace of system startup/check of SAP System SMD on Wed Jan 20 16:59:04 IST 2016

      Called command: /usr/sap/SMD/SYS/exe/run/startsap start

      -------------------------------------------

      16:59:05

      Starting Startup Agent sapstartsrv

      -------------------------------------------

      17:01:05

      Startup of Instance Service failed

      -------------------------------------------

      17:01:05

      See /home/smdadm/startsap_SCS01.log for details


  • avatar image
    Former Member
    Jan 20, 2016 at 12:16 PM

    Hi Rbk B,

    Just run the command

    sapstartsrv pf=<location of start profile of SCS >

    You will receive the exact message which is causing the TIMEOUT issue.

    With Regards

    Ashutosh Chaturvedi

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Sapadmin SBIL

      Hi Rbk B,

      Can you paste the screenshot of the error which you are getting on running the command as suggested.

      So there will be a permission issue. So correct the permission and then try to start the system

      With Regards

      Ashutosh Chaturvedi

  • avatar image
    Former Member
    Jan 20, 2016 at 12:18 PM

    Hello Rbk,

    Please execute command sapcontrol -function StopService -nr 00 with SIDADM.

    Confirm whether its stopped or not. If not kill the process and restart the system again.

    Regards

    Anand

    Add comment
    10|10000 characters needed characters exceeded