Unable to reconfigure domain. Apache reconfiguration failed.

Created:

2016-11-16 12:39:43 UTC

Modified:

2017-08-18 15:09:19 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to reconfigure domain. Apache reconfiguration failed.

Applicable to:

  • Plesk 12.5 for Linux

Note: This article has the reference to the issue with the fix available:

  • #PPPM-3583 "If Apache graceful restart was enabled in Plesk, the domain configuration could not be changed."
    Fixed in:
Please consider updating your server:

Symptoms

  • Domain reconfiguration fails:

    # /usr/local/psa/admin/sbin/httpdmng --reconfigure-domain example.com

    [2015-11-16 20:08:01] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache_control_adapter' '--restart' '--restart-interval' '0' '--http-port' '7080' '--https-port' '7081' '--graceful'] with exit code [1]
    [2015-11-16 20:08:43] ERR [panel] Apache config (14477008330.58736900) generation failed: Template_Exception: Can not restart web server:
    file: /opt/psa/admin/plib/Service/Driver/Web/Server/Apache.php
    line: 110
    code: 0

    Can not restart web server:
  • Process debugging using strace shows the following result:

    # /opt/psa/amin/bin/apache_control_adapter --restart --restart-interval 0 --http-port 7080 --https-port 7081 --graceful

    clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f3278e579d0) = 7628
    close(7) = 0
    close(5) = 0
    select(7, [4 6], NULL, NULL, {1, 0}) = 1 (in [6], left {0, 932525})
    read(6, "Unknown operation 'graceful'.\

    ", 4095) = 30

Cause

Such behavior is known as software issue #PPPM-3583 . The issue has been fixed in Plesk 12.5 MU#16 .

Resolution

Apply latest Plesk microupdates .

Have more questions? Submit a request
Please sign in to leave a comment.