httpd.service - Web server Apache

Started by hawax, March 06, 2019, 11:14:58 AM

Previous topic - Next topic

hawax

Im testing all guidance
any new idea ?

[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


[root@svr1 ~]# netstat -npl | grep 80unix  2      [ ACC ]     STREAM     LISTENING     242080   27318/cwp-phpfpm: m  /usr/local/cwp/php71/var/so        ckets/soroushc.sock

[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.


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.



DA_MAN


Netino

Apache is claiming about the fully qualified domain name: svr1.hawax.net

Checking your host:

# host svr1.hawax.net
svr1.hawax.net has address 54.37.205.38


But checking with the IP address:

# 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