After starting CentOS 7, DB2 is not booted automatically. This is what my system looks like:
[root@cent70-test03 ~]# systemctl status db2fmcd
● db2fmcd.service - DB2 v11.1.3.3
Loaded: loaded (/etc/systemd/system/db2fmcd.service; enabled; vendor preset: disabled)
Active: active (running) since 木 2018-11-29 16:38:16 JST; 22h ago
Main PID: 662 (db2fmcd)
Tasks: 1
CGroup: /system.slice/db2fmcd.service
└─662 /opt/ibm/db2/V11.1/bin/db2fmcd
Why does DB2 not start automatically?
Thanks
This dW Answers question is about an IBM document with the Title:
DB2 AutoStart is not supported on Red Hat Enterprise Linux version 7
Answer by acces_user (28) | Dec 03, 2018 at 12:27 AM
@mark.b Thanks for the reply. Yes I did enter that command, both as root and as db2inst1 user. After that, when I enter the [db2fm -s -S]I still get: "Gcf module 'fault monitor' is NOT operable Gcf module '/opt/ibm/db2/V11.1/lib64/libdb2gcf.so' is INSTALLED PROPERLY but NOT ALIVE"
I've been using these pages: https://www-01.ibm.com/support/docview.wss?uid=swg22008168 http://www-01.ibm.com/support/docview.wss?uid=swg21209001
Any idea what my problem could be? Thanks
There was a similar bug marked as resolved in 11.1.3.3 IT22237: THE DB2FMCD PROCESS DOES NOT START DB2 INSTANCES AT SYSTEM BOOT TIME If you still see such a behavior, then open a Case with IBM on this.
Mark Thanks for that link. I tried what it suggested, then rebooted and the only process running was db2fmcd, i.e. the database processes weren't started. I think I'm going to try to apply any fix packs that there are. At present my db2 is "DB2 v11.1.3.3", "s1803021700", "DYN1803021700AMD64" which looks like it's a bit behind. I've downloaded v11.1.3fp3b_linuxx64_server_t.tar.gz. Am I right in thinking that I don't need v11.1.3fp3a_linuxx64_server_t.tar.gz? Thanks
You can try 11.1.4.4 released recently.
Answer by mark.b (136) | Nov 30, 2018 at 03:36 AM
@acces_user
Have you turned on the instance autostart by the following command? /opt/ibm/db2/V11.1/bin/db2iauto -on my_db2_instance_name