FAILED ⛔: lfd
Posted: 26 Jul 2017, 09:03
Hello, since a few months back I've been having problems with the lfd service, I tried fixing it myself but was unable to find the error, I resorted to stopping the monitoring of this service since it would spam emails every 5 minutes alerting me that it was down.
But every time cfs updates the monitoring updates and re-enebales lfd monitoring, so 100s or 1000s of emails again.
I wish to ether find a way to permanently disable the monitoring or to fix the problem.
This is what i know, when i check the status of the service i get this:
● lfd.service - ConfigServer Firewall & Security - lfd
Loaded: loaded (/usr/lib/systemd/system/lfd.service; disabled; vendor preset: disabled)
Active: failed (Result: signal) since Wed 2017-07-26 09:51:43 CEST; 1s ago
Process: 22777 ExecStart=/usr/sbin/lfd (code=exited, status=0/SUCCESS)
Main PID: 22785 (code=killed, signal=KILL)
Jul 26 09:51:38 mydomain.tld systemd[1]: Starting ConfigServer Firewall & Security - lfd...
Jul 26 09:51:38 mydomain.tld systemd[1]: Started ConfigServer Firewall & Security - lfd.
Jul 26 09:51:43 mydomain.tld systemd[1]: lfd.service: main process exited, code=killed, status=9/KILL
Jul 26 09:51:43 mydomain.tld systemd[1]: Unit lfd.service entered failed state.
Jul 26 09:51:43 mydomain.tld systemd[1]: lfd.service failed.
And from the log:
Jul 26 09:51:38 gokalex lfd[22785]: Watching /var/log/messages...
Jul 26 09:51:38 gokalex lfd[22800]: *User Processing* PID:13516 Kill:0 User:mysql Time:14703644 EXE:/usr/bin/bash CMD:/bin/sh /usr/bin/mysqld_safe
Jul 26 09:51:38 gokalex lfd[22800]: Unable to send SMTP alert via [uranus.farmch.artera.net]: No route to host at /usr/sbin/lfd line 3973.
Jul 26 09:51:38 gokalex lfd[22800]: daemon stopped
Jul 26 09:51:43 gokalex lfd[22785]: *Error* pid mismatch or missing, at line 942
Jul 26 09:51:43 gokalex lfd[22785]: daemon stopped
But every time cfs updates the monitoring updates and re-enebales lfd monitoring, so 100s or 1000s of emails again.
I wish to ether find a way to permanently disable the monitoring or to fix the problem.
This is what i know, when i check the status of the service i get this:
● lfd.service - ConfigServer Firewall & Security - lfd
Loaded: loaded (/usr/lib/systemd/system/lfd.service; disabled; vendor preset: disabled)
Active: failed (Result: signal) since Wed 2017-07-26 09:51:43 CEST; 1s ago
Process: 22777 ExecStart=/usr/sbin/lfd (code=exited, status=0/SUCCESS)
Main PID: 22785 (code=killed, signal=KILL)
Jul 26 09:51:38 mydomain.tld systemd[1]: Starting ConfigServer Firewall & Security - lfd...
Jul 26 09:51:38 mydomain.tld systemd[1]: Started ConfigServer Firewall & Security - lfd.
Jul 26 09:51:43 mydomain.tld systemd[1]: lfd.service: main process exited, code=killed, status=9/KILL
Jul 26 09:51:43 mydomain.tld systemd[1]: Unit lfd.service entered failed state.
Jul 26 09:51:43 mydomain.tld systemd[1]: lfd.service failed.
And from the log:
Jul 26 09:51:38 gokalex lfd[22785]: Watching /var/log/messages...
Jul 26 09:51:38 gokalex lfd[22800]: *User Processing* PID:13516 Kill:0 User:mysql Time:14703644 EXE:/usr/bin/bash CMD:/bin/sh /usr/bin/mysqld_safe
Jul 26 09:51:38 gokalex lfd[22800]: Unable to send SMTP alert via [uranus.farmch.artera.net]: No route to host at /usr/sbin/lfd line 3973.
Jul 26 09:51:38 gokalex lfd[22800]: daemon stopped
Jul 26 09:51:43 gokalex lfd[22785]: *Error* pid mismatch or missing, at line 942
Jul 26 09:51:43 gokalex lfd[22785]: daemon stopped