Difference between revisions of "Unable to initialize server environment"

From CMOD.wiki
Jump to navigation Jump to search
m (Added db2ln command to troubleshooting)
m (Formatting)
Line 11: Line 11:
Is the database engine up and running?   
Is the database engine up and running?   


    <code> db2 start database manager </code>
<code>
db2 start database manager
</code>


Is the database activated?  
Is the database activated?  


    <code>db2 activate database archive</code>
<code>
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?
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?

Revision as of 16:21, 28 April 2015

What was the error?

Unable to initialize server environment. rc=1

What were you doing?

Probably trying to start OnDemand with the arssockd command.

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?