<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://banzhaf.chickenkiller.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=DB2_autostart_with_systemd</id>
	<title>DB2 autostart with systemd - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://banzhaf.chickenkiller.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=DB2_autostart_with_systemd"/>
	<link rel="alternate" type="text/html" href="https://banzhaf.chickenkiller.com/mediawiki/index.php?title=DB2_autostart_with_systemd&amp;action=history"/>
	<updated>2026-07-06T16:04:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>https://banzhaf.chickenkiller.com/mediawiki/index.php?title=DB2_autostart_with_systemd&amp;diff=14101&amp;oldid=prev</id>
		<title>Joachim: Created page with &quot;= DB2 autostart with systemd =  == Problem ==  DB2 installation creates an inittab entry which controls autostart of db2 instances   fmc:2345:respawn:/opt/ibm/db2/V10.5/bin/db...&quot;</title>
		<link rel="alternate" type="text/html" href="https://banzhaf.chickenkiller.com/mediawiki/index.php?title=DB2_autostart_with_systemd&amp;diff=14101&amp;oldid=prev"/>
		<updated>2014-02-23T22:28:49Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= DB2 autostart with systemd =  == Problem ==  DB2 installation creates an inittab entry which controls autostart of db2 instances   fmc:2345:respawn:/opt/ibm/db2/V10.5/bin/db...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= DB2 autostart with systemd =&lt;br /&gt;
&lt;br /&gt;
== Problem ==&lt;br /&gt;
&lt;br /&gt;
DB2 installation creates an inittab entry which controls autostart of db2 instances&lt;br /&gt;
&lt;br /&gt;
 fmc:2345:respawn:/opt/ibm/db2/V10.5/bin/db2fmcd #DB2 Fault Monitor Coordinator&lt;br /&gt;
&lt;br /&gt;
With systemd managing the os startup instead of sysvinit, the inittab is no longer used. This means DB2 instance autostarts and automatic restarts after failures no longer work.&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
Create a systemd service file /etc/systemd/system/db2fmcd.service that does the same job as the above inittab entry&lt;br /&gt;
&lt;br /&gt;
 [Unit]&lt;br /&gt;
 Description=DB2 Fault Monitor Coordinator&lt;br /&gt;
     &lt;br /&gt;
 [Service]&lt;br /&gt;
 ExecStart=/opt/ibm/db2/V10.5/bin/db2fmcd&lt;br /&gt;
 Restart=restart-always&lt;br /&gt;
     &lt;br /&gt;
 [Install]&lt;br /&gt;
 WantedBy=multi-user.target&lt;br /&gt;
&lt;br /&gt;
Make systemd aware of the new file&lt;br /&gt;
&lt;br /&gt;
 # systemctl daemon-reload&lt;br /&gt;
&lt;br /&gt;
Start the service once&lt;br /&gt;
&lt;br /&gt;
 # systemctl start db2fmcd.service&lt;br /&gt;
&lt;br /&gt;
Enable autostart of the service at boot&lt;br /&gt;
&lt;br /&gt;
 # systemctl enable db2fmcd.service&lt;/div&gt;</summary>
		<author><name>Joachim</name></author>
	</entry>
</feed>