Difference between revisions of "Unable to create ARCHIVE database"

From CMOD.wiki
Jump to navigation Jump to search
(Added CMOD sub-title.)
(Added Links to DB2 Messages and Codes References for V9.5 & v10.x)
Line 38: Line 38:


   /home/archive/sqllib/db2dump/db2diag.log
   /home/archive/sqllib/db2dump/db2diag.log
Try searching for the SQL return code in the Messages & Codes References.
IBM DB2 v9.5 Messages & Codes Reference [http://public.dhe.ibm.com/ps/products/db2/info/vr95/pdf/en_US/db2m1e950.pdf Volume 1] [http://public.dhe.ibm.com/ps/products/db2/info/vr95/pdf/en_US/db2m2e950.pdf Volume 2]
IBM DB2 v10.1 Messages & Codes Reference [http://public.dhe.ibm.com/ps/products/db2/info/vr101/pdf/en_US/DB2MessageRefVol1-db2m1e1010.pdf Volume 1] [http://public.dhe.ibm.com/ps/products/db2/info/vr101/pdf/en_US/DB2MessageRefVol2-db2m2e1010.pdf Volume 2]
IBM DB2 v10.5 Messages & Codes Reference [http://public.dhe.ibm.com/ps/products/db2/info/vr105/pdf/en_US/DB2MessageRefVol1-db2m1e1050.pdf Volume 1] [http://public.dhe.ibm.com/ps/products/db2/info/vr105/pdf/en_US/DB2MessageRefVol2-db2m2e1050.pdf Volume 2]
Try searching in the format SQL#### - where #### is the zero-padded return code, like "SQL0326".

Revision as of 19:16, 13 April 2016

What was the error?

Message Number: 4067

Message Severity: Error (Corrective action is required to continue)

Message Name: ARS4067E

Message Text: Unable to create the archive database. err=<sqlcode>

Related errors

arsdb: ARS4019E Unable to create the DB2 ARCHIVE database

What were you doing?

Probably trying to create the database while installing Content Manager OnDemand.

Example

ARS4067E Unable to create the archive database.  err=<sqlcode>

Troubleshooting

This is a frustratingly generic and non-descript error message generated when the arsdb -cv command can't create the database. There's no single thing to check for, except reviewing all your configuration steps for the correct information.

Here are some of the most basic things to review...

CMOD Configuration Diagnostics

  • Check that you have permission to read the configuration files in the 'config' directory.
  • Check for typographical errors in the ars.ini and ars.cfg files.
  • Check to ensure the directories referred to in ars.cfg exist, and that you (or the database owner) have read, write, and execute permissions.
  • In installations where the database owner and CMOD Admin account are different, ensure that the SRVR_INSTANCE_OWNER in ars.ini and DB2INSTANCE parameter in ars.cfg is equal to each other, and are the user id of the database owner account.

DB2 Diagnostics

If the above hints for configuring CMOD don't help, consider checking the db2diag.log file. You can find db2diag.log inside your instance directory, inside the db2dump subdirectory. On a standard install, it should be located here:

 /home/archive/sqllib/db2dump/db2diag.log

Try searching for the SQL return code in the Messages & Codes References.

IBM DB2 v9.5 Messages & Codes Reference Volume 1 Volume 2

IBM DB2 v10.1 Messages & Codes Reference Volume 1 Volume 2

IBM DB2 v10.5 Messages & Codes Reference Volume 1 Volume 2

Try searching in the format SQL#### - where #### is the zero-padded return code, like "SQL0326".