Problem in onstat - through another user
Posted in 2007
Topics: Security, Permissions & Auditing
I am using IDS.9.40.UC1 on linux. The owner of IDS is informix. I had set the
required environment variables for another user that is required to access the
informix.
When i run the onstat - command it throws error:
onstat: Shared memory: permission denied.
When i run oncheck -pe, it gives error;
Unable to attach to shared memory.
Permission denied
I have checked the rights on onstat and oncheck file:
-rwxr-xr-x 1 informix informix 1438131 May 28 2003 oncheck
-rwxr-xr-x 1 informix informix 3974879 May 28 2003 onstat
But i am not able to run the command through "test" user. The rights of Test
user comes through NIS.
Please suggest to solve issue.
Thanks in Advance
Gulshan
Your IDS software was installed (or copied) incorrectly. Those
permissions are wrong. It needs to be installed as root or copied as
root to get the correct permissions on executables that attach to SHM.
IDS 10.00.UC4 on RedHat AS 3:
resbe2.ifx> ll $INFORMIXDIR/bin/oncheck
-rwxr-sr-x 1 informix informix 1565549 Jan 10 2006
/opt/informix/bin/oncheck
resbe2.ifx>
resbe2.ifx> ll $INFORMIXDIR/bin/onstat -rwxr-sr-x 1 informix informix 2772691 Jan 10 2006
/opt/informix/bin/onstat
resbe2.ifx>
Bob Roussey
Unix / Informix Administration
Spirit Airlines
Robert.Roussey@SpiritAir.com
-----Original Message-----
From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of
GULSHAN KUMAR
Sent: Friday, October 05, 2007 5:40 AM
To: ids@iiug.org
Subject: Problem in onstat - through another user [10050]
I am using IDS.9.40.UC1 on linux. The owner of IDS is informix. I had
set the
required environment variables for another user that is required to
access the
informix.
When i run the onstat - command it throws error:
onstat: Shared memory: permission denied.
When i run oncheck -pe, it gives error;
Unable to attach to shared memory.
Permission denied
I have checked the rights on onstat and oncheck file:
-rwxr-xr-x 1 informix informix 1438131 May 28 2003 oncheck
-rwxr-xr-x 1 informix informix 3974879 May 28 2003 onstat
But i am not able to run the command through "test" user. The rights of
Test
user comes through NIS.
Please suggest to solve issue.
Thanks in Advance
Gulshan
************************************************************************
*******
Forum Note: Use "Reply" to post a response in the discussion forum.
Use this IBM utility
[1]http://www-1.ibm.com/support/docview.wss?fdoc=imids&rs=630&uid=swg2
1113385 to fix the permissions of the informix installation,shutdown
the instance and try again.
Regards
Kenneth
_________________________________________________________________
From: ids-bounces@iiug.org on behalf of Robert Roussey(IT)
Sent: Fri 10/5/2007 2:10 PM
To: ids@iiug.org
Subject: RE: Problem in onstat - through another user [10051]
Your IDS software was installed (or copied) incorrectly. Those
permissions are wrong. It needs to be installed as root or copied as
root to get the correct permissions on executables that attach to SHM.
IDS 10.00.UC4 on RedHat AS 3:
resbe2.ifx> ll $INFORMIXDIR/bin/oncheck
-rwxr-sr-x 1 informix informix 1565549 Jan 10 2006
/opt/informix/bin/oncheck
resbe2.ifx>
resbe2.ifx> ll $INFORMIXDIR/bin/onstat -rwxr-sr-x 1 informix informix 2772691 Jan 10 2006
/opt/informix/bin/onstat
resbe2.ifx>
Bob Roussey
Unix / Informix Administration
Spirit Airlines
Robert.Roussey@SpiritAir.com
-----Original Message-----
From: ids-bounces@iiug.org [[2]mailto:ids-bounces@iiug.org] On Behalf
Of
GULSHAN KUMAR
Sent: Friday, October 05, 2007 5:40 AM
To: ids@iiug.org
Subject: Problem in onstat - through another user [10050]
I am using IDS.9.40.UC1 on linux. The owner of IDS is informix. I had
set the
required environment variables for another user that is required to
access the
informix.
When i run the onstat - command it throws error:
onstat: Shared memory: permission denied.
When i run oncheck -pe, it gives error;
Unable to attach to shared memory.
Permission denied
I have checked the rights on onstat and oncheck file:
-rwxr-xr-x 1 informix informix 1438131 May 28 2003 oncheck
-rwxr-xr-x 1 informix informix 3974879 May 28 2003 onstat
But i am not able to run the command through "test" user. The rights
of
Test
user comes through NIS.
Please suggest to solve issue.
Thanks in Advance
Gulshan
**********************************************************************
**
*******
Forum Note: Use "Reply" to post a response in the discussion forum.
**********************************************************************
*********
Forum Note: Use "Reply" to post a response in the discussion forum.
References
1. http://www-1.ibm.com/support/docview.wss?fdoc=imids&rs=630&uid=swg21113385
2. mailto:ids-bounces@iiug.org