I am getting the following error when I run a db2 clp command.
$ db2 list applications
SQL6031N Error in the db2nodes.cfg file at line number "0". Reason
code
"11".
$ db2level
DB21085I Instance "db2inst7" uses DB2 code release "SQL07029" with
level
identifier "030A0105" and informational tokens "DB2 v7.1.0.111",
"s050516" and
"U803327".
I believe the /etc/services file was overwritten with a file that did
not have the entries for the db2 instance. I have added the
appropriate entries but I am still unable to run a clp command.
db2stop also errors out with the same message.
I am able to connect to db2 from a remote server but I cannot connect
from the database server.
Any suggestions on how to work through this?
Rick