Log calls to systemd on openSUSE 12.1

Posted by DavisNT on Server Fault See other posts from Server Fault or by DavisNT
Published on 2012-07-09T12:39:37Z Indexed on 2012/09/22 15:39 UTC
Read the original article Hit count: 369

Filed under:
|
|

On one server running openSUSE 12.1 (upgraded from 11.x) time to time OpenLDAP service stops. According to logs something/someone stops it using systemd API (the API that systemctl command uses), but probably without calling any command line (for OpenLDAP systemd calls /etc/init.d/ldap, we have added ps fax >> /var/log/stopped_ldap to it, we see that the script gets called, but don't see it's caller nor anything calling systemctl).

How to enable logging of systemd calls and callers to pinpoint what exactly is stopping OpenLDAP.

© Server Fault or respective owner

Related posts about opensuse

Related posts about debugging