SQL6048N A communication error occurred during START or STOP DATABASE MANAGER processing
SQL6048N A communication error occurred during START or STOP DATABASE MANAGER processing, message pops up when we try to start DB2 (v9.7). While contacting the customer, I came to know that there was a VM restart and after that DB2 was not starting at all.
Following was coming up during start command of the database,
[root@<hostname> adm]# ./db2start
02/01/2016 20:09:57 0 0 SQL6048N A communication error occurred during START or STOP DATABASE MANAGER processing.
SQL1032N No start database manager command was issued. SQLSTATE=57019
Resolution
1. Make sure that you have proper user rights to start the database.
2. Make sure that hostname is defined properly in db2nodes.cfg file.
Navigate to <db2instancename>/sqllib directory and then edit the db2nodes.cfg file with proper hostname.
[root@<hostname> adm]# cd /home/<db2instancename>/sqllib/
[root@<hostname> sqllib]# vi db2nodes.cfg
Make sure that the hostname is defined within 0 & 0. Dont delete the zeroes over there and edit the file with proper hostname. If FQDN is used as hostname, make sure that the same is used in the config file.
example: if my hostname is pi.middlewareprimer.com then your db2nodes.cfg file should have as below,
0 pi.middlewareprimer.com 0
After editing the file, it resolved the issue and I was able to start the database.
IBM Technotes for reference,
http://www-01.ibm.com/support/docview.wss?uid=swg21221940
http://www-01.ibm.com/support/docview.wss?uid=swg21443907