Consultor Eletrônico



Kbase 20410: Force Shutdown Process MUST Run as Root. euid: <euid> (4473)
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   03/06/2008
Status: Verified

FACT(s) (Environment):

UNIX

SYMPTOM(s):

Error when trying to use the emergency option when shutting down a Progress database

Force shutdown process MUST run as root. euid: <euid> (4473)

CAUSE:

Certain files are overwritten when a patch is applied but the permissions are not set at this time.

FIX:

When you install Progress you must be as root. During installation, certain files are set with Set User-ID. This feature allows you to permit access to restricted files.

For example, a user may not have permission to access any of the database's data files, however they have permission to execute the _progres command. When this user executes the command, the effective user ID is temporarily changed so the program can access the data files owned by that user. If, for some reason, the permissions are not set correctly then you can encounter the error.

You must set the permissions of the files after the patch is applied.

After application of a patch the _progres file may look like the following:

   -rwxrwxr-x   1 rdl     system   5666815 Sep 11 11:54  
   _progres

This must be changed using the UNIX commands chmod and chown. For example, as the root user:

   #chmod 4775 _progres
   #chown root _progres

The permissions should now look like:

  -rwsrwxr-x   1 root     system   5666815 Sep 11 11:54 _progres