Difference between revisions of "Unable to initialize server environment"

Added solution to arsdb: ARS4012E Unable to initialize environment. The return code is 158
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.