Consultor Eletrônico



Kbase P36090: Error 541 when trying to shut ProControl database down with _mprshut
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/06/2009
Status: Verified

SYMPTOM(s):

Error 541 when trying to shut ProControl database down with _mprshut

Invalid shutdown request from <user-id> on <tty>. (541)

Invalid shutdown request from <user-id> on CON. (541)

Attempting to shut down the database with script using _mprshut

FACT(s) (Environment):

Windows
Progress 9.x
Progress 8.x
OpenEdge Category: Database
Database configured in ProControl
ProControl started with pccmd in batch script
ProControl logon as Local System Account
Database started with pccmd in batch script
Same user running startup and shutdown scripts

CAUSE:

Error 541 means that the user who is attempting to shutdown a database did not start it. In this case, it is because the shared memory that was created by the pccmd process, locks the shared memory as the Local System Account. When trying to issue the _mprshut command, this is as the user logged onto that session.

FIX:

Shut the database and ProControl down with pccmd which uses the Local System Account:

%DLC%\BIN\pccmd Databases Stop dbname
%DLC%\BIN\pccmd ProService Stop

Consider adding a local user account with the same name and password as the domain login account. Then add the new user to the local administrator's group. This will allow the user to stop any database started by ProService.