Difference between revisions of "Unable to initialize server environment"
Jump to navigation
Jump to search
(Added solution to arsdb: ARS4012E Unable to initialize environment. The return code is 158) |
m (Added error number ARS4012E to the description of the error.) |
||
| Line 2: | Line 2: | ||
== What was the error? == | == What was the error? == | ||
Message Number: | Message Number: 12 | ||
Message Severity: Error (Corrective action is required to continue) | Message Severity: Error (Corrective action is required to continue) | ||
Message Name: ARS4012E | |||
Message Text: | Message Text: | ||
Revision as of 12:05, 21 August 2016
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
db2lnas root to create the links to the DB2 libraries in the/usr/liband/libdirectories?
- 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.