Skip to Content

Why does startsap only start one of my instances?

Hi,

During my last maint I noticed that the startsap command only started one of my dialog instances D30, but not the other one D10. However, if I ran "startsap D10" is started without problems.

Any idea of what could be wrong? What do I need to change to make it start both my instances with the startsap command?

Thanks in advance!

Anton Alard

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

7 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 23, 2015 at 01:31 PM

    Hello Anton,

    if you have access to SAP notes you could take a look at the one with the number: 1888359
    It explains something about the background of the logic of the startsap script.

    Check it whether it helps to understand the behaviour.

    Regards Balázs

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 15, 2015 at 08:58 AM

    Hi Anton ,

    Is your startup profile/ Instance profile contain the correct hostname / named with the correct hostname .

    Is D30/D10 on the same host ? If yes then startup using the command "startsap hostname"

    Thanks ,

    Manu

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 15, 2015 at 09:23 AM

    Hi Anton,

    I general before executing startsap you should logon to the host using SIDadm user,

    In case if you host has 2 SID(D10,D30), and you logged on as d10adm "startsap"

    will only start D10 instance

    Thanks,

    Anto

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 15, 2015 at 09:58 AM

    Hello Anton,

    what was the exact syntax to start the system with startsap? Did you check the sapstart.log trace for more information, if there was a problem to start the second instance?

    Regards, Alwina

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 15, 2015 at 10:01 AM

    Hi Anton,

    Try "startsap all" or "startsap -t all" to start both the instances together if they were installed on same host.

    If you have 2 different Instances on the same host, you have to login with "sidadm" user and then hit the command "startsap" one by one to start both the instances.

    If you have logged in with "d10adm" user and "startsap" has been executed then definitely it would start only that particular instance.

    Thanks And Regards,

    Parth Raval

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 15, 2015 at 11:26 AM

    Hi again,

    I guess that I was a bit unclear with my problem.

    I have an SAP system distributed on two hosts, it consists of a central Instance and 3 application servers. Two on each host.

    On host 1 - when I run "stopsap" it stops the central instance AND the application server.

    On host 2 - when I run "stopsap" it only stops one of the application servers, NOT the other one. However the other one can be stopped using "stopsap D10" without any problems.

    So I run the same command on both hosts and get different results, why?

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 15, 2015 at 01:41 PM

    Hi Anton,

    Can you please explain your problem more detail,

    when the central instance is stopped, then how the application server will run

    Thanks ,

    Anto

    Add comment
    10|10000 characters needed characters exceeded

    • Hi,

      ASCS01

      config

      D10

      D20

      D30

      DVEBMGS00

      SCS02

      SYS

      Remember that DVEBMGS00 and D20 are running on another host.

      We are running Redhat 6.6

      The which command gives the same answer for both my hosts:

      as mnpadm:

      which startsap

      /usr/sap/MNP/SYS/exe/run/startsap

      I can't see that it has been customized.