Kbase 19971: Prodb fails with error The file dbname.lk exists.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  4/18/2008 |
|
Status: Verified
FACT(s) (Environment):
Linux Intel
SYMPTOM(s):
prodb fails with error The file dbname.lk exists.
The file DBname exists. This indicates one of: (528)
The database is in use by another user. (529)
The last session terminated abnormally. (530)
If you are CERTAIN the database is not in use by any user or server, (531)
simply erase DBname.lk and try again. (532)
Create a new database using the prodb fails
Create a new database using the procopy fails
prostrct repair of database on Linux fails with error (6928)
Unable to create lock file. (6928)
Database fails to start on Linux with error (8619)
This process terminated with exit code <number>. (8619)
This process terminated with exit code 2. (8619)
Database lg file is not created.
Database lk file still exists after the failure.
CAUSE:
The full hostname greater than 28 characters. Progress uses a C function called 'gethostname' to determine a UNIX machine's hostname. If the hostname is longer than 28 characters Linux returns a null string to Progress, as opposed to a truncated name.
FIX:
The full hostname must be less or equal to 28 characters on Linux.
To determine the length of your hostname, run the 'hostname' command at the UNIX shell prompt.
To change the name of your Linux hostname, type 'hostname <newhostname>' (where <newhostname> is 27 characters or less). This operation will require ROOT permission.