Question & Answer
Question
Why does DB2 not autostart on Red Hat Enterprise Linux 7 ?
Cause
In Red Hat Enterprise Linux 7, systemd replaces upstart as the default init system. The DB2 fault monitor does not support the systemd init system.
Answer
The issue has been resolved starting in DB2 V11.1 Mod1 Fix Pack 1.
If the fix is not available on the DB2 level being run, then the following work-around can be applied:
1) Create file '/etc/systemd/system/db2fmcd.service' with following content:
[Unit] Description=DB2V105 [Service] ExecStart=/opt/ibm/db2/V10.5/bin/db2fmcd Restart=always KillMode=process KillSignal=SIGHUP [Install] WantedBy=default.target |
2) Execute the following commands as root:
systemctl enable db2fmcd systemctl start db2fmcd |
[{"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"DB2 Tools - Troubleshooting","Platform":[{"code":"PF016","label":"Linux"}],"Version":"10.5;11.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21964393