cancel
Showing results for 
Search instead for 
Did you mean: 

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

sureshlinga
Explorer
0 Kudos

Hi

I am getting the following error while installing SAP HANA SP07, Please help to resolve the issue.

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

Following is the snapshot of the error:

Regards,

Suresh.

Accepted Solutions (1)

Accepted Solutions (1)

former_member127534
Product and Topic Expert
Product and Topic Expert

Please check if your machine name is bind with the IP address.

use ping <machine name> to see if system returns the IP, if not,add the bind mapping in /etc/hosts and try the HANA installation again.

Answers (2)

Answers (2)

former_member193518
Active Participant
0 Kudos

The contents should look something like (on 2 lines):

#!/bin/sh
LD_LIBRARY_PATH=/usr/sap/HND/HDB00/exe:$LD_LIBRARY_PATH;export LD_LIBRARY_PATH;/usr/sap/HND/HDB00/exe/sapstartsrv pf=
/usr/sap/HND/SYS/profile/HND_HDB00_hana1 -D -u hndadm

AtulKumarJain
Active Contributor
0 Kudos

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