IBM Support

IT17462: RHEL 7: THE DB2 FAULT MONITOR FEATURE DOES NOT SUPPORT THE SYSTEMD INIT SYSTEM

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as new function.

Error description

  • 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. During execution of db2fmcu, instead of
    expected systemd configuration, db2fmcu creates an entry in the
    deprecated /etc/inittab file.
    
    You can observe symptoms in OS strace. Once you execute:
    
    ./db2fmcu -u -p /opt/ibm/db2/V11.1/bin/db2fmcd
    
    In the trace snippet you can see:
    
    readlink("/etc/inittab", 0x7ffff54f82e0, 4094) = -1 EINVAL
    (Invalid argument)
    access("/etc/.inittab.lock", F_OK) = 0
    open("/etc/.inittab.lock", O_WRONLY|O_CREAT, 0644) = 3
    fcntl(3, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0,
    len=0}) = 0
    readlink("/etc/inittab", 0x7ffff54f8190, 4094) = -1 EINVAL
    (Invalid argument)
    access("/etc/inittab", F_OK) = 0
    ...
    
    The goal of this APAR is to introduce support for systemd by the
    DB2 fault monitor.
    

Local fix

  • Create file: /etc/systemd/system/db2fmcd.service with following
    content:
    
    [Unit]
    Description=DB2V111
    
    [Service]
    ExecStart=/opt/ibm/db2/V11.1/bin/db2fmcd
    Restart=always
    KillMode=process
    KillSignal=SIGHUP
    
    [Install]
    WantedBy=default.target
    
    
    Next execute:
    
    systemctl enable db2fmcd
    systemctl start db2fmcd
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Db2 RHEL 7 users                                             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Db2 V11.1 Mod 1 Fix Pack 1                        *
    ****************************************************************
    

Problem conclusion

  • Fixed in Db2 V11.1 Mod 1 Fix Pack 1
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT17462

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-10-12

  • Closed date

    2017-10-09

  • Last modified date

    2019-10-28

  • APAR is sysrouted FROM one or more of the following:

    IT06863

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
29 June 2020