Consultor Eletrônico



Kbase P37170: All databases went down after socket:connect() executed on A
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   8/14/2003
Status: Unverified

FACT(s) (Environment):

Progress 9.1D

FACT(s) (Environment):

SUN Solaris Sparc

SYMPTOM(s):

All databases went down after socket:connect() executed on AppServer.

WDOG 6: /db/masterp11/masterp11.lk: HOSTNAME is cartman, expected -f . (4192)

WDOG 6: /db/masterp11/masterp11.lk is not a valid .lk file for this
server. (4196)

smtpmail utility from FFW (free framework) is being used

CAUSE:

BUG in FFW procedure gethostname.p:

INPUT {&SC} THROUGH VALUE("hostname -f").

The "hostname -f" does not work on Solaris, so in this case the hostname has been changed to "-f" and this change caused all databases went down.

FIX:

Use "uname -n" instead of "hostname -f".