cancel
Showing results for 
Search instead for 
Did you mean: 

unable to stop SAP by stopsap

Former Member
0 Kudos

Hi all,

i'm facing a different problem,

i login to SAP Hp-ux system with <SID>adm user ID and try to stop and start sap application by using command, stopsap

but, its giving error like...

0A<HOSTNAME>:<SID>adm 1> stopsap

/usr/sap/<SID>/SYS/exe/run/stopsap[32]: /var/tmp/sh26641.13: Cannot create the specified file.

start profile START__<HOSTNAME> not found

<hostname>:<sid>adm 2>

check profiles in /sapmnt/<SID>.

checked from RZ10 and reloaded. start profile is available and there is no changes in the profiles.

will there be any problem with file system permissions.

why it is giving error like start__<hostname> not found.

actual profile nomenclature is as follows:-

DEFAULT.PFL

START_<instance><instance no.>_<hostname>

<SID>_<instance><instance no>_<hostname>

no changes in the above files.

please suggest on what could be the actual problem and how to rectify this.

best regards

thanks in advance

Harika N

Accepted Solutions (1)

Accepted Solutions (1)

markus_doehr2
Active Contributor
0 Kudos

>

> i'm facing a different problem,

> i login to SAP Hp-ux system with <SID>adm user ID and try to stop and start sap application by using command, stopsap

>

> but, its giving error like...

> 0A<HOSTNAME>:<SID>adm 1> stopsap

> /usr/sap/<SID>/SYS/exe/run/stopsap[32]: /var/tmp/sh26641.13: Cannot create the specified file.

This is a permission problem.

> start profile START__<HOSTNAME> not found

That means, that the profile for the <HOSTNAME> was not found.

Check in /usr/sap/<SID>/SYS/profile if there is a profile for that <HOSTNAME> and also check the permissions of the directories (owner <SID>adm and group "sapsys).

Markus

Former Member
0 Kudos

I am getting exactly the same error, as soon as i don't have permissions on /var/tmp

root# chmod 770 /var/tmp

sidadm%  stopsap 
/usr/sap/SID/SYS/exe/run/stopsap[32]: /var/tmp/sh10410.13: Cannot create the specified file.
start profile START__host1 not found

On my systems, the perrmissons are:

drwxrwxrwt 16 root root 8192 Aug 6 16:14 /var/tmp

But drwxrwxrwx works as well...

Best regards, Michael

Former Member
0 Kudos

Thank you Markus & Michael,

will check as per you suggestions. i'll be checking troubleshooting this problem on Friday evening(i.e. tomorrow).

and will update you on the same.

i'll update with more details.

Thankyou all for the response.

Best regards

Harika

Former Member
0 Kudos

Hi Michael and Markus,

After rectifying the permissions for /var/tmp we were able to stop and start SAP.

As per audit report the Unix Team had removed authorizations for selected directories.

since, there is a problem with file permission i faced a problem with "stopsap" script.

Thanks for your support.

best regards

Harika

Answers (4)

Answers (4)

Former Member
0 Kudos
usr/sap/<SID>/SYS/exe/run/stopsap32: /var/tmp/sh26641.13: Cannot create the specified file.

Also check the permissions on files in /var/tmp and on /var/tmp

markus_doehr2
Active Contributor
0 Kudos

what hapened prior to this error? Did you rename the machine? Was it installed using virtual hostname?

Markus

Former Member
0 Kudos

Hi Markus,

My organisation management told me to troubleshot on Friday evening.

coming to my system details:-

Its running on HP-UX, not virtualised.

we haven't renamed. last restart was in april 09.

after changing parameter, i tried to restart the application. then i found that i had a problem in stopping and starting SAP.

so, we decided to stop and troubleshot on Friday evening.

as a part of auditing, my unix team might have changed some permissions etc.

when i cross check with them they said that they haven't changed any thing.

But, i'm facing this problem.

please guide on how to troubleshot this error.

thanking you in all,

best regards

Harika

Former Member
0 Kudos

Check if Unix environment variables for user <sid>adm are set correctly.

I guess SAPSYSTEMNAME might be missing.

anindya_bose
Active Contributor
0 Kudos

Harika

Check the permission and owner of the profile files. Try to provide permission 4750 by chmod and try stopsap again