On Wed, 2003-03-05 at 19:02, Tyler Bushman wrote: > Micheal- > that was really good advice. I ran 'etc/init.d/httpd restart do and it > failed, but it told me why. I had a syntax error on line 176, which for > me was the ip address and the port to listen on. I fixed the error by > looking at the examples. After I fixed it I tried to restart it again, > and it told me that it failed, but no reason why. I tried typing in > 'tail /var/log/httpd/error_log' and I got: > > [Tue Mar 04 20:40:34 2003] [alert] (22002)Name or service not known: > mod_unique_id: unable to find IPv4 address of "bushman" > Configuration Failed
make sure that "bushman" is listed in /etc/hosts. Probably the best is to add it to the same line as localhost. That way it will always point to something, no matter what dhcp gives you for an ip address. > > I'm still checking into that, but you guys are helping me a ton. > Thanks for helping out! I'm kind of new to mailing lists, and it's easy > to see why so many post on this one. > > thanks again > Tyler > > > > > On Mon, 2003-03-03 at 20:44, Michael Torrie wrote: > > Strange. What does running '/etc/init.d/httpd restart' do? You will > > also want to 'tail /var/log/httpd/error_log' and see if there are any > > messages. > > > > I've never had any problems with apache, except when I was tweaking the > > conf file directly. > > > > Michael > > > > > > On Mon, 2003-03-03 at 20:12, Tyler Bushman wrote: > > > Have any of you newbies set up a webserver on your linux box yet? I've > > > tried reading the manuals for apache and it seems like I have it > > > installed just fine. Configuring it is another matter. I try to look > > > up http://localhost and it says "The connection was refused when > > > attempting to contact localhost." When I go to services I have httpd > > > checked off to start when I boot up. A weird thing though is that when > > > I try to stop that it says "httpd failed. The error was: Stopping httpd: > > > [FAILED]" > > > Here is how I have it set up through the G/etc/httpdUI on redhat 8.0 > > > > > > Main > > > server name: bushman.thebushmans.com (thebushmans.com is the domain > > > name that I bought) > > > Available addresses > > > All available addresses on port 80 > > > 12.254.239.10080 > > > Virtual Hosts > > > name/default virtual host > > > Address/default virtual host > > > Server > > > lock file:/var/lock/httpd.lock > > > PID file:/var/run/httpd.pid > > > core dump directory:/etc/httpd > > > User:apache > > > ] Group:apache/etc/httpd > > > Performance tuning is still set to defaults and I don't think anything > > > is wrong there. > > > > > > Any ideas guys? I'm pretty lost as it is, but setting up a web server > > > seems like it should be one of the fun things to do on linux. Anyone > > > want to donate some time to the meek and lowly - and stupid. Serious, > > > I'd be willing to do an oil change, car wash or whatever if someone > > > would come over and help me out with this. Maybe it is just something > > > simple, but it doesn't seem like it. > > > > > > Thanks for at least letting me vent... > > > > > > Tyler > > > > > > > > > -- Tyler Bushman <[EMAIL PROTECTED]> > > > > > > > > > _______________________________________________ > > > newbies mailing list > > > [EMAIL PROTECTED] > > > http://phantom.byu.edu/cgi-bin/mailman/listinfo/newbies > > > > _______________________________________________ > > newbies mailing list > > [EMAIL PROTECTED] > > http://phantom.byu.edu/cgi-bin/mailman/listinfo/newbies _______________________________________________ newbies mailing list [EMAIL PROTECTED] http://phantom.byu.edu/cgi-bin/mailman/listinfo/newbies
