Kbase P12162: Windows Event Viewer displays "Cannot find or open file DBname, errno=32. (43)"
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  16/10/2008 |
|
Status: Verified
FACT(s) (Environment):
Progress 9.1B
Windows NT 4.0
SYMPTOM(s):
Can't start database in multi-user mode after performing backup
Cannot find or open file <file-name>, errno = <number>. (43)
Windows Event Viewer displays "Cannot find or open file <dbname> name, errno=32. (43)"
The Windows error "32" reads as follows from the Microsoft "C" compiler's errno.h file:
L ERROR_SHARING_VIOLATION
The process cannot access the file because it is being used by another process.
CAUSE:
A database shutdown script may not provide enough time to allow the database files to close prior to a database startup attempt.
FIX:
Within a database startup script, use the "SLEEP" command from the Windows NT Resource Kit to pause the database startup after the completion of the database backup.