Kbase P73327: Dbrpr error when run from a directory other than where the database resides
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  15/10/2008 |
|
Status: Verified
FACT(s) (Environment):
Progress 9.1D
SYMPTOM(s):
Receive error running dbrpr (Database Repair Utility).
Proutil db-name -C dbrpr
Running the dbrpr utility from a directory other than where the database resides.
Structure file has relative path names such as ./dbname.d1
**ERROR: reading of empty, fd = 6, errno 0 ,ret = -30005
block-offset 4385156096, buffer-size 1024
** ERROR: Area with number 6 doesn't exist
Error Invalid file size for Extent <path\extent-name> of Area <area-name>
CAUSE:
The problem is that dbrpr looks at a relative pathname as being relative to the directory that dbrpr is being run in. For example, if dbrpr is run against a relative path database from the working directory, the extent path name will be seen as relative to the current working directory, not that of the database, and will give the errors.
FIX:
This is a known issue with dbrpr. To work around the issue, run dbrpr from the directory where the database resides.