After ispconfig_update.sh I always need to remark line 6

Discussion in 'Installation/Configuration' started by Morons, May 23, 2026 at 2:32 AM.

  1. Morons

    Morons Member

    My sytem
    ISPConfig Version: 3.3.1p1
    Ubuntu 22.04.5 LTS (GNU/Linux 7.0.5-x86_64-linode173 x86_64)

    Line 6: `/etc/apache2/sites-available/apps.vhost:6: Listen 8081` << remark to have apache start!
    I do not want to upgrade to 24.04.4 LTS before this issue is resolved.
    ```
    root@ares:~# systemctl status apache2.service
    × apache2.service - The Apache HTTP Server
    Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
    Active: failed (Result: exit-code) since Sat 2026-05-23 00:12:51 UTC; 4min 14s ago
    Docs: https://httpd.apache.org/docs/2.4/
    Process: 717 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
    CPU: 140ms

    May 23 00:12:50 ares.zonemail.co.za systemd[1]: Starting The Apache HTTP Server...
    May 23 00:12:51 ares.zonemail.co.za apachectl[762]: [Sat May 23 00:12:51.668548 2026] [alias:warn] [pid 762] AH00671: The Alias directive in /etc/apache2/conf-enabled/ro>
    May 23 00:12:51 ares.zonemail.co.za apachectl[762]: AH00526: Syntax error on line 6 of /etc/apache2/sites-enabled/000-apps.vhost.conf:
    May 23 00:12:51 ares.zonemail.co.za apachectl[762]: Cannot define multiple Listeners on the same IP:port
    May 23 00:12:51 ares.zonemail.co.za apachectl[717]: Action 'start' failed.
    May 23 00:12:51 ares.zonemail.co.za apachectl[717]: The Apache error log may have more information.
    May 23 00:12:51 ares.zonemail.co.za systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
    May 23 00:12:51 ares.zonemail.co.za systemd[1]: apache2.service: Failed with result 'exit-code'.
    May 23 00:12:51 ares.zonemail.co.za systemd[1]: Failed to start The Apache HTTP Server.

    root@ares:~# grep -rn "8081" /etc/apache2/
    /etc/apache2/sites-available/apps.vhost:6: Listen 8081
    /etc/apache2/sites-available/apps.vhost:7:# NameVirtualHost *:8081
    /etc/apache2/sites-available/apps.vhost:9:<VirtualHost _default_:8081>
    ```
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Maybe you created more than one symlink to the apps vhost in /etc/apache2/sites-enabled/ folder.
     
    ahrasis likes this.
  3. Morons

    Morons Member

    lrwxrwxrwx 1 root root 39 Apr 20 2025 000-apps.vhost -> /etc/apache2/sites-available/apps.vhost
    lrwxrwxrwx 1 root root 39 Apr 20 2025 000-apps.vhost.conf -> /etc/apache2/sites-available/apps.vhost

    This ISPConfig was upgraded through years and years since ISPConfig came out!
    Yes but I never did it, I probably dont know how to, must have been some u[pdate!,
    Now witch one to keep? I guess the name means nothing and I can delete any one?

    Anycase thanx
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Delete the file 000-apps.vhost.conf
     
  5. Morons

    Morons Member

    Thanx
     
    till likes this.

Share This Page