Author Topic: Apache failed  (Read 8820 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Apache failed
« on: July 29, 2017, 07:12:25 PM »
Hi
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 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.

Offline
*
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)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
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 »