Script /usr/local/ispconfig/server/server.sh doesn't start automatically

Discussion in 'General' started by matt.anti, Feb 16, 2021.

  1. matt.anti

    matt.anti New Member

    Good morning,
    i have a problem with my ispconfig instance.
    When I make a change to the sites via gui, the red alert never dissapears and the job queue is not processed.
    If I manually run the script /usr/local/ispconfig/server/server.sh , then the job queue is processed.
    I don't understand why the script fails to start automatically when I make a change.
    This is what is present in the crontabs:
    * * * * * /usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done
    Can anyone help me?
    Thanks
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

  3. matt.anti

    matt.anti New Member

    Code:
    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    IP-address(es) (as per ifconfig): ***.***.***.***
    [INFO] OS version is Ubuntu 16.04.6 LTS
     
    [INFO] uptime:  13:44:50 up 366 days,  2:04,  1 user,  load average: 0.00, 0.01, 0.01
     
    [INFO] memory:
                  total        used        free      shared  buff/cache   available
    Mem:           7.8G        2.8G        1.1G        251M        3.9G        4.4G
    Swap:            0B          0B          0B
     
    [INFO] ISPConfig is installed.
    
    ##### ISPCONFIG #####
    ISPConfig version is 3.1dev
    
    
    ##### VERSION CHECK #####
    
    [INFO] php (cli) version is 7.1.32-1+ubuntu16.04.1+deb.sury.org+1
    
    ##### PORT CHECK #####
    
    
    ##### MAIL SERVER CHECK #####
    
    
    ##### RUNNING SERVER PROCESSES #####
    
    [INFO] I found the following web server(s):
        Apache 2 (PID 25410)
    [INFO] I found the following mail server(s):
        Postfix (PID 314)
    [INFO] I found the following pop3 server(s):
        Dovecot (PID 13798)
    [INFO] I found the following imap server(s):
        Dovecot (PID 13798)
    [INFO] I found the following ftp server(s):
        PureFTP (PID 9960)
    
    ##### LISTENING PORTS #####
    (only        ()
    Local        (Address)
    [anywhere]:993        (13798/dovecot)
    [anywhere]:995        (13798/dovecot)
    [localhost]:10023        (1907/postgrey.pid)
    [localhost]:10024        (2383/amavisd-new)
    [localhost]:10025        (314/master)
    [localhost]:10026        (2383/amavisd-new)
    [localhost]:10027        (314/master)
    [anywhere]:587        (314/master)
    [localhost]:11211        (1392/memcached)
    [anywhere]:110        (13798/dovecot)
    [anywhere]:143        (13798/dovecot)
    [anywhere]:465        (314/master)
    [anywhere]:21        (9960/pure-ftpd)
    ***.***.***.***:53        (3594/named)
    ***.***.***.***:53        (3594/named)
    [localhost]:53        (3594/named)
    [anywhere]:22        (1468/sshd)
    [anywhere]:25        (314/master)
    [localhost]:953        (3594/named)
    [anywhere]:5051        (13965/ssh)
    [anywhere]:6556        (1748/xinetd)
    *:*:*:*::*:993        (13798/dovecot)
    *:*:*:*::*:995        (13798/dovecot)
    *:*:*:*::*:10024        (2383/amavisd-new)
    *:*:*:*::*:3306        (4630/mysqld)
    *:*:*:*::*:10026        (2383/amavisd-new)
    *:*:*:*::*:587        (314/master)
    [localhost]10        (13798/dovecot)
    [localhost]43        (13798/dovecot)
    *:*:*:*::*:8080        (25410/apache2)
    *:*:*:*::*:80        (25410/apache2)
    *:*:*:*::*:8081        (25410/apache2)
    *:*:*:*::*:465        (314/master)
    *:*:*:*::*:21        (9960/pure-ftpd)
    *:*:*:*::*:53        (3594/named)
    *:*:*:*::*:22        (1468/sshd)
    *:*:*:*::*:25        (314/master)
    *:*:*:*::*:953        (3594/named)
    *:*:*:*::*:443        (25410/apache2)
    *:*:*:*::*:5051        (13965/ssh)
    
    
    
    
    ##### IPTABLES #####
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination         
    f2b-dovecot-pop3imap  tcp  --  [anywhere]/0            [anywhere]/0            multiport dports 110,995,143,993
    f2b-pureftpd  tcp  --  [anywhere]/0            [anywhere]/0            multiport dports 21
    f2b-postfix-sasl  tcp  --  [anywhere]/0            [anywhere]/0            multiport dports 25
    f2b-sshd   tcp  --  [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-dovecot-pop3imap (1 references)
    target     prot opt source               destination         
    RETURN     all  --  [anywhere]/0            [anywhere]/0           
    
    Chain f2b-postfix-sasl (1 references)
    target     prot opt source               destination         
    REJECT     all  --  ***.***.***.***         [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     all  --  ***.***.***.***         [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     all  --  ***.***.***.***        [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     all  --  ***.***.***.***        [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     all  --  ***.***.***.***       [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     all  --  ***.***.***.***       [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     all  --  ***.***.***.***         [anywhere]/0            reject-with icmp-port-unreachable
    RETURN     all  --  [anywhere]/0            [anywhere]/0           
    
    Chain f2b-pureftpd (1 references)
    target     prot opt source               destination         
    RETURN     all  --  [anywhere]/0            [anywhere]/0           
    
    Chain f2b-sshd (1 references)
    target     prot opt source               destination         
    RETURN     all  --  [anywhere]/0            [anywhere]/0  
     
  4. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    I see your ISPConfig is outdated. If you do a update, you will be asked if the cronjobs have to be reconfigured. Let the installer do so.

    Update with
    Code:
    ispconfig_update.sh
     
  5. matt.anti

    matt.anti New Member

    I have several sites on this ispconfig.
    Can the update cause problems?
    Is the latest version of ispconfig compatible with the version of ubuntu installed on the server?
     
  6. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    No, just let it reconfigure your services and make sure you don't have any outdated templates in your conf-custom folder.

    It is compatible with Ubuntu 16.04. I would advice you to update to a more recent version soon though.
     
  7. matt.anti

    matt.anti New Member

    If it can be useful to someone, simply the cron service was shut down for some reason.
    It was enough to restart it with
    Code:
    systemctl restart cron.service
    and the problem was solved
     
    Th0m likes this.
  8. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Glad to hear. Take note that you should still update ISPConfig, as several security issues are fixed.
     

Share This Page