• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the current Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

Issue Upgrade Ubuntu 22 --> 24 Apache cannot be started

Janko1000

Regular Pleskian
Server operating system version
Ubuntu 22.04
Plesk version and microupdate number
Version 18.0.62
Hello All,

i tried an Upgrade from Ubuntu 22 to 24.
On 20 Servers it works like Charm but on one Server the Apache would not start after the Upgrade.

I have now restored the backup and the server is running with Ubuntu 22 again.


Code:
      Details: [2024-07-02 02:58:09.956] 200215:66835010dfcda 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 [255]
      [2024-07-02 02:58:18.132] 200215:66835010dfcda ERR [panel]
      Apache config (17198817430.35196400) generation failed:
      Template_Exception: Can not restart web server:
      apache_control_adapter[205018]: Apache is down, start it
      instead of graceful
      apache_control_adapter[205018]: apache_action(graceful):
      invoke_httpd_action failed, trying second time
      apache_control_adapter[205018]: Apache is down, start it
      instead of graceful

      file: /opt/psa/admin/plib/Service/Driver/Web/Server/Apache.php
      line: 149
      code: 0
      Can not restart web server: apache_control_adapter[205018]:
      Apache is down, start it instead of graceful
      apache_control_adapter[205018]: apache_action(graceful):
      invoke_httpd_action failed, trying second time
      apache_control_adapter[205018]: Apache is down, start it
      instead of graceful
    Repairing server-wide configuration parameters for web servers .. [2024-07-02 03:00:23.978] 174222:66834eec8a226 ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/httpdmng' '--reconfigure-server'] with exit code [1]
[FAILED]
    - httpdmng failed: [2024-07-02 03:00:23.725] 211421:668350aacd026
      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 [255]
      [2024-07-02 03:00:23.915] 211421:668350aacd026 ERR [panel]
      Apache config (17198818980.51799900) generation failed:
      Template_Exception: Can not restart web server:
      apache_control_adapter[211459]: Apache is down, start it
      instead of graceful
      apache_control_adapter[211459]: apache_action(graceful):
      invoke_httpd_action failed, trying second time
      apache_control_adapter[211459]: Apache is down, start it
      instead of graceful

      file: /opt/psa/admin/plib/Service/Driver/Web/Server/Apache.php
      line: 149
      code: 0
      Can not restart web server: apache_control_adapter[211459]:
      Apache is down, start it instead of graceful
      apache_control_adapter[211459]: apache_action(graceful):
      invoke_httpd_action failed, trying second time
      apache_control_adapter[211459]: Apache is down, start it
      instead of graceful
 
Unfortunately the output you posted does not contain any details as to why Apache wouldn't start. More information can usually be found in the system logs using journalctl -xe.
 
Back
Top