After update packages stop starting fail2ban and php 5.6

Discussion in 'Installation/Configuration' started by pecka33, Nov 28, 2023.

  1. pecka33

    pecka33 Member

    Hello,
    i am using latest version of debian and ispconfig. Yesterday i did apt update of packages and after that does not starting services
    Code:
    ● fail2ban.service   loaded failed failed Fail2Ban Service
    ● php5.6-fpm.service loaded failed failed The PHP 5.6 FastCGI Process Manager
    
    I could not found why, i tried to reboot of server, reinstall this packages, but does not work for me. In fail2ban log is not messages, because i did reinstall.
    Status of fail2ban
    Code:
    × fail2ban.service - Fail2Ban Service
         Loaded: loaded (/lib/systemd/system/fail2ban.service; enabled; preset: enabled)
         Active: failed (Result: exit-code) since Tue 2023-11-28 10:59:47 CET; 11s ago
       Duration: 42ms
           Docs: man:fail2ban(1)
        Process: 232710 ExecStart=/usr/bin/fail2ban-server -xf start (code=exited, status=1/FAILURE)
       Main PID: 232710 (code=exited, status=1/FAILURE)
            CPU: 42ms
    
    Nov 28 10:59:47 xsystemd[1]: fail2ban.service: Scheduled restart job, restart counter is at 5.
    Nov 28 10:59:47 xsystemd[1]: Stopped fail2ban.service - Fail2Ban Service.
    Nov 28 10:59:47 xsystemd[1]: fail2ban.service: Start request repeated too quickly.
    Nov 28 10:59:47 xsystemd[1]: fail2ban.service: Failed with result 'exit-code'.
    Nov 28 10:59:47 xsystemd[1]: Failed to start fail2ban.service - Fail2Ban Service.
    
    report
    Code:
     cat htf_report.txt | more
    
    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] OS version is Debian GNU/Linux 12 (bookworm)
    
    [INFO] uptime:  11:01:40 up 14:22,  1 user,  load average: 1.50, 1.37, 1.29
    
    [INFO] memory:
                   total        used        free      shared  buff/cache   available
    Mem:            31Gi       3.7Gi        24Gi       246Mi       3.7Gi        27Gi
    Swap:          975Mi          0B       975Mi
    
    [INFO] systemd failed services status:
      UNIT               LOAD   ACTIVE SUB    DESCRIPTION
    ● fail2ban.service   loaded failed failed Fail2Ban Service
    ● php5.6-fpm.service loaded failed failed The PHP 5.6 FastCGI Process Manager
    
    LOAD   = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB    = The low-level unit activation state, values depend on unit type.
    2 loaded units listed.
    
    [INFO] ISPConfig is installed.
    
    ##### ISPCONFIG #####
    ISPConfig version is 3.2.11p1
    
    
    ##### VERSION CHECK #####
    
    [INFO] php (cli) version is 8.2.13
    [INFO] php-cgi (used for cgi php in default vhost!) is version 8.2.13
    
    ##### PORT CHECK #####
    
    [WARN] Port 465 (SMTP server SSL) seems NOT to be listening
    
    ##### MAIL SERVER CHECK #####
    
    [WARN] I found no "smtps" entry in your postfix master.cf
    [INFO] this is not critical, but if you want to offer SSL for smtp (not TLS) connections you have to enable this.
    
    root@x:~#
    
     
  2. pecka33

    pecka33 Member

    Problem was solved. I did reinstall of packages I installed yesterday and services start woking.
     
  3. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Great to hear that. Do note that most services can be monitored via monit of which you can set it to restart them if they don't.
     

Share This Page