Difference between revisions of "Unable to initialize server environment"

From CMOD.wiki
Jump to navigation Jump to search
(Added solution to arsdb: ARS4012E Unable to initialize environment. The return code is 158)
m (Formatting changes.)
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:


== What was the error? ==
== What was the error? ==
Message Number: N/A
Message Number: 147


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


Message Text:
Message Text:


  Unable to initialize server environment. rc=1
  Unable to initialize server environment. rc=1
== Related Errors ==
[[ARS4012E|ARS4012E - Unable to initialize environment]]


== What were you doing? ==
== What were you doing? ==
Line 21: Line 26:


* Is the database engine up and running?   
* Is the database engine up and running?   
 
  db2 start database manager
<code>
db2 start database manager
</code>


* Is the database activated?  
* Is the database activated?  
  db2 activate database archive


<code>
* Did you run '''db2ln''' as root to create the links to the DB2 libraries?
db2 activate database archive
</code>
 
* 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.

Latest revision as of 12:46, 11 August 2017

What was the error?

Message Number: 147

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

Message Name: ARS0147E

Message Text:

Unable to initialize server environment. rc=1

Related Errors

ARS4012E - Unable to initialize environment

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?