Cannot define multiple Listeners on the same IP:port

Discussion in 'Installation/Configuration' started by Taras Tupko, Jun 27, 2022.

  1. Taras Tupko

    Taras Tupko New Member

    hello, who could help me. I changed the backup folder in ispconfig setting and than the apache get error


    apache2.service - The Apache HTTP Server
    Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
    Active: failed (Result: exit-code) since Mon 2022-06-27 14:40:43 UTC; 3min 56s ago
    Docs: https://httpd.apache.org/docs/2.4/
    Process: 14102 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)

    чер 27 14:40:43 posti systemd[1]: Starting The Apache HTTP Server...
    чер 27 14:40:43 posti apachectl[14119]: AH00526: Syntax error on line 6 of /etc/apache2/sites-enabled/1apps.vhost:
    чер 27 14:40:43 posti apachectl[14119]: Cannot define multiple Listeners on the same IP port
    чер 27 14:40:43 posti apachectl[14102]: Action 'start' failed.
    чер 27 14:40:43 posti apachectl[14102]: The Apache error log may have more information.
    чер 27 14:40:43 posti systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
    чер 27 14:40:43 posti systemd[1]: apache2.service: Failed with result 'exit-code'.
    чер 27 14:40:43 posti systemd[1]: Failed to start The Apache HTTP Server.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Hmm, seems as if you changed or copied vhost file symlinks as there is no file with the name etc/apache2/sites-enabled/1apps.vhost on an ISPConfig system. Most likely you duplicated the file (symlink) apps.vhost there which then causes the issue, you did not recognize it earlier as you did not restart the web server at the time you duplicated the file. run:

    rm /etc/apache2/sites-enabled/1apps.vhost

    and then restart apache2.
     
  3. Taras Tupko

    Taras Tupko New Member

    huh, thank you, it works
     

Share This Page