csf v6.14 Upgrade Issues

This forum is only for reproducible bugs with csf and lfd (i.e. not iptables problems, lack of understanding how to use a feature, etc). Posts must be accompanied with full technical details of the problem and how it can be recreated. Any posts not adhering to this, or not considered bugs, will be moved to the General Discussion (csf) forum.
Post Reply
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

csf v6.14 Upgrade Issues

Post by ForumAdmin »

csf v6.14 has been released. Unfortunately, there was a short window of time where the incorrect version was uploaded to the download server. If you got the following error after the upgrade:
-bash: /usr/sbin/csf: /usr/local/cpanel/3rdparty/bin/perl: bad interpreter: No such file or directory
you can run the following to fix this issue from the root shell:

Code: Select all

find /etc/csf/ -type f -exec sed -i 's%^#\!/usr/local/cpanel/3rdparty/bin/perl%#\!/usr/bin/perl%' {} \;
csf -uf
The issue was quickly fixed and if you do not see this problem, then there's no need to perform the above.
GavCom
Junior Member
Posts: 1
Joined: 13 Jun 2013, 15:22

Re: csf v6.14 Upgrade Issues

Post by GavCom »

V6.14 My CSF keep restarting after you guys upgraded versions...

Jun 13 15:36:15 ns1 lfd[4465]: daemon started on [server] - csf v6.14 (cPanel)
Jun 13 15:36:15 ns1 lfd[4465]: CSF Tracking...
Jun 13 15:36:15 ns1 lfd[4465]: IPv6 Enabled...
Jun 13 15:36:15 ns1 lfd[4465]: LOAD Tracking...
Jun 13 15:36:15 ns1 lfd[4465]: csf Integrated UI running up on port 6666...
Jun 13 15:36:15 ns1 lfd[4465]: Country Code Filters...
Jun 13 15:36:15 ns1 lfd[4465]: CC: Repopulating CC_IGNORE with IP addresses from [ZA]
Jun 13 15:36:15 ns1 lfd[4465]: CC: Finished repopulating CC_IGNORE with IP addresses from [ZA]
Jun 13 15:36:15 ns1 lfd[4465]: Country Code Lookups...
Jun 13 15:36:15 ns1 lfd[4465]: System Integrity Tracking...
Jun 13 15:36:15 ns1 lfd[4465]: Exploit Tracking...
Jun 13 15:36:15 ns1 lfd[4465]: Directory Watching...
Jun 13 15:36:15 ns1 lfd[4465]: Email Script Tracking...
Jun 13 15:36:15 ns1 lfd[4465]: Email Queue Tracking...
Jun 13 15:36:15 ns1 lfd[4465]: Email Relay Tracking...
Jun 13 15:36:15 ns1 lfd[4465]: Temp to Perm Block Tracking...
Jun 13 15:36:15 ns1 lfd[4465]: System Statistics...
Jun 13 15:36:15 ns1 lfd[4465]: Port Scan Tracking...
Jun 13 15:36:15 ns1 lfd[4465]: Process Tracking...
Jun 13 15:36:15 ns1 lfd[4465]: Account Tracking...
Jun 13 15:36:15 ns1 lfd[4465]: SSH Tracking...
Jun 13 15:36:15 ns1 lfd[4465]: SU Tracking...
Jun 13 15:36:15 ns1 lfd[4465]: Console Tracking...
Jun 13 15:36:15 ns1 lfd[4465]: WHM Tracking...
Jun 13 15:36:15 ns1 lfd[4465]: Watching /var/log/maillog...
Jun 13 15:36:15 ns1 lfd[4465]: Watching /var/log/exim_mainlog...
Jun 13 15:36:15 ns1 lfd[4465]: Watching /var/log/messages...
Jun 13 15:36:15 ns1 lfd[4465]: Watching /var/log/secure...
Jun 13 15:36:15 ns1 lfd[4465]: Watching /usr/local/cpanel/logs/login_log...
Jun 13 15:36:15 ns1 lfd[4465]: Watching /usr/local/apache/logs/error_log...
Jun 13 15:36:15 ns1 lfd[4465]: Watching /usr/local/cpanel/logs/access_log...
Jun 13 15:38:11 ns1 lfd[4740]: Can't call method "country_code" on an undefined value at /usr/sbin/lfd line 5559.

Jun 13 15:38:11 ns1 lfd[4740]: daemon stopped
Jun 13 15:38:16 ns1 lfd[4465]: *Error* pid mismatch or missing, at line 825
Jun 13 15:38:16 ns1 lfd[4465]: daemon stopped


Help please i love this thing...
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: csf v6.14 Upgrade Issues

Post by ForumAdmin »

This has now been fixed in v6.15, thank you for reporting the problem:
http://blog.configserver.com/index.php?itemid=763
Post Reply