ltd not starting

Post Reply
jay-oswald
Junior Member
Posts: 1
Joined: 02 Aug 2018, 23:57

ltd not starting

Post by jay-oswald »

Hey, my lfd wont start, this is on a new server im just setting up.

The log is

Code: Select all

lfd.service - ConfigServer Firewall & Security - lfd
   Loaded: loaded (/usr/lib/systemd/system/lfd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Fri 2018-08-03 08:54:33 AEST; 9s ago
  Process: 11216 ExecStart=/usr/sbin/lfd (code=exited, status=25)

Aug 03 08:54:33 cp1.chromatics.com.au systemd[1]: Starting ConfigServer Firewall & Security - lfd...
Aug 03 08:54:33 cp1.chromatics.com.au lfd[11216]: Can't use an undefined value as a symbol reference at /usr/sbin/lfd line 7186.
Aug 03 08:54:33 cp1.chromatics.com.au systemd[1]: lfd.service: control process exited, code=exited status=25
Aug 03 08:54:33 cp1.chromatics.com.au systemd[1]: Failed to start ConfigServer Firewall & Security - lfd.
Aug 03 08:54:33 cp1.chromatics.com.au systemd[1]: Unit lfd.service entered failed state.
Aug 03 08:54:33 cp1.chromatics.com.au systemd[1]: lfd.service failed.
Line 7186 of the file is

Code: Select all

close($PIDFILE);
it seams to be a file that gets created, used then deleated, as the next line is

Code: Select all

unlink $pidfile;
it is defined on line 62 by

Code: Select all

$pidfile = "/var/run/lfd.pid";
Denis
Junior Member
Posts: 1
Joined: 08 Aug 2018, 00:09

Re: ltd not starting

Post by Denis »

1) you need to change
from
TESTING = "1"
to
TESTING = "0"

inside
/etc/csf/csf.conf

2) service csf restart
3) service lfd restart
Post Reply