Koozali.org: home of the SME Server

httpd failed

Daley

httpd failed
« on: October 06, 2001, 01:32:21 PM »
Hi there,

I don't know what did i did wrong, now my httpd seems to have problem to startup.

[root@e-smith conf]# /etc/rc.d/init.d/httpd start
Starting httpd: Syntax error on line 207 of /etc/httpd/conf/httpd.conf:
Missing IP address
[ FAILED ]

then, i tried to rectify and uncommented line 207, 443, and i got the difference error ...
[root@e-smith conf]# /etc/rc.d/init.d/httpd start
Starting httpd: [Wed Oct  3 16:33:36 2001] [error] Cannot resolve host name  ---
 ignoring!
[Wed Oct  3 16:33:36 2001] [error] Cannot resolve host name  --- ignoring!
[Wed Oct  3 16:33:36 2001] [error] Cannot resolve host name  --- ignoring!
[Wed Oct  3 16:33:36 2001] [error] Cannot resolve host name  --- ignoring!
[   OK   ]

--- /etc/httpd/conf/httpd.conf --
    205 Listen 127.0.0.1:80
    206 Listen 192.168.168.225:80
    207 #Listen :80
    208
    209 ##########################################################
    210 ##  SSL Global Context Configuration
    211 ##
    212 ##  All SSL configuration in this context applies both to
    213 ##  the main server and all SSL-enabled virtual hosts
    214 ##      (unless overridden by virtual hosts)
    215 ##
    216
    217 ##  SSL Support
    218 ##  When we also provide SSL we have to listen to the
    219 ##  standard HTTPS port - 443
    220 ##
    221 Listen 127.0.0.1:443
    222 Listen 192.168.168.225:443
    223 #Listen :443

kindly advise.

regards.

Dan Brown

Re: httpd failed
« Reply #1 on: October 06, 2001, 03:54:31 PM »
I don't know if this is your only problem or not, but lines 206 and 222 contain an invalid IP address--that's the broadcast address for your whole LAN, not a valid IP address for a specific machine on it.

Daley

Re: httpd failed
« Reply #2 on: October 06, 2001, 06:36:45 PM »
Hi Dan,

Well, xx.xx.xx.255 is the really the broadcast address, but is that anyway like to reinstall the e-smith apache.rpm? Thanks.

regards,

daley

Dan Brown

Re: httpd failed
« Reply #3 on: October 06, 2001, 06:54:08 PM »
I'm sorry, but I really don't have any idea what you're trying to say here.  However, if you're asking whether you need to reinstall apache, no, you don't.  Just go back through the console configuration and enter a valid IP address (not the broadcast address) for the internal IP.

Dan Brown

Re: httpd failed
« Reply #4 on: October 07, 2001, 04:32:00 AM »
BTW, I'd guess the other problem ('cannot resolve host name") is caused by your entering a bogus domain name when you configured the system.

Daley

Re: httpd failed
« Reply #5 on: October 07, 2001, 01:41:35 PM »
Hi Dan,

Thanks, I have been reconfigured the console configuration, enter the valid ip and domain name and restarted, but the httpd is still failed, can i reinstall the httpd rpm?

regards,

daley