Re: secleanup not working
Posted in 2006
Topics: Installation, Setup & Upgrades, Stored Procedures & SPL, Connectivity: ESQL/C, 4GL & Embedded SQL, Server Administration, Security, Permissions & Auditing, Migration, Import/Export & Data Conversion, Platform-Specific Issues
It's all owned by root.
Would installing UC3 version on top of current resolve the issue?
dbuser@arcdev1:/usr/informix/bin$ ls -l
total 10764
-rwxr-xr-x 2 root root 373743 Jul 9 2002 bcheck
-rwxr-xr-x 1 root root 351035 Mar 6 2001 changrp
-rwxr-xr-x 1 root root 4061 Nov 23 2001 check_version
-rwxr-xr-x 1 root root 691187 Nov 23 2001 chkenv
-rwxr-xr-x 1 root root 693258 Nov 23 2001 crtcmap
-rwxr-xr-x 1 root root 951473 Jul 9 2002 dbaccess
-rwxr-xr-x 1 root root 4802 Mar 6 2001 dbaccessdemo7
-rwxr-xr-x 1 root root 741681 Jul 9 2002 dbexport
-rwxr-xr-x 1 root root 654311 Jul 9 2002 dbimport
-rwxr-xr-x 1 root root 661807 Jul 9 2002 dbload
-rwxr-xr-x 2 root root 440576 Jul 9 2002 dblog
-rwxr-xr-x 1 root root 737672 Jul 9 2002 dbschema
-rwxr-xr-x 1 root root 14848 Nov 23 2001 esql
-rwxr-xr-x 1 root root 1067 Nov 23 2001 esqldemo
-rwxr-xr-x 1 root root 6011 Nov 23 2001 finderr
-rwxr-xr-x 1 root root 9946 Nov 23 2001 glfiles
-rwxr-xr-x 1 root root 3958 Nov 23 2001 ifx_getversion
-rwxr-xr-x 1 root root 690614 Nov 23 2001 infxmsg
-rwxr-xr-x 1 root root 2124 Nov 23 2001 infxserver
-rwxr-xr-x 1 root root 351466 Mar 6 2001 mkdbsdir
-rwxr-xr-x 1 root root 689860 Nov 23 2001 msgfile
-rwxr-xr-x 1 root root 5350 Nov 23 2001 rofferr
-rwxr-xr-x 2 root root 373743 Jul 9 2002 secheck
-rwxr-xr-x 1 root root 472930 Jun 27 09:44 secleanup
-rwxr-xr-x 2 root root 440576 Jul 9 2002 selog
-rwxr-xr-x 1 root root 351398 Mar 6 2001 sgidsh
-rwxr-xr-x 1 root root 1171925 Nov 26 2001 sqliprint
Art S. Kagel wrote:
> junkmail2345@gmail.com wrote:
>
> What are the owner, group, and permissions on the new secleanup? Are they
> identical to those for the original one?
>
> Art S. Kagel
>
> > i'm running informix-se on linux UC1.
> > secleanup version stated UC3 because i downlaoded/extracted it
> > from iiug.org which had the lastest version.
> > i did run it as root. (that's why the username isn't displayed).
> > i copied secleanup to /usr/informix/bin and got the same error.
> > here's the output again. everything works but secleanup.
> > thx,
> >
> > dbuser@arcdev1:/usr/informix/bin$ uname -a
> > Linux arcdev1 2.4.24 #3 Wed Mar 10 10:22:13 EST 2004 i686 unknown
> >
> > dbuser@arcdev1:/usr/informix/bin$ dbaccess -v
> > DB-Access Version 7.25.UC1
> > Software Serial Number ACN#J334914
> >
> > dbuser@arcdev1:/usr/informix/bin$ su
> > Password:
> >
> > arcdev1:/usr/informix/bin# id
> > uid=0(root) gid=0(root) groups=0(root)
> >
> > arcdev1:/usr/informix/bin# ./secleanup
> > SECLEANUP: Engine Process Cleanup and Synchronisation Utility
> > INFORMIX-SQL Version 7.25.UC3
> > Copyright (C) 1981-1997 Informix Software, Inc.
> > Software Serial Number RDS#N000000
> >
> > PID USER TIME CONNECTED
> > --- ---- --------------
> > There was an error in opening the process database.
> > This utility must be run by the super user.
> > Verify that the INFORMIXDIR is set correctly.
> >
> >
junkmail2345@gmail.com wrote:
> It's all owned by root.
> Would installing UC3 version on top of current resolve the issue?
>
> dbuser@arcdev1:/usr/informix/bin$ ls -l
> total 10764
> -rwxr-xr-x 2 root root 373743 Jul 9 2002 bcheck
> -rwxr-xr-x 1 root root 351035 Mar 6 2001 changrp
> -rwxr-xr-x 1 root root 4061 Nov 23 2001 check_version
> -rwxr-xr-x 1 root root 691187 Nov 23 2001 chkenv
> -rwxr-xr-x 1 root root 693258 Nov 23 2001 crtcmap
> -rwxr-xr-x 1 root root 951473 Jul 9 2002 dbaccess
> -rwxr-xr-x 1 root root 4802 Mar 6 2001 dbaccessdemo7
> -rwxr-xr-x 1 root root 741681 Jul 9 2002 dbexport
> -rwxr-xr-x 1 root root 654311 Jul 9 2002 dbimport
> -rwxr-xr-x 1 root root 661807 Jul 9 2002 dbload
> -rwxr-xr-x 2 root root 440576 Jul 9 2002 dblog
> -rwxr-xr-x 1 root root 737672 Jul 9 2002 dbschema
> -rwxr-xr-x 1 root root 14848 Nov 23 2001 esql
> -rwxr-xr-x 1 root root 1067 Nov 23 2001 esqldemo
> -rwxr-xr-x 1 root root 6011 Nov 23 2001 finderr
> -rwxr-xr-x 1 root root 9946 Nov 23 2001 glfiles
> -rwxr-xr-x 1 root root 3958 Nov 23 2001 ifx_getversion
> -rwxr-xr-x 1 root root 690614 Nov 23 2001 infxmsg
> -rwxr-xr-x 1 root root 2124 Nov 23 2001 infxserver
> -rwxr-xr-x 1 root root 351466 Mar 6 2001 mkdbsdir
> -rwxr-xr-x 1 root root 689860 Nov 23 2001 msgfile
> -rwxr-xr-x 1 root root 5350 Nov 23 2001 rofferr
> -rwxr-xr-x 2 root root 373743 Jul 9 2002 secheck
> -rwxr-xr-x 1 root root 472930 Jun 27 09:44 secleanup
> -rwxr-xr-x 2 root root 440576 Jul 9 2002 selog
> -rwxr-xr-x 1 root root 351398 Mar 6 2001 sgidsh
> -rwxr-xr-x 1 root root 1171925 Nov 26 2001 sqliprint
Most of the files are supposed to be owned by informix (some, like
mkdbsdir and sgidsh are supposed to be owned by root); all as supposed
to belong to group informix; and some are supposed to be SUID or SGID.
Installing a new version should fix the permissions.
Alternatively, dig out utils_jl from the IIUG Software Archive and use
ixchkperms and ixsetperms to check and set the permissions.
The correct values are stored in a file in $INFORMIXDIR/etc; I think the
name is sefiles.
> Art S. Kagel wrote:
>> junkmail2345@gmail.com wrote:
>>
>> What are the owner, group, and permissions on the new secleanup? Are they
>> identical to those for the original one?
>>
>> Art S. Kagel
>>
>>> i'm running informix-se on linux UC1.
>>> secleanup version stated UC3 because i downlaoded/extracted it
>>> from iiug.org which had the lastest version.
>>> i did run it as root. (that's why the username isn't displayed).
>>> i copied secleanup to /usr/informix/bin and got the same error.
>>> here's the output again. everything works but secleanup.
>>> thx,
>>>
>>> dbuser@arcdev1:/usr/informix/bin$ uname -a
>>> Linux arcdev1 2.4.24 #3 Wed Mar 10 10:22:13 EST 2004 i686 unknown
>>>
>>> dbuser@arcdev1:/usr/informix/bin$ dbaccess -v
>>> DB-Access Version 7.25.UC1
>>> Software Serial Number ACN#J334914
>>>
>>> dbuser@arcdev1:/usr/informix/bin$ su
>>> Password:
>>>
>>> arcdev1:/usr/informix/bin# id
>>> uid=0(root) gid=0(root) groups=0(root)
>>>
>>> arcdev1:/usr/informix/bin# ./secleanup
>>> SECLEANUP: Engine Process Cleanup and Synchronisation Utility
>>> INFORMIX-SQL Version 7.25.UC3
>>> Copyright (C) 1981-1997 Informix Software, Inc.
>>> Software Serial Number RDS#N000000
>>>
>>> PID USER TIME CONNECTED
>>> --- ---- --------------
>>> There was an error in opening the process database.
>>> This utility must be run by the super user.
>>> Verify that the INFORMIXDIR is set correctly.
>>>
>>>
>
--
Jonathan Leffler #include <disclaimer.h>
Email: jleffler@earthlink.net, jleffler@us.ibm.com
Guardian of DBD::Informix v2005.02 -- http://dbi.perl.org/