Error in Plesk: New configuration files for the Apache web server were not created due to the errors in configuration templates

Follow

Comments

3 comments

  • Avatar
    Martin Sauer

    The problem persists for me. Error message after usign this "fix":

    Error: New configuration files for the Apache web server were not created due to the errors in configuration templates: nginx: [warn] conflicting server name "_" on 82.x.y.z:443, ignored nginx: [warn] conflicting server name "_" on [2001:x1:x2:x3:x4:x5]:443, ignored nginx: [warn] conflicting server name "" on 82.x.y.z:80, ignored nginx: [warn] conflicting server name "" on [2001:x1:x2:x3:x4:x5]:80, ignored nginx: [emerg] bind() to [2001:x1:x2:x3:x4:x5]:443 failed (99: Cannot assign requested address) nginx: configuration file /etc/nginx/nginx.conf test failed. Search in KB
     
    The main configuration file:
    File Path: n/a
    Orig. Template: nginx-php
    Related Domain: /

    is shown as eeronous. All other files are green.

    Fun fact: Ihad that ipv6 address active. As of now all sites are disconnected from the IP. So it shouldnt be relevant at all for plesk or apache/nginx. Yet it is correctly assigned to the server.
    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    Hello Martin Sauer

    Plesk, check the Nginx configuration:

    # nginx -t
    nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
    nginx: configuration file /etc/nginx/nginx.conf test is successful

    If you have the same output as provided, Nginx configuration is fine and this error message is orphaned and to remove it you may use this instruction: https://support.plesk.com/hc/en-us/articles/213389789

    Otherwise, the output will provide a hint of where to check the issue.

    In case of getting stuck, submit a support request to support Plesk directly or to the partner where the license was purchased.

    0
    Comment actions Permalink
  • Avatar
    Martin Sauer

    Ivan Postnikov Thank you so much. You nailed it. There were some other support entries with similar solutions, but apparently my OS configuration wasnt ok by then. Now it was and all problems solved.

    Thank you again - good one.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request