Author Topic: httpd.service - Web server Apache  (Read 5702 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
httpd.service - Web server Apache
« on: March 06, 2019, 11:14:58 AM »
Im testing all guidance
 any new idea ?

Code: [Select]
[root@svr1 ~]#  ps aux|grep httpd
root     32197  0.0  0.0 112708   976 pts/0    R+   10:56   0:00 grep --color=auto httpd

Code: [Select]
[root@svr1 ~]# netstat -npl | grep 80unix  2      [ ACC ]     STREAM     LISTENING     242080   27318/cwp-phpfpm: m  /usr/local/cwp/php71/var/so        ckets/soroushc.sock
Code: [Select]
[root@svr1 ~]# service httpd statusRedirecting to /bin/systemctl status httpd.service
● httpd.service - Web server Apache
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2019-03-06 10:48:46 CET; 9min ago
  Process: 29665 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=1/FAILURE)
 Main PID: 20072 (code=exited, status=0/SUCCESS)


Mar 06 10:48:46 svr1.hawax.net systemd[1]: Starting Web server Apache...
Mar 06 10:48:46 svr1.hawax.net apachectl[29665]: AH00558: httpd: Could not reliably determine the server's f...sage
Mar 06 10:48:46 svr1.hawax.net systemd[1]: httpd.service: control process exited, code=exited status=1
Mar 06 10:48:46 svr1.hawax.net systemd[1]: Failed to start Web server Apache.
Mar 06 10:48:46 svr1.hawax.net systemd[1]: Unit httpd.service entered failed state.
Mar 06 10:48:46 svr1.hawax.net systemd[1]: httpd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

Code: [Select]
WARNING!● httpd.service - Web server Apache
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2019-03-06 10:41:58 CET; 7s ago
  Process: 27188 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=1/FAILURE)
 Main PID: 20072 (code=exited, status=0/SUCCESS)

Mar 06 10:41:58 svr1.hawax.net systemd[1]: Starting Web server Apache...
Mar 06 10:41:58 svr1.hawax.net apachectl[27188]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using svr1.hawax.net. Set the 'ServerName' directive globally to suppress this message
Mar 06 10:41:58 svr1.hawax.net systemd[1]: httpd.service: control process exited, code=exited status=1
Mar 06 10:41:58 svr1.hawax.net systemd[1]: Failed to start Web server Apache.
Mar 06 10:41:58 svr1.hawax.net systemd[1]: Unit httpd.service entered failed state. Mar 06 10:41:58 svr1.domain.net systemd[1]: httpd.service failed.


Offline
*
Re: httpd.service - Web server Apache
« Reply #1 on: March 18, 2019, 08:48:41 PM »
Did you generate a new SSL certificate before this happened? If so I would refer you to:

http://forum.centos-webpanel.com/installation/cwp7-cwpsrv-fails-first-on-install-fix-this-breaks-apache/

Offline
***
Re: httpd.service - Web server Apache
« Reply #2 on: March 19, 2019, 02:12:32 AM »
Apache is claiming about the fully qualified domain name: svr1.hawax.net

Checking your host:
Code: [Select]
# host svr1.hawax.net
svr1.hawax.net has address 54.37.205.38

But checking with the IP address:
Code: [Select]
# host 54.37.205.38
38.205.37.54.in-addr.arpa domain name pointer 38.ip-54-37-205.eu.

... is returning another address.
So, you must to set the PTR DNS record of your IP address, probably in your ISP.

Regards,
Netino