Job for apache2.service failed because the control process exited with error code.

Discussion in 'Installation/Configuration' started by Stevie2socks, Apr 11, 2023.

  1. Stevie2socks

    Stevie2socks New Member

    Hi,
    I've installed ISPConfig 3.2.9p1 on a Raspberry pi for testing.
    Raspbian GNU/Linux 10 (buster)
    PHP 7.3.31-1~deb10u3 (cli)
    Tested after installing webmail and was able view the webmail page in my browser.
    I'm getting the following after completing the installation:-
    Job for apache2.service failed because the control process exited with error code.
    See "systemctl status apache2.service" and "journalctl -xe" for details.​
    Both apache2 and amavis are not starting.
    Running the test script produced the following output:-
    Code:
    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] OS version is Raspbian GNU/Linux 10 (buster)
     
    [INFO] uptime:  13:03:12 up 15:24,  1 user,  load average: 5.15, 4.39, 4.03
     
    [INFO] memory:
                  total        used        free      shared  buff/cache   available
    Mem:          3.7Gi       1.4Gi       1.4Gi        18Mi       879Mi       2.1Gi
    Swap:          99Mi          0B        99Mi
     
    [INFO] systemd failed services status:
      UNIT            LOAD   ACTIVE SUB    DESCRIPTION                       
    ● amavis.service  loaded failed failed LSB: Starts amavisd-new mailfilter
    ● apache2.service loaded failed failed The Apache HTTP Server           
    
    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. Pass --all to see loaded but inactive units, too.
    To show all installed unit files use 'systemctl list-unit-files'.
    
    [INFO] ISPConfig is installed.
    
    ##### ISPCONFIG #####
    ISPConfig version is 3.2.9p1
    
    
    ##### VERSION CHECK #####
    
    [INFO] php (cli) version is 7.3.31-1~deb10u3
    [INFO] php-cgi (used for cgi php in default vhost!) is version 7.3.31
    
    ##### PORT CHECK #####
    
    [WARN] Port 8080 (ISPConfig) seems NOT to be listening
    [WARN] Port 8081 (ISPConfig Apps) seems NOT to be listening
    [WARN] Port 80 (Webserver) seems NOT to be listening
    [WARN] Port 443 (Webserver SSL) seems NOT to be listening
    
    ##### MAIL SERVER CHECK #####
    
    
    ##### RUNNING SERVER PROCESSES #####
    
    [WARN] I could not determine which web server is running.
    [INFO] I found the following mail server(s):
        Postfix (PID 1038)
    [INFO] I found the following pop3 server(s):
        Dovecot (PID 631)
    [INFO] I found the following imap server(s):
        Dovecot (PID 631)
    [INFO] I found the following ftp server(s):
        PureFTP (PID 992)
    
    ##### LISTENING PORTS #####
    (only        ()
    Local        (Address)
    [anywhere]:465        (1038/master)
    [anywhere]:21        (992/pure-ftpd)
    ***.***.***.***:53        (676/named)
    [localhost]:53        (676/named)
    [anywhere]:22        (675/sshd)
    [anywhere]:25        (1038/master)
    [localhost]:953        (676/named)
    [anywhere]:993        (631/dovecot)
    [anywhere]:995        (631/dovecot)
    [localhost]:10023        (567/postgrey)
    [localhost]:10024        (1445/amavisd-new)
    [localhost]:10025        (1038/master)
    [localhost]:10026        (1445/amavisd-new)
    [localhost]:10027        (1038/master)
    [anywhere]:587        (1038/master)
    [localhost]:11211        (628/memcached)
    [anywhere]:110        (631/dovecot)
    [anywhere]:143        (631/dovecot)
    *:*:*:*::*:465        (1038/master)
    *:*:*:*::*:21        (992/pure-ftpd)
    *:*:*:*::*:53        (676/named)
    *:*:*:*::*:22        (675/sshd)
    *:*:*:*::*:25        (1038/master)
    *:*:*:*::*:953        (676/named)
    *:*:*:*::*:993        (631/dovecot)
    *:*:*:*::*:995        (631/dovecot)
    *:*:*:*::*:10023        (567/postgrey)
    *:*:*:*::*:10024        (1445/amavisd-new)
    *:*:*:*::*:10026        (1445/amavisd-new)
    *:*:*:*::*:3306        (722/mysqld)
    *:*:*:*::*:587        (1038/master)
    [localhost]10        (631/dovecot)
    [localhost]43        (631/dovecot)
    
    
    
    
    ##### IPTABLES #####
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination         
    
    
    
    
    ##### LET'S ENCRYPT #####
    acme.sh is installed in /root/.acme.sh/acme.sh
    
    Any help would be appreciated.
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    The error message contains advice:
    Code:
    See "systemctl status apache2.service" and "journalctl -xe" for details.
    What do those two commands show?
    You could also search this forum for discussions about raspberry, there have been users installing and running ISPConfig on raspberry devices.
     

Share This Page