Difference between revisions of "Unable to determine the database engine"

From CMOD.wiki
Jump to navigation Jump to search
m (Updated error severity text)
(Fixed formatting and added more troubleshooting information for ARS0013E.)
Line 15: Line 15:
== Example ==
== Example ==


<code>
  $ arsdb -u -I PROD
$ arsdb -u -I PROD
  arsdb:  ARS4013E Unable to determine the database engine
arsdb:  ARS4013E Unable to determine the database engine
</code>


== Troubleshooting ==
== Troubleshooting ==
Line 24: Line 22:
It's not very clear which of the parameters in the ars.ini file are to be used for what purpose.
It's not very clear which of the parameters in the ars.ini file are to be used for what purpose.


<code>
  [@SRV@_ARCHIVE]              <=- CMOD Instance Name to be used with arsdb, arsmaint and arssockd.
  HOST=                         <=- should be set to the server's fully-qualified domain name (prod.cmod.example.com)
[@SRV@_ARCHIVE]              <=- CMOD Instance Name to be used with arsdb, arsmaint and arssockd.
  PROTOCOL=2                   <=- In all modern instances of CMOD, the current version number is 2.
HOST=
  PORT=0                       <=- If set to 0, IBM CMOD port number is set to 1445.
PROTOCOL=2
  SRVR_INSTANCE=ARCHIVE        <=- The name of the DB2/Oracle database that CMOD stores index data in.
PORT=0
  SRVR_INSTANCE_OWNER=odadmin  <=- The User name of the UNIX account that runs arssockd & owns database tables.
SRVR_INSTANCE=ARCHIVE        <=- The name of the DB2/Oracle database that CMOD stores index data in.
SRVR_INSTANCE_OWNER=odadmin  <=- The User name of the UNIX account that runs arssockd & owns database tables.
</code>

Revision as of 15:05, 17 November 2017

What was the error?

Message Number: 4013

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

Message Name: ARS4013E

What were you doing?

Probably trying to run arsdb or arssockd with the -I parameter.

Example

 $ arsdb -u -I PROD
 arsdb:  ARS4013E Unable to determine the database engine

Troubleshooting

It's not very clear which of the parameters in the ars.ini file are to be used for what purpose.

 [@SRV@_ARCHIVE]               <=- CMOD Instance Name to be used with arsdb, arsmaint and arssockd.
 HOST=                         <=- should be set to the server's fully-qualified domain name (prod.cmod.example.com)
 PROTOCOL=2                    <=- In all modern instances of CMOD, the current version number is 2.
 PORT=0                        <=- If set to 0, IBM CMOD port number is set to 1445.
 SRVR_INSTANCE=ARCHIVE         <=- The name of the DB2/Oracle database that CMOD stores index data in.
 SRVR_INSTANCE_OWNER=odadmin   <=- The User name of the UNIX account that runs arssockd & owns database tables.