startsap or stopsap fails with No Profiles Found on virtual host installation

startsap and stopsap is not working on virtual host installation or high availability installation.

Error: No Profiles Found

This issue usually arises when Virtual Host was used for installation. You have couple of options which you might explore.

Temporarily you can use startsap [Virtual Host] and stopsap [virtual Host] for starting and stopping SAP.

If you want to fix this permanently then follow one of the two methods below:

1) First Method:

a) Make a copy of startsap script.
SIDADM> cp startsap startsap_orig

b) Edit startsap and Search for string START_PROFILE=START_${1}_${HOSTNAME}

c) Replase ${HOSTNAME} with the Virtual Hostname Used for installation.

2) Second Method:

a) Find the string setTrace "##### getarg() start"

b) Replace VHOST="" with VHOST="Virtual Hostname"

Repeat the same for stopsap script.

5 Response to "startsap or stopsap fails with No Profiles Found on virtual host installation"

  1. Anonymous April 18, 2011 at 7:48 PM
    You write: "startsap and stopsap is not working...".

    Then, in a classic case of SAP anti-logic, two sentences further down the solution is this: "Temporarily you can use startsap and stopsap for starting and stopping SAP."

    Makes me feel very tired, deep inside.
  2. Faisal April 23, 2011 at 12:25 PM
    Actually good spot. Issue was in HTML Editing when I entered Startsap it was ignoring the "" part. Corrected it now with change of brackets.

    Thanks,
    Faisal
  3. RAj January 18, 2012 at 7:27 PM
    Unfortunately both the method didnot work for me, so using startsap with virtual hostname

    My starsap script(ORG) is
    for method-1
    # Set START_PROFILE
    _START_PROFILE=START_${2}_${VHOST}
    setTrace "_START_PROFILE=$_START_PROFILE";

    I changed the VHOST to my actual virtual hostname--didnot work.

    I also changed as per the method-2 --did't work
  4. Unknown July 1, 2015 at 3:47 AM
    Can anyone tell me how to edit the startsap script?
  5. Anonymous February 3, 2016 at 2:55 PM
    Execute startsap or stopsap with hostname

    Ex: stopsap r3

Post a Comment