Tuesday, September 25, 2007

Initializing the DB and Editing 'onconfig.std'

This morning I'm going to get the database engine initialized, and make the necessary changes to onconfig.std. My goal is to document all these changes so that in the future I don't have to do it onesy-twosy.

To initialize the engine:
# oninit -i

The first error message is: INFORMIXSERVER does not match DBSERVERNAME or any of the DBSERVERALIASES. Apparently, I have neither a $INFORMIXSERVER set as a global variable nor a DBSERVERNAME set in the onconfig.std.

Set the environment variable
# INFORMIXSERVER=rootdb
# export INFORMIXSERVER
# echo $INFORMIXSERVER
rootdb

Edit the onconfig.std
DBSERVERNAME rootdb # Name of default database server

No comments: