Author Topic: Apache failed  (Read 8814 times)

0 Members and 1 Guest are viewing this topic.

Apache failed
« on: July 29, 2017, 07:12:25 PM »
Apache failed both in apache only and apache+nginx!

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

Re: Apache failed
« Reply #1 on: July 30, 2017, 07:12:19 AM »
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
AntiDDoS Protection (web + mail)

Join our Development Team and get paid !

Services Monitoring & RBL Monitoring

Do you need Fast and FREE Support included for your CWP linux server?
Installation Instructions
Get Fast Support Here

Re: Apache failed
« Reply #2 on: July 30, 2017, 07:47:15 AM »
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.
« Last Edit: July 30, 2017, 08:14:15 AM by HamidZaeri »