Consultor Eletrônico



Kbase P131265: Cannot start databases using dbman command - permissions/owner/group issue with _* executables
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/7/2008
Status: Unverified

FACT(s) (Environment):

Linux Intel
OpenEdge 10.1x

SYMPTOM(s):

Cannot start databases using dbman command

ERROR: Unable to locate database (DBMan005)

The AdminServer is running.

dbman -db dbname -config $DLC/properties/conmgr.properties -start fails

$DLC/properties/conmgr.properties had the wrong permissions.

Can start the databases from command line using proserve command.

Can ping the hostname.

Can telnet to the hostname.

Permissions on the $DLC/bin/_* executables were wrong.

Owner for $DLC/bin/_* executables are bin instead of root.

Group for $DLC/bin/_* executables are bin instead of root.

dbconfig successfully validated the conmgr.properties

CAUSE:

The permissions and owner/group for the $DLC/bin/_* executables are wrong.

FIX:

1. Login as root and change directory to $DLC/bin directory (cd $DLC/bin).

2. Change the permissions for $DLC/bin/_* executables to include the setuid bit except for _sqlsrv2 and _waitfor.

chmod 4755 _*
chmod 755 _sqlsrv2
chmod 755 _waitfor

3. Change the owner for the $DLC/bin/_* executables to be owned by root.

chown root _*

4. Change the group for the $DLC/bin/_* executables to have a group of root.

chgrp root _*

5. Restart the AdminServer.