Discover Centmin Mod today
Register Now

CSF auto-update failure

Discussion in 'System Administration' started by diy, May 5, 2021.

  1. diy

    diy Premium Member Premium Member

    47
    29
    18
    Jan 14, 2019
    USA
    Ratings:
    +44
    Local Time:
    5:25 AM
    nginx 1.19.x
    MariaDB 10.4.x
    [Nevermind - SOLVED]


    Hi,

    It appears that a csf auto update may have failed today. I stopped iptables and logged in to my server and found that the csf service fails to start. A new version was announced on the Configserver blog, so I am going to assume that the update may have failed. Can someone please advise me the safest way to reinstall csf manually on centminmod? I have backed up all of the configs in /etc/csf/ already, just don't know how different the centminmod install may be from a plain CentOS 7 install and concerned that I might wreck something. :)
    Thanks,

    [SOLVED]
     
    Last edited: May 6, 2021
  2. eva2000

    eva2000 Administrator Staff Member

    46,851
    10,627
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,493
    Local Time:
    7:25 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    so what do you get when you run the command below?
    Code (Text):
    csf -u
     
  3. diy

    diy Premium Member Premium Member

    47
    29
    18
    Jan 14, 2019
    USA
    Ratings:
    +44
    Local Time:
    5:25 AM
    nginx 1.19.x
    MariaDB 10.4.x
    Nothing. /usr/sbin/csf & lfd were 0-byte files. I reinstalled csf and restored my backed up conf files to fix it.