Difference between revisions of "Unable to initialize server environment"
Jump to navigation
Jump to search
m (Formatting) |
(Added solution to arsdb: ARS4012E Unable to initialize environment. The return code is 158) |
||
| Line 33: | Line 33: | ||
* Did you run <code> db2ln </code> as root to create the links to the DB2 libraries in the <code>/usr/lib</code> and <code>/lib</code> directories? | * Did you run <code> db2ln </code> as root to create the links to the DB2 libraries in the <code>/usr/lib</code> and <code>/lib</code> 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: | |||
<code> | |||
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 | |||
</code> | |||
In some versions of CMOD v9.5, the installer uses the old paths (/opt/ibm/ondemand/V9.0) instead of the correct path. | |||
Revision as of 12:03, 21 August 2016
What was the error?
Message Number: N/A
Message Severity: Error (Corrective action is required to continue)
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.