• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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