cancel
Showing results for 
Search instead for 
Did you mean: 

can not stopsap use command

Former Member
0 Kudos

Hi,

When I su to <SID>adm and run the script stopsap,the error :

The file access permissions do not allow the specified action.

/usr/sap/DY1/SYS/exe/run/stopsap[6]: //stopsap.trc: 0403-005 Cannot create the specified file.

The file access permissions do not allow the specified action.

/usr/sap/DY1/SYS/exe/run/stopsap[9]: //stopsap.trc: 0403-005 Cannot create the specified file.

The file access permissions do not allow the specified action.

/usr/sap/DY1/SYS/exe/run/stopsap[9]: //stopsap.trc: 0403-005 Cannot create the specified file.

SAPSYSTEMNAME not set

anyone can help me ?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

the question is fixed

Former Member
0 Kudos

Hi,

I hope you have missed the <space character> in the command su<space character>-<space character><sid>adm to switch the user. Please check the same.

Set 755 permission to all the sap related files (except SAPOSCOL) in the run directory and ensure that the run directory is owned by <sid>adm:sapsys.

chown -R <sid>adm:sapsys run
su - <sid>adm
chmod -R 755 run

Check the SAP Note [113747|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=113747] for BRTools permission.

Regards,

Varadharajan M

former_member188883
Active Contributor
0 Kudos

Hi,

Could you check the permission in following directories

1) /home/<sidadm>

2) /usr/sap/DY1/SYS/exe/run

Ensure that it has full permission for user <sidadm>

You can give full permission using the command

chmod -R 777 <directory name>

Hope this is useful.

Regards,

Deepak Kori

Former Member
0 Kudos

Thanks for your replay.

But when I do it you say,give the directory /usr/sap/DY1/SYS/exe/run full permission(777) and the /home/<sid>adm full

permission but the error still exist.

Former Member
0 Kudos

ok, I find the file stopsap.trc in the / directory and chown the user to <sid>adm and gvie the full permisson, the error dispear.But it return a meessage SAPSYSTEMName not set.

Former Member
0 Kudos

Hi,

Have a look at this [thread|;. This deals with the similar issue. If this doesn't solve the issue, post the stopsap log for further analysis.

Regards,

Varadharajan M

Former Member
0 Kudos

The question is fixed through by the command:

export SAPSYSTEMNAME="systemid"