Consultor Eletrônico



Kbase 33479: Getting error (598) after copying database with OS utilities
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/10/1998
Solution ID: P3479

FACT(s) (Environment):

Progress 9.x

SYMPTOM(s):

When trying to start a copy of a database, getting error 598.

<file-name> is a copy of <file-name>. Database cannot be opened. (598)

Database copied with OS utilities.

CAUSE:

Sometimes for backups and for testing, it can be quicker to make a copy of the database with system utilities, and then use probkup on that copy. This method reduces downtime. However, if the database has an absolute pathname, then the 598 can occur. The .st file has to be updated first of all to reflect the new location for this copy of the database.

The following test illustrates the Cause:

1. procopy $DLC/sports2000 sports91c

Because procopy was used, sports91c is an absolute path db.

2. prostrct list sports91c
3. mkdir copy
4. cp sports91c*.* copy
5. cd copy
6. pro sports91c returns:

   <file-name> is a copy of <file-name>. Database cannot be opened. (598)

FIX:

1. Edit the .st in the copy directory to reflect the new location of the database extents. Please pay highest attention that ALL the lines in the structure file are changed.
2. prostrct repair sports91c

The database can now be accessed without problems.

Note: The database must be shut down before any backups are made using OS utilities. probkup online is the only supported online backup.