Control Web Panel

WebPanel => Apache => Topic started by: HamidZaeri on July 29, 2017, 07:12:25 PM

Title: Apache failed
Post by: HamidZaeri 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.
Title: Re: Apache failed
Post by: Administrator 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
Title: Re: Apache failed
Post by: HamidZaeri 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.