CSF installation Error

CSF is not installing after upgrade to CyberPanel 1.7

Main Log File

[09-19-52-Sun-Dec-2018] No JSON object could be decoded
[03-57-40-Mon-Dec-2018] Trying to obtain SSL for: panel.rkmultispeciality.com and: www.panel.rkmultispeciality.com
[03-57-52-Mon-Dec-2018] Failed to obtain SSL for: panel.rkmultispeciality.com and: www.panel.rkmultispeciality.com
[03-57-52-Mon-Dec-2018] Trying to obtain SSL for: panel.rkmultispeciality.com
[03-57-57-Mon-Dec-2018] Successfully obtained SSL for: panel.rkmultispeciality.com
[05-20-07-Mon-Dec-2018] Command '['sudo', 'cat', '/etc/csf/csf.conf']' returned non-zero exit status 1[fetchCSFSettings]
[05-20-18-Mon-Dec-2018] [Errno 2] No such file or directory: 'csf.tgz' [CSF.run]
[05-56-06-Mon-Dec-2018] No JSON object could be decoded
[05-56-26-Mon-Dec-2018] No JSON object could be decoded
[05-56-48-Mon-Dec-2018] No JSON object could be decoded
[05-56-55-Mon-Dec-2018] No JSON object could be decoded
[06-00-17-Mon-Dec-2018] No JSON object could be decoded
[06-00-29-Mon-Dec-2018] No JSON object could be decoded
[06-24-26-Mon-Dec-2018] [u'top', u'-', u'18:24:26', u'up', u'3', u'days,', u'23:41,', u'0', u'users,', u'load', u'average:', u'0.00,', u'0.02,', u'0.00\n']
[06-24-30-Mon-Dec-2018] [u'top', u'-', u'18:24:30', u'up', u'3', u'days,', u'23:41,', u'0', u'users,', u'load', u'average:', u'0.00,', u'0.02,', u'0.00\n']
[06-24-33-Mon-Dec-2018] [u'top', u'-', u'18:24:33', u'up', u'3', u'days,', u'23:41,', u'0', u'users,', u'load', u'average:', u'0.00,', u'0.02,', u'0.00\n']
[06-24-37-Mon-Dec-2018] [u'top', u'-', u'18:24:37', u'up', u'3', u'days,', u'23:41,', u'0', u'users,', u'load', u'average:', u'0.00,', u'0.02,', u'0.00\n']
[06-24-40-Mon-Dec-2018] [u'top', u'-', u'18:24:40', u'up', u'3', u'days,', u'23:41,', u'0', u'users,', u'load', u'average:', u'0.00,', u'0.02,', u'0.00\n']
[06-24-44-Mon-Dec-2018] [u'top', u'-', u'18:24:44', u'up', u'3', u'days,', u'23:41,', u'0', u'users,', u'load', u'average:', u'0.00,', u'0.02,', u'0.00\n']
[06-24-47-Mon-Dec-2018] [u'top', u'-', u'18:24:47', u'up', u'3', u'days,', u'23:41,', u'0', u'users,', u'load', u'average:', u'0.00,', u'0.02,', u'0.00\n']
[06-24-51-Mon-Dec-2018] [u'top', u'-', u'18:24:51', u'up', u'3', u'days,', u'23:41,', u'0', u'users,', u'load', u'average:', u'0.00,', u'0.02,', u'0.00\n']
[06-24-54-Mon-Dec-2018] [u'top', u'-', u'18:24:54', u'up', u'3', u'days,', u'23:41,', u'0', u'users,', u'load', u'average:', u'0.00,', u'0.02,', u'0.00\n']
[06-24-58-Mon-Dec-2018] [u'top', u'-', u'18:24:58', u'up', u'3', u'days,', u'23:41,', u'0', u'users,', u'load', u'average:', u'0.00,', u'0.02,', u'0.00\n']
[07-00-34-Mon-Dec-2018] No JSON object could be decoded
[07-04-49-Mon-Dec-2018] No JSON object could be decoded
[07-05-33-Mon-Dec-2018] No JSON object could be decoded
[07-05-46-Mon-Dec-2018] No JSON object could be decoded
[07-10-20-Mon-Dec-2018] No JSON object could be decoded
[07-10-33-Mon-Dec-2018] No JSON object could be decoded
[07-32-31-Mon-Dec-2018] Failed to apply rule: sudo firewall-cmd --permanent --zone=public --add-rich-rule='rule family="ipv4" source address="139.59.47.175" port protocol="tcp" port="7080" accept' Error #252
[07-33-30-Mon-Dec-2018] Failed to apply rule: sudo firewall-cmd --permanent --zone=public --remove-rich-rule='rule family="ipv4" source address="139.59.47.175" port protocol="tcp" port="7080" accept' Error #252
[07-35-05-Mon-Dec-2018] Failed to apply rule: sudo firewall-cmd --permanent --zone=public --add-rich-rule='rule family="ipv4" source address="139.59.47.175" port protocol="tcp" port="7080" accept' Error #252
[07-37-32-Mon-Dec-2018] Failed to apply rule: sudo firewall-cmd --permanent --zone=public --remove-rich-rule='rule family="ipv4" source address="139.59.47.175" port protocol="tcp" port="7080" accept' Error #252
[07-38-39-Mon-Dec-2018] No JSON object could be decoded
[09-41-13-Tue-Dec-2018] No JSON object could be decoded
[10-20-17-Tue-Dec-2018] Command '['sudo', 'cat', '/etc/csf/csf.conf']' returned non-zero exit status 1[fetchCSFSettings]
[10-22-11-Tue-Dec-2018] Command '['sudo', 'cat', '/etc/csf/csf.conf']' returned non-zero exit status 1[fetchCSFSettings]
[10-22-35-Tue-Dec-2018] Command '['sudo', 'cat', '/etc/csf/csf.conf']' returned non-zero exit status 1[fetchCSFSettings]
[10-24-19-Tue-Dec-2018] Command '['sudo', 'cat', '/etc/csf/csf.conf']' returned non-zero exit status 1[fetchCSFSettings]
[10-24-53-Tue-Dec-2018] Command '['sudo', 'cat', '/etc/csf/csf.conf']' returned non-zero exit status 1[fetchCSFSettings]
[10-28-28-Tue-Dec-2018] Command '['sudo', 'cat', '/etc/csf/csf.conf']' returned non-zero exit status 1[fetchCSFSettings]
[10-30-00-Tue-Dec-2018] Command '['sudo', 'cat', '/etc/csf/csf.conf']' returned non-zero exit status 1[fetchCSFSettings]
[10-38-37-Tue-Dec-2018] Command '['sudo', 'cat', '/etc/csf/csf.conf']' returned non-zero exit status 1[fetchCSFSettings]
[10-39-55-Tue-Dec-2018] Command '['sudo', 'cat', '/etc/csf/csf.conf']' returned non-zero exit status 1[fetchCSFSettings]
[10-41-53-Tue-Dec-2018] Command '['sudo', 'cat', '/etc/csf/csf.conf']' returned non-zero exit status 1[fetchCSFSettings]
[10-43-00-Tue-Dec-2018] Command '['sudo', 'cat', '/etc/csf/csf.conf']' returned non-zero exit status 1[fetchCSFSettings]
[10-44-21-Tue-Dec-2018] Command '['sudo', 'cat', '/etc/csf/csf.conf']' returned non-zero exit status 1[fetchCSFSettings]
[10-57-32-Tue-Dec-2018] Command '['sudo', 'cat', '/etc/csf/csf.conf']' returned non-zero exit status 1[fetchCSFSettings]
[10-58-17-Tue-Dec-2018] Command '['sudo', 'cat', '/etc/csf/csf.conf']' returned non-zero exit status 1[fetchCSFSettings]
[11-03-23-Tue-Dec-2018] Command '['sudo', 'cat', '/etc/csf/csf.conf']' returned non-zero exit status 1[fetchCSFSettings]

Comments

  • Try out!

    sh /usr/local/csf/bin/uninstall.sh

    cd /usr/src/
    wget 'https://download.configserver.com/csf.tgz'
    tar -xvf csf.tgz
    cd csf
    sh install.sh
    chkconfig --levels 235 csf on
    chkconfig --levels 235 lfd on
    cd /etc/csf/
    sed -i 's/TESTING = "1"/TESTING = "0"/g' /etc/csf/csf.conf
    csf -r && csf -q && service lfd restart
  • Hello, I`m facing issues also with csf after last update to 1.7.5, tried to reinstall it in ssh as szutka said but I got this:

    in cyberpanel :

    Command '['sudo', '/usr/local/CyberCP/plogical/csf.py', 'changeStatus', '--controller', 'csf', '--status', 'disable']' returned non-zero exit status 1

    in ssh after restart csf:

    *WARNING* Binary location for [HOST] [/usr/bin/host] in /etc/csf/csf.conf is either incorrect, is not installed or is not executable
    *WARNING* Missing or incorrect binary locations will break csf and lfd functionality

    Please can you help with this?
  • yum -y install bind-utils sendmail e2fsprogs perl-libwww-perl net-tools perl-LWP-Protocol-https

    Try to edit csf config manually to your needs

    And then

    csf -r && csf -q && service lfd restart
  • the same issue after updating. Reinstalled manually but only having an error in cyberpanel

    Command '['sudo', '/usr/local/CyberCP/plogical/csf.py', 'changeStatus', '--controller', 'csf', '--status', 'disable']' returned non-zero exit status 1

    SSH: Restrict Syslog warning which adjusted manually to the recommended setting.

    Run the recommendation from szkuta but still the same.






  • Maybe permission bug
  • There was an issue with CSF module, released a minor hotfix, an upgrade should fix this issue.
Sign In or Register to comment.
Support CyberPanel CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!