EFW Support

Support => General Support => Topic started by: hiddenbit on Wednesday 10 October 2012, 07:45:53 pm



Title: httpd - Web Interface not accessable - start/stop/restart failed
Post by: hiddenbit on Wednesday 10 October 2012, 07:45:53 pm
After a reboot the web GUI can not be accessed any more.
The httpd process seems not to work, the port is not in use:

Code:
root@proxy:/ # netstat -ln | grep 10443
root@proxy:/ #

A start/stop/restart fails..

Code:
Stopping httpd:                                            [FAILED]
Starting httpd:                                            [FAILED]

..and the log files are empty.

Code:
root@proxy:/ # tail -f /var/log/httpd/* -n200
==> /var/log/httpd/error_log <==

==> /var/log/httpd/httpd_access <==

==> /var/log/httpd/ssl_engine_log <==

==> /var/log/httpd/ssl_mutex.5056 <==

==> /var/log/httpd/ssl_request_log <==

==> /var/log/httpd/ssl_scache.dir <==

==> /var/log/httpd/ssl_scache.pag <==                  ,sÐ4¯¶^vEÀ
ú¼¡Prå¢ ýbSè,eI[ÁÌÄÒ®"K8Ç%sÏØÀ(Só¨¬0÷áD.¬Ï/8Þë°àa=d÷q]5
       ¤" 1912c5b676a21b5345933d07eb2fd625ýbSè,eI[ÁÌÄÒ®"K8Ç%sÏØÀ(Só¨¬

Any ideas how to fix the problem?

Kind regards


Title: Re: httpd - Web Interface not accessable - start/stop/restart failed
Post by: fqureshi on Wednesday 10 October 2012, 09:40:54 pm
Which version are you using? Is there any other firewall in between? Windows firewall? Tried after reboot?


Title: Re: httpd - Web Interface not accessable - start/stop/restart failed
Post by: hiddenbit on Wednesday 10 October 2012, 10:38:42 pm
I use the latest version 2.5.1 and a reboot didn't solve the problem. There is no firewall in between. The httpd process couldn't start on the Endian firewall (see my netstat command).


Title: Re: httpd - Web Interface not accessable - start/stop/restart failed
Post by: fqureshi on Wednesday 10 October 2012, 10:42:34 pm
It could be a corrupted install. Can't say much ..may be if you try it installing on a separate box and see how it goes??


Title: Re: httpd - Web Interface not accessable - start/stop/restart failed
Post by: hiddenbit on Thursday 11 October 2012, 12:36:21 am
The installation ran well till yesterday and had no error or problems. Any other ideas how to fix it or to check, why the apache/httpd doens't start correctly?


Title: Re: httpd - Web Interface not accessable - start/stop/restart failed
Post by: ehermouet on Wednesday 08 January 2014, 11:33:34 pm
I have exactly the same error. i don't know why. no log, and nothing... except failed.

anybody know how correct this ?

tks advance


Title: Re: httpd - Web Interface not accessable - start/stop/restart failed
Post by: sourcebreak on Friday 09 February 2018, 02:47:21 am
login to ssh
#apachectl restart

If you get this below error
 endian SSLCertificateFile: file /etc/httpd/server.crt does not exist or is empty

Then copy server.crt from /etc/httpd/cert/      to      /etc/httpd/

apachectl restart    or /etc/rc.d/init.d/httpd restart


Title: Re: httpd - Web Interface not accessable - start/stop/restart failed
Post by: sourcebreak on Friday 09 February 2018, 03:18:37 am
login to ssh
#apachectl restart

If you get this below error
 endian SSLCertificateFile: file /etc/httpd/server.crt does not exist or is empty

Then copy server.crt from /etc/httpd/certs/      to      /etc/httpd/

apachectl restart    or /etc/rc.d/init.d/httpd restart


Title: Re: httpd - Web Interface not accessable - start/stop/restart failed
Post by: Dark-Vex on Monday 12 February 2018, 07:36:51 pm
login to ssh
#apachectl restart

If you get this below error
 endian SSLCertificateFile: file /etc/httpd/server.crt does not exist or is empty

Then copy server.crt from /etc/httpd/cert/      to      /etc/httpd/

apachectl restart    or /etc/rc.d/init.d/httpd restart

you can just by using the Endian restart script:

restarthttpd --force

It will restart apache and regenerate the certificate or make a symlink