27.1.11

SAP Note 19349 - startsap/stopsap report "cannot set group id"

Symptom:

When you call startsap, the following error messages are issued:

"Database system startup failed!"
"cannot set group id"

The database system is not started

or

When sapdba is called the error message 'no execute permission' appears.

Cause and prerequisites

The access privileges of files "infstart" (start Informix OnLine) and/or "infstop" (stop Informix OnLine) are not set correctly.
These files must belong to user "root" and and so-called "s bit" must be set to enable the appropriate Informix commands "oninit" and "onmode -ky" to be called.

Solution
Check the access privileges for files "infstart" and "infstop" in directory "/usr/sap//exe/run".
The owner must be user "root", the group "sapsys", and the s bit must be set.
A list of all inf* files in this directory appears below.
If files other than "infstart" and "infstop" have access privileges in your system that are different from the listing below, please change them as well.

-rwsr-xr-- 1 root sapsys 114688 Dec 9 11:51 infaccess
-rwxr-xr-x 1 qihadm sapsys 540672 Jan 5 14:06 infarcexe
-rwxr-xr-x 1 qihadm sapsys 544768 Jan 5 14:06 infarclog
-rwxr-xr-x 1 qihadm sapsys 974 Nov 9 17:13 infarclog.csh
-rwxr-xr-x 1 qihadm sapsys 544768 Jan 5 14:06 infarcres
-rwsr-xr-- 1 root sapsys 114688 Dec 9 11:51 infcatlgr
-rwxr-xr-x 1 qihadm sapsys 110592 Dec 9 11:51 infgethome
-rwsr-xr-- 1 root sapsys 114688 Dec 9 11:51 infstart
-rwsr-xr-- 1 qihadm sapsys 524288 Dec 9 11:51 infstatus
-rwsr-xr-- 1 root sapsys 114688 Dec 9 11:51 infstop
-rwxr-xr-x 1 qihadm sapsys 561152 Dec 16 15:02 infstrfc
-rwxr-xr-x 1 qihadm sapsys 552960 Dec 13 17:00 infupdstat

Make the changes as user "root".
The following chmod command can be used to set the s bit (-rws):

"chmod 4754 datei_name"

Once you have made the changes, you should once again be able to use startsap/stopsap to start up and shut down the database.

No comments:

Post a Comment