Consultor Eletrônico



Kbase P172208: Getting error message "logname: no login name" when running the OS-COMMAND
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   9/21/2010
Status: Unverified

SYMPTOM(s):

Getting error message "logname: no login name" when running the OS-COMMAND

Message "logname: no login name" appears when executing OS-COMMAND

FACT(s) (Environment):

Same error message does not appear when executing same command from interactive shell
Unix profile uses the C shell (CSH) as its default shell
UNIX
Progress 9.x
OpenEdge 10.x

CAUSE:

The problem is within the shell profile being used. OpenEdge invokes the /bin/csh shell when it encounters UNIX or OS-COMMAND statement. The user's c shell profile contains call to logname causing the reported message to appear.

FIX:

Check the c shell .profile file of the user account that started the OpenEdge session and remove or comment out call to 'logname' command.