Benjamin: You're on the right track. It's in name resolution. Since you pointed that way I went out to my /etc/sysconfig/network file. It had HOSTNAME=RHServer.Kettmann. I don't use Names in my home network. Most of the network is Win98SE boxes and I needed the name for Samba compatibility. At any rate, I don't know why I thought the Hostname had to be fully qualified. I changed it to just RHServer and at least HTTPD starts now. It gives an error at start "could not determine the servers fully qualified domain name. using 127.0.0.1 for servername" or words to that effect. It works now.
As far as the hostname commands. The first couple work now. -a is blank, -i is the loopback address, host 'hostname' returns "Host hostname. not found: 3(NXDOMAIN)" and the -i one is similar. Thanks for your help. If you see something I should fix, great. If not... Hey, at least it's working now. Benjamin Scott wrote: > On Thu, 4 Oct 2001, Greg Kettmann wrote: > > I'm running RH 7.1 with the default Apache (1.3.19). It was working > > last week, then the power failed. Now it won't work. The only thing I > > know I've done is to modify the /etc/sysconfig/network file to reflect > > the machine name, that fixed a problem with Samba. When I start the > > service it just says FAILED. > > I suspect a problem with name resolution, in particular with your system > resolving its own hostname. > > Check the output of these commands: > > hostname > hostname -s > hostname -f > hostname -a > hostname -i > host `hostname` > host `hostname -i` > > It should all be consistent. > > > There is nothing in the error logs. > > Check /var/log/httpd/* and /var/log/* > > > I couldn't see any way to start the httpd in verbose mode. > > Try "httpd" to start Apache manually, and see what it says. > > Also, try "httpd -t" to run a syntax check on your config files (worth a > shot). > > > Oh, I found nothing in /var/log/messages and dmesg shows nothing > > interesting. > > dmesg is for kernel messages only. > > Did you check other files in /var/log/ ? In particular, "boot.log" may > contain output from the initscript that starts Apache (bit of a misnomer, > there). > > -- > Ben Scott <[EMAIL PROTECTED]> > | The opinions expressed in this message are those of the author and do not | > | necessarily represent the views or policy of any other person, entity or | > | organization. All information is provided without warranty of any kind. | > > ********************************************************** > To unsubscribe from this list, send mail to > [EMAIL PROTECTED] with the following text in the > *body* (*not* the subject line) of the letter: > unsubscribe gnhlug > ********************************************************** ********************************************************** To unsubscribe from this list, send mail to [EMAIL PROTECTED] with the following text in the *body* (*not* the subject line) of the letter: unsubscribe gnhlug **********************************************************
