Quantcast
Channel: SCN: Message List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 8968

Re: Cannot read file '/usr/sap/sapservices': No such file or directory

$
0
0

Hi Suresh,

 

To register sapstartsrv in the /usr/sap/services file you have to run the following:

 

/usr/sap/hostctrl/exe/saphostctrl -function RegisterInstanceService \

-sid <SID> -nr <instance number> -saplocalhost <hostname> \

-profile <path to instance start  profile>

 

also please ensure the entry in services is

 

START_<SID>_<Instance_number>_<Hostname>:LD_LIBRARY_PATH=/usr/sap/<SID>/<Instance>/exe:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; /usr/sap/<SID>/<Instance>/exe/sapstartsrv pf=/usr/sap/<SID>/SYS/profile/START_<Instance>_<Hostname>

 

OR

 

LD_LIBRARY_PATH=/usr/sap/<SID>/<Instance>/exe:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; /usr/sap/<SID>/<Instance>/exe/sapstartsrv pf=/usr/sap/<SID>/SYS/profile/START_<Instance>_<Hostname>

 

Best Regards,

Atul


Viewing all articles
Browse latest Browse all 8968

Trending Articles