Re: permission
Posted in 1998
Maria L. Wilson wrote:
> Maria L. Wilson wrote:
> >
> > Hi all,
> >
> > I have informix 7.23 on Solaris 2.6 and am having the following
> > problem...
> >
> > As user informix, I can access any tools installed and do any of the
> > onstat, oncheck, etc commands with no problems.
> >
> > As a user, I can access tools fine (dbaccess, esql, etc..) but if i try
> > to do any of the onstat commands or onmonitor i get the following error:
> > onstat: Shared memory: permission denied.
> > when I try to get into onmonitor, it says nothing just returns my
> > cursor.
> >
> > I have checked permissions in bin and compared them to the onlinefiles
> > file but they all look the same. I also tried to re-install IDS, CLI
> > and Connect in the order
> > 1.CLI - 2.5
> > 2.IDS - 7.23
> > 3.Connect - 7.23
> > and I'm not getting anywhere.
> >
> > Any help would be appreciated.....
> > Maria
> > --------------------------------------------------------
> > Maria L. Wilson 757.766.8265
> > Computer Sciences Corporation 757.766.2571 fax
> > NASA Langley Research Center m.l.wilson@larc.nasa.gov
> > 3217 North Armistead Ave. http://www.larc.nasa.gov
> > Hampton, Va 23666
> > --------------------------------------------------------
> > If there is no God, who pops up the next Kleenex?
> > -- Art Hoppe
> > --------------------------------------------------------
>
> Thanks to all who have replied..... So far I have checked the
> permissions in the bin directory and they all look fine....
>
> -rwxr-sr-x 1 informix informix 1246772 Apr 6 13:31 onstat*
>
> I have also looked into the /etc/passwd file and group files. They are
> managed by YP, but they all have informix in them.
>
> Also Jonathan, the files are not NFS mounted. I have also reinstalled
> twice!
>
> I've opened a case for this with tech support (they have been helpful)
> but STILL can't find the solution.
>
> HELP!!!!
>
> Thanks again. Maria Wilson
Hi Maria,
did you check also oninit? it must belong to root with sticky bits set.
-rwsr-sr-- 1 root informix 7320579 Oct 16 16:17 oninit
I've seen very strange behaviour if the sticky bits were missing or some of
the programs did not belong to root. Below are my settings:
-rwxr-xr-x 1 informix informix 2427 Jul 11 1997 cace
-rwsr-sr-x 1 root informix 1422927 May 24 1997 cdragt
-rwxr-xr-x 1 informix informix 1682 Jul 11 1997 chkengine
-rwxr-xr-x 1 informix informix 541929 May 24 1997 chkenv
-rwxr-xr-x 1 informix informix 1932 Jul 11 1997 chkserver
-rwxr-xr-x 1 informix informix 2424 Jul 11 1997 cperf
-rwxr-xr-x 1 informix informix 4713 May 24 1997 cron_autovop
-rwxr-xr-x 1 informix informix 546198 May 24 1997 crtcmap
-rwxr-xr-x 1 informix informix 1632336 Oct 16 16:17 dbaccess
-rwxr-xr-x 1 informix informix 4787 May 24 1997 dbaccessdemo7
-rwxr-xr-x 1 informix informix 1226409 Oct 16 16:17 dbexport
-rwxr-xr-x 1 informix informix 1102047 Oct 16 16:17 dbimport
-rwxr-xr-x 1 informix informix 1116128 Oct 16 16:17 dbload
-rwxr-xr-x 1 informix informix 1222681 Oct 16 16:17 dbschema
-rwxr-xr-x 1 informix informix 5531 May 24 1997 esqlcobdemo7
-rwxr-xr-x 1 informix informix 6484 May 24 1997 esqlcobol
-rwxr-xr-x 1 informix informix 4102 May 24 1997 finderr
-rwxr-xr-x 1 informix informix 9948 May 24 1997 glfiles
-rwxr-xr-x 1 informix informix 541013 May 24 1997 infxmsg
-rwxr-xr-x 1 informix informix 2124 May 24 1997 infxserver
-rwxr-xr-x 1 informix informix 4164419 May 24 1997 ipload
-rwxr-xr-x 5 informix informix 901526 Oct 16 15:55 isql
-rwxr-xr-x 1 informix informix 10745 Jul 11 1997 isqldemo
-rwxr-xr-x 1 informix informix 5561 May 24 1997 makerun
-rwxr-xr-x 1 root informix 5399 Apr 07 14:10 makerun.happy
-rwsr-sr-x 1 root informix 544826 May 24 1997 mkdbsdir
-rwxr-xr-x 1 informix informix 539770 May 24 1997 msgfile
-rwxr-xr-x 1 root informix 333426 Apr 07 14:11 newrun
-rwxr-sr-x 1 informix informix 3138421 May 24 1997 onarchive
-rwsr-sr-x 1 root informix 1082874 Oct 16 16:17 onaudit
-rwxr-sr-x 1 informix informix 2484359 May 24 1997 onautovop
-rwsr-sr-x 1 root informix 1878512 May 24 1997 onbar
-rwsr-sr-x 1 informix informix 2016991 May 24 1997 oncatlgr
-rwxr-sr-x 1 informix informix 1561568 Oct 16 16:17 oncheck
-rwxr-xr-x 1 informix informix 1224855 Oct 16 16:21 oncockpit
-rwxr-sr-x 1 informix informix 1924481 May 24 1997 ondatartr
-rwsr-sr-x 1 root informix 1623123 May 24 1997 ondblog
-rwsr-sr-x 1 root informix 1038915 May 24 1997 onedcu
-rwxr-sr-x 1 informix informix 182879 May 24 1997 onedpu
-rwsr-sr-- 1 root informix 7320579 Oct 16 16:17 oninit
-rwxr-sr-x 1 informix informix 2392489 May 24 1997 onkeymgr
-rwxr-sr-x 1 informix informix 845345 Oct 16 16:17 onload
-rwxr-sr-x 1 informix informix 980438 Oct 16 16:17 onlog
-rwsr-sr-x 1 root informix 938389 Oct 16 16:17 onmode
-rwsr-sr-x 1 root informix 2642475 Oct 16 16:17 onmonitor
-rwxr-sr-x 1 informix informix 1187895 Oct 16 16:17 onparams
-rwxr-xr-x 1 informix informix 2363015 May 24 1997 onperf
-rwxr-sr-x 1 informix informix 1879112 May 24 1997 onpload
-rwxr-xr-x 1 informix informix 1718769 Oct 16 16:21 onprobe
-rwsr-sr-x 1 root informix 595406 Oct 16 16:17 onshowaudit
-rwsr-sr-x 1 root informix 1838648 May 24 1997 onsnmp
-rwxr-sr-x 1 informix informix 1179845 Oct 16 16:17 onspaces
-rwsr-sr-x 1 root informix 35862 May 24 1997 onsrvapd
-rwxr-sr-x 1 informix informix 1807574 Oct 16 16:17 onstat
-rwsr-sr-x 1 root informix 1558239 Oct 16 16:17 ontape
-rwxr-sr-x 1 informix informix 845345 Oct 16 16:17 onunload
-rwxr-xr-x 1 informix informix 5323 May 24 1997 rofferr
-rwxr-xr-x 5 informix informix 901526 Oct 16 15:55 sacego
-rwxr-xr-x 5 informix informix 901526 Oct 16 15:55 saceprep
-rwxr-xr-x 1 informix informix 1632 Jul 11 1997 salesdemo
-rwxr-xr-x 5 informix informix 901526 Oct 16 15:55 sformbld
-rwsr-sr-x 1 root informix 129736 May 24 1997 sgidsh
-rwsr-sr-x 1 root system 978 May 24 1997 snmpdm
-rwsr-sr-x 1 root system 253068 May 24 1997 snmpdp
-rwxr-xr-x 5 informix informix 901526 Oct 16 15:55 sperform
-rwxr-xr-x 1 informix informix 6644 Jul 11 1997 sqldemo
-rwxr-xr-x 1 informix informix 2090 May 24 1997 start_autovop
-rwxr--r-- 1 informix informix 3883 May 24 1997 start_oncatlgr
-rwxr-xr-x 1 informix informix 2779 May 24 1997 stop_autovop
-rwxr--r-- 1 informix informix 3357 May 24 1997 stop_oncatlgr
-rwxr-xr-x 1 informix informix 895410 May 24 1997 xtrace
-rwxr-sr-x 1 informix informix 1312529 May 24 1997 xtree
Regards
Helmut Leininger
Bull AG / Vienna
Unix Support
Email: Helmut.Leininger@bull.net