New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Apache failed

Started by HamidZaeri, July 29, 2017, 07:12:25 PM

Previous topic - Next topic

HamidZaeri

Hi
Apache failed both in apache only and apache+nginx!

● httpd.service - Web server Apache
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sat 2017-07-29 23:40:46 +0430; 4min 43s ago
  Process: 5727 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=1/FAILURE)

Jul 29 23:40:46 host.sdf.com systemd[1]: Starting Web server Apache...
Jul 29 23:40:46 host.sdf.com apachectl[5727]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using host.sdf.com. Set the 'ServerName' directive globally to suppress this message
Jul 29 23:40:46 host.sdf.com apachectl[5727]: no listening sockets available, shutting down
Jul 29 23:40:46 host.sdf.com apachectl[5727]: AH00015: Unable to open logs
Jul 29 23:40:46 host.sdf.com systemd[1]: httpd.service: control process exited, code=exited status=1
Jul 29 23:40:46 host.sdf.com systemd[1]: Failed to start Web server Apache.
Jul 29 23:40:46 host.sdf.com systemd[1]: Unit httpd.service entered failed state.
Jul 29 23:40:46 host.sdf.com systemd[1]: httpd.service failed.

Administrator

try this
service httpd stop
service nginx stop
killall -9 httpd
killall -9 nginx

and then again start services and also check your disk space

HamidZaeri

#2
I restored the backup of httpd.conf and reboot the server. now apache run but got this error on loading pages:


Not Found

The requested URL /api was not found on this server.