Kbase P69385: UNIX script doesn't return after starting database after a b
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  27/02/2004 |
|
Status: Unverified
FACT(s) (Environment):
UNIX
SYMPTOM(s):
UNIX script doesn't return after starting database after a backup.
If you have a startup script, which in turn runs another script internally to issue some other commands and then start a Progress database, it doesn't return back to the main script. e.g. It hangs after starting the Progress database.
Although, the last command to start the database did work!, it just doesn't return back to the main script.
CAUSE:
This is the explanation that HP has provided:
A pre or post-exec script may hang because it did not close all file descriptors before forking the new process. This is the case if the new process runs in the background and does not exit (for example, database server process, some daemon process, etc.
FIX:
Debug the script to determine which process has not closed the file descriptors.
In one case, it was the backup command causing the problem and HP's instructions were to use a detach command to detach the backup process.
You may need assistance from your hardware vendor to determine the correct approach to solve the problem.