Kbase P157329: Unable to start a broker for any database after installing 10.2A on Linux.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  18/12/2009 |
|
Status: Unverified
SYMPTOM(s):
Unable to start a broker for any database after installing 10.2A on Linux.
Attempting to start a broker on a database by issuing the command: proserve <dbname> fails.
A <dbname>.lk file is created, but no <dbname>.lg database log file.
FACT(s) (Environment):
Red Hat Linux 6.2
OpenEdge 10.2A
Starting any database in single user mode by issuing the command: pro <dbname> works.
Starting a database in single user mode creates both a database lock (.lk) and log (.lg) file.
Issuing the command: hostname at an operating system prompt returns a host name that has more than 40 characters.
CAUSE:
Bug# OE00156053
CAUSE:
Hostname is set to greater than 28 characters. The hostname on Linux is limited to 255 bytes. The gethostname function returns the correct hostname value, however the return code from the function is set to -1 which is interpreted as a function failure. The -1 return code results in Progress setting the hostname in the .lk file to nulls rather than the value returned by the gethostname function.
FIX:
A workaround for this issue is to set the hostname to be less than or equal to 28 characters.
To determine the length of your hostname issue the following command:
hostname | wc -c (the wc -c is the wc command which can be used to count lines, characters etc.)
To change the hostname, login as root and then issue the following command:
hostname <newhostname>