Unable to initialize server environment

From CMOD.wiki
Revision as of 12:05, 21 August 2016 by Jderrick (talk | contribs) (Added error number ARS4012E to the description of the error.)
Jump to navigation Jump to search

What was the error?

Message Number: 12

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

Message Name: ARS4012E

Message Text:

Unable to initialize server environment. rc=1

What were you doing?

Probably trying to start OnDemand with the arssockd command.

What happened?

The OnDemand daemon, arssockd was NOT started, probably because the database wasn't available.

Troubleshooting

  • Is the database engine up and running?

db2 start database manager

  • Is the database activated?

db2 activate database archive

  • Did you run db2ln as root to create the links to the DB2 libraries in the /usr/lib and /lib directories?
  • If the return code is 158:
arsdb:   ARS4012E Unable to initialize environment. The return code is 158

Check your ars.ini file to ensure the paths to your configuration file is correct:

SRVR_OD_CFG=/opt/ibm/ondemand/V9.5/config/ars.cfg
SRVR_DB_CFG=/opt/ibm/ondemand/V9.5/config/ars.dbfs
SRVR_SM_CFG=/opt/ibm/ondemand/V9.5/config/ars.cache

In some versions of CMOD v9.5, the installer uses the old paths (/opt/ibm/ondemand/V9.0) instead of the correct path.