Backup errors email notifications

Discussion in 'ISPConfig 3 Priority Support' started by kaostc, Jan 28, 2026.

  1. kaostc

    kaostc Member HowtoForge Supporter

    I didn't get any email reporting backup errors, although:
    - I have an admin email sent, and I get overquota emails, and certificate delivery errors emails.
    - I have set the option to send warning or worse emails notification for any server.
    Multiserver installation.
    Report for master server:
    Code:
    ##### 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:31:33 up 6 days, 21:19,  3 users,  load average: 0.09, 0.07, 0.06
     
    [INFO] memory:
                   total        used        free      shared  buff/cache   available
    Mem:           3.7Gi       2.2Gi       771Mi       297Mi       1.3Gi       1.5Gi
    Swap:             0B          0B          0B
     
    [INFO] systemd failed services status:
      UNIT                  LOAD   ACTIVE SUB    DESCRIPTION
    ● clamav-daemon.service loaded failed failed Clam AntiVirus userspace daemon
    
    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.
    1 loaded units listed.
    
    [INFO] ISPConfig is installed.
    
    ##### ISPCONFIG #####
    ISPConfig version is 3.3.0p3
    
    
    ##### VERSION CHECK #####
    
    [INFO] php (cli) version is 8.2.30
    [INFO] php-cgi (used for cgi php in default vhost!) is version 8.2.30
    
    ##### PORT CHECK #####
    
    [WARN] Port 22 (SSH server) seems NOT to be listening
    
    ##### MAIL SERVER CHECK #####
    
    
    ##### RUNNING SERVER PROCESSES #####
    
    [INFO] I found the following web server(s):
        Unknown process (nginx:) (PID 1157)
    [INFO] I found the following mail server(s):
        Postfix (PID 1536)
    [INFO] I found the following pop3 server(s):
        Dovecot (PID 885)
    [INFO] I found the following imap server(s):
        Dovecot (PID 885)
    [INFO] I found the following ftp server(s):
        PureFTP (PID 1221)
    
    ##### LISTENING PORTS #####
    (only        ()
    Local        (Address)
    [localhost]:953        (3319047/named)
    [localhost]:953        (3319047/named)
    [localhost]:11211        (892/memcached)
    [anywhere]:8080        (1157/nginx:)
    [anywhere]:8081        (1157/nginx:)
    [anywhere]:3306        (2852265/mariadbd)
    [localhost]:6379        (917/redis-server)
    [localhost]:53        (3319047/named)
    [localhost]:53        (3319047/named)
    ***.***.***.***:53        (3319047/named)
    ***.***.***.***:53        (3319047/named)
    [anywhere]:2812        (1113/monit)
    [anywhere]:587        (1536/master)
    [anywhere]:1022        (3308386/sshd:)
    [anywhere]:993        (885/dovecot)
    [anywhere]:995        (885/dovecot)
    [localhost]:10023        (915/postgrey)
    [anywhere]:143        (885/dovecot)
    [anywhere]:110        (885/dovecot)
    [anywhere]:4190        (885/dovecot)
    [anywhere]:80        (1157/nginx:)
    [anywhere]:25        (1536/master)
    [anywhere]:21        (1221/pure-ftpd)
    ***.***.***.***:53        (3319047/named)
    ***.***.***.***:53        (3319047/named)
    [anywhere]:465        (1536/master)
    [anywhere]:443        (1157/nginx:)
    *:*:*:*::*:53        (3319047/named)
    *:*:*:*::*:53        (3319047/named)
    *:*:*:*::*:6379        (917/redis-server)
    *:*:*:*::*9400:ff:fe89:5:53        (3319047/named)
    *:*:*:*::*9400:ff:fe89:5:53        (3319047/named)
    *:*:*:*::*:8080        (1157/nginx:)
    *:*:*:*::*:8081        (1157/nginx:)
    *:*:*:*::*:3306        (2852265/mariadbd)
    *:*:*:*::*:953        (3319047/named)
    *:*:*:*::*:953        (3319047/named)
    *:*:*:*::*:2812        (1113/monit)
    *:*:*:*::*:587        (1536/master)
    [localhost]022        (3308386/sshd:)
    *:*:*:*::*:993        (885/dovecot)
    *:*:*:*::*:995        (885/dovecot)
    [localhost]43        (885/dovecot)
    [localhost]10        (885/dovecot)
    *:*:*:*::*:4190        (885/dovecot)
    *:*:*:*::*:80        (1157/nginx:)
    *:*:*:*::*:25        (1536/master)
    *:*:*:*::*:21        (1221/pure-ftpd)
    *:*:*:*::*:53        (3319047/named)
    *:*:*:*::*:53        (3319047/named)
    *:*:*:*::*:465        (1536/master)
    *:*:*:*::*:443        (1157/nginx:)
    
    
    
    
    ##### IPTABLES #####
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination         
    f2b-pure-ftpd  6    --  [anywhere]/0            [anywhere]/0            multiport dports 21
    f2b-postfix-sasl  6    --  [anywhere]/0            [anywhere]/0            multiport dports 25
    f2b-sshd   6    --  [anywhere]/0            [anywhere]/0            multiport dports 22
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain f2b-postfix-sasl (1 references)
    target     prot opt source               destination         
    RETURN     0    --  [anywhere]/0            [anywhere]/0           
    
    Chain f2b-pure-ftpd (1 references)
    target     prot opt source               destination         
    RETURN     0    --  [anywhere]/0            [anywhere]/0           
    
    Chain f2b-sshd (1 references)
    target     prot opt source               destination         
    REJECT     0    --  ***.***.***.***         [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     0    --  ***.***.***.***        [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     0    --  ***.***.***.***      [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     0    --  ***.***.***.***       [anywhere]/0            reject-with icmp-port-unreachable
    RETURN     0    --  [anywhere]/0            [anywhere]/0           
    
    
    
    
    ##### LET'S ENCRYPT #####
    acme.sh is installed in /root/.acme.sh/acme.sh
    
    Report for server with backup failure:
    Code:
    ##### 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:  10:35:15 up 39 days, 19:05,  2 users,  load average: 1.62, 1.94, 2.00
     
    [INFO] memory:
                   total        used        free      shared  buff/cache   available
    Mem:           7.6Gi       4.7Gi       415Mi       296Mi       3.1Gi       2.9Gi
    Swap:             0B          0B          0B
     
    [INFO] systemd failed services status:
      UNIT LOAD ACTIVE SUB DESCRIPTION
    0 loaded units listed.
    
    [INFO] ISPConfig is installed.
    
    ##### ISPCONFIG #####
    ISPConfig version is 3.3.0p3
    
    
    ##### VERSION CHECK #####
    
    [INFO] php (cli) version is 8.2.30
    [INFO] php-cgi (used for cgi php in default vhost!) is version 8.2.30
    
    ##### PORT CHECK #####
    
    [WARN] Port 8080 (ISPConfig) seems NOT to be listening
    [WARN] Port 143 (IMAP server) seems NOT to be listening
    [WARN] Port 993 (IMAP server SSL) seems NOT to be listening
    [WARN] Port 110 (POP3 server) seems NOT to be listening
    [WARN] Port 995 (POP3 server SSL) seems NOT to be listening
    [WARN] Port 465 (SMTP server SSL) seems NOT to be listening
    [WARN] Port 22 (SSH server) seems NOT to be listening
    
    ##### MAIL SERVER CHECK #####
    
    [WARN] I found no "submission" entry in your postfix master.cf
    [INFO] this is not critical, but if you want to offer port 587 for smtp connections you have to enable this.
    [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.
    
    ##### RUNNING SERVER PROCESSES #####
    
    [INFO] I found the following web server(s):
        Unknown process (nginx:) (PID 1082)
    [INFO] I found the following mail server(s):
        Postfix (PID 1489)
    [WARN] I could not determine which pop3 server is running.
    [WARN] I could not determine which imap server is running.
    [INFO] I found the following ftp server(s):
        PureFTP (PID 53423)
    
    ##### LISTENING PORTS #####
    (only        ()
    Local        (Address)
    [anywhere]:443        (1082/nginx:)
    [localhost]:53        (2659033/named)
    [localhost]:53        (2659033/named)
    [localhost]:53        (2659033/named)
    [localhost]:53        (2659033/named)
    [localhost]:25        (1489/master)
    [anywhere]:21        (53423/pure-ftpd)
    [anywhere]:80        (1082/nginx:)
    [anywhere]:1022        (2661888/sshd:)
    [localhost]:953        (2659033/named)
    [localhost]:953        (2659033/named)
    [localhost]:953        (2659033/named)
    [localhost]:953        (2659033/named)
    [anywhere]:3306        (1083/mariadbd)
    [anywhere]:8081        (1082/nginx:)
    ***.***.***.***:53        (2659033/named)
    ***.***.***.***:53        (2659033/named)
    ***.***.***.***:53        (2659033/named)
    ***.***.***.***:53        (2659033/named)
    [localhost]:11211        (888/memcached)
    [anywhere]:2812        (1099/monit)
    *:*:*:*::*:443        (1082/nginx:)
    *:*:*:*::*:21        (53423/pure-ftpd)
    *:*:*:*::*:80        (1082/nginx:)
    [localhost]022        (2661888/sshd:)
    *:*:*:*::*:53        (2659033/named)
    *:*:*:*::*:53        (2659033/named)
    *:*:*:*::*:53        (2659033/named)
    *:*:*:*::*:53        (2659033/named)
    *:*:*:*::*:3306        (1083/mariadbd)
    *:*:*:*::*:8081        (1082/nginx:)
    *:*:*:*::*9400:ff:fe12:a:53        (2659033/named)
    *:*:*:*::*9400:ff:fe12:a:53        (2659033/named)
    *:*:*:*::*9400:ff:fe12:a:53        (2659033/named)
    *:*:*:*::*9400:ff:fe12:a:53        (2659033/named)
    *:*:*:*::*:53        (2659033/named)
    *:*:*:*::*:53        (2659033/named)
    *:*:*:*::*:53        (2659033/named)
    *:*:*:*::*:53        (2659033/named)
    *:*:*:*::*:25        (1489/master)
    *:*:*:*::*:953        (2659033/named)
    *:*:*:*::*:953        (2659033/named)
    *:*:*:*::*:953        (2659033/named)
    *:*:*:*::*:953        (2659033/named)
    *:*:*:*::*:2812        (1099/monit)
    
    
    
    
    ##### IPTABLES #####
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination         
    f2b-pure-ftpd  6    --  [anywhere]/0            [anywhere]/0            multiport dports 21
    f2b-sshd   6    --  [anywhere]/0            [anywhere]/0            multiport dports 22
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain f2b-pure-ftpd (1 references)
    target     prot opt source               destination         
    RETURN     0    --  [anywhere]/0            [anywhere]/0           
    
    Chain f2b-sshd (1 references)
    target     prot opt source               destination         
    REJECT     0    --  ***.***.***.***      [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     0    --  ***.***.***.***      [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     0    --  ***.***.***.***      [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     0    --  ***.***.***.***       [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     0    --  ***.***.***.***         [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     0    --  ***.***.***.***        [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     0    --  ***.***.***.***        [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     0    --  ***.***.***.***        [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     0    --  ***.***.***.***      [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     0    --  ***.***.***.***       [anywhere]/0            reject-with icmp-port-unreachable
    RETURN     0    --  [anywhere]/0            [anywhere]/0           
    
    
    
    
    ##### LET'S ENCRYPT #####
    acme.sh is installed in /root/.acme.sh/acme.sh
    
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you get other warning emails from ISPConfig from that specific node?
     
  3. kaostc

    kaostc Member HowtoForge Supporter

    I have forced an SSL certificate request fail and I get the error on my inbox, from this node.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    It might be that this ISPConfig version is not sending an error message then.
     
  5. kaostc

    kaostc Member HowtoForge Supporter

    Sorry, what you mean "this ISPConfig version"? You mean the last stable version? That I have an outdate version on my server?
    Honestly, I have never seen a backup error notification. I use to discover backup errors on my weekly check.
    What can I do to continue troubleshooting this?

    Thanks a lot.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    The last ISPConfig stable version is ISPConfig 3.3.1. According to your post, you run 3.3.0p3, so you are not running the current ISPConfig stable version. The backup system has undergone a lot of changes in the recent stable version.
     
  7. kaostc

    kaostc Member HowtoForge Supporter

    I have updated to version 3.3.1 all servers.
    I generated a backup error and it is sent to email now.
    It seems that the update works!
    Thanks.
     
  8. kaostc

    kaostc Member HowtoForge Supporter

    The problem persists, I have isolated it a bit more.
    If I stop cron, launch a backup and run manually server.sh the error is generated and the mail is sent and received ok.
    When the task is executed from cron, at 3:15am daily, the error is generated but the mail is not sent. That has been checked with mail provider, there is not an attemp to send mail from their side at 3:15am. They have logs from manual attemps.

    Thanks for your help.
     
  9. kaostc

    kaostc Member HowtoForge Supporter

    Any more help on this?
    Thanks.
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    First, you should check the mail.log on your server to see if a sending attempt is made. Then you can try to use the cron_debug.php script to simulate a backup run.

    I can't say for sure which exact error emails are sent in case of a failure. If you want to know it in detail, you might want to take a look into the code.
     
  11. kaostc

    kaostc Member HowtoForge Supporter

    Please can you detail how to exactly use cron_debug.php?
    If I use
    php cron_debug.php --cronjob=500-backup.inc.php, will it lauch all backups for all sites?
    Thanks.
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, that's the full daily backup run for all sites.
     
  13. kaostc

    kaostc Member HowtoForge Supporter

    Is there any way to restrict this to a single site? Cause runing a test run for more than 100 sites is complicate.
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    No, at least not without changing the backup code. You tested the single-site backup, and it works according to your posts.
     

Share This Page