• 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

Resolved Apache cannot be started

sdmx80

Basic Pleskian
Hello,

I get an error on all domains: Forbidden: PHP engine is disable.

I had lightspeed installed last week, but uninstalled it again.

Here is the error:
Code:
  Repairing server-wide configuration parameters for web servers .. [2016-11-14 10:52:03] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/httpdmng' '--reconfigure-server'] with exit code [1]
[FAILED]
    - httpdmng failed: [2016-11-14 10:52:03] ERR [util_exec]
      proc_close() failed
      ['/usr/local/psa/admin/bin/apache_control_adapter' '--restart'
      '--restart-interval' '0' '--http-port' '7080' '--https-port'
      '7081'] with exit code [255]
      [2016-11-14 10:52:03] ERR [panel] Apache config
      (14791167740.78342100) generation failed: Template_Exception:
      Can not restart web server: httpd stop failed
      0 /usr/sbin/httpd processes are killed
      httpd stop failed
      0 /usr/sbin/httpd processes are killed
      Nov 14 10:49:45 server.com
      httpd[14248]: (98)Address already in use: AH00072: make_sock:
      could not bind to address [::]:7080
      Nov 14 10:49:45 server.com
      httpd[14248]: (98)Address already in use: AH00072: make_sock:
      could not bind to address 0.0.0.0:7080
      Nov 14 10:49:45 server.com
      httpd[14248]: no listening sockets available, shutting down
      Nov 14 10:49:45 server.com
      httpd[14248]: AH00015: Unable to open logs
      Nov 14 10:49:45 server.com
      kill[14250]: kill: cannot find process ""
      
      file:
      /usr/local/psa/admin/plib/Service/Driver/Web/Server/Apache.php
      line: 108
      code: 0
      Can not restart web server: httpd stop failed
      0 /usr/sbin/httpd processes are killed
      httpd stop failed
      0 /usr/sbin/httpd processes are killed
      Nov 14 10:49:45 server.com
      httpd[14248]: (98)Address already in use: AH00072: make_sock:
      could not bind to address [::]:7080
      Nov 14 10:49:45 server.com
      httpd[14248]: (98)Address already in use: AH00072: make_sock:
      could not bind to address 0.0.0.0:7080
      Nov 14 10:49:45 server.com
      httpd[14248]: no listening sockets available, shutting down
      Nov 14 10:49:45 server.com
      httpd[14248]: AH00015: Unable to open logs
      Nov 14 10:49:45 server.com
      kill[14250]: kill: cannot find process ""

Your help is highly appreciated!
 
You have some process (presumably not Apache) listening on port 7080 (and likely 7081 as well). I suppose it may be lightspeed. Find them out with netstat -tulnap | grep 708[01], then stop or kill them (if it's not httpd).

It's possible that lightspeed was not properly uninstalled.
 
Thanks for pointing me in the right direction. I could fix it in Plesk: I reinstalled the Litespeed extension, switched off nginx, switched to Apache within the Litespeed extension and uninstalled Litespeed properly. Apache works like a charm again!
 
Back
Top