> Nicu Popovici wrote:
> 
> Hello.
> 
> I have a computer with RedHat 5.2 and I have a problem with httpd
> daemon.
> Which is the problem.
> After I boot and after the httpd daemon was started the following
> message apears.
> httpd: Cannot determine local host name
> Use ServerName to set it manually.
> My problem is that I don't know why it appears and I don't know how to
> solve this problem.
> Please help.

The webserver cannot determine the local hostname.

Use the ServerName apache directive to configure it manually.

<grin>
 
> I have another problem. I try to start telnet from my server and all I
> get is a terminal where I can type something. I try to telnet from
> another machine and I can't but it don't give any message. With
> ifconfig and ping the network is good. I can ping myself.  I'm in a
> network with 5 another computers which is running WIN98 and when I try
> to telnet from one of these machines it does nothing.

Both problems point to a single cause ... the Linux machine cannot
resolve network addresses to hostnames.

In the first case (the webserver), the web server cannot determine the
name of the machine that it is running on, so you will need to add a
ServerName directive to your httpd.conf configuration file. See the
apache documentation for details.

In the second case, inetd is trying to do a reverse lookup on your
Windows 95 machines. After a while it will give up and let you in
anyway.

The simple way around all this is to build a hosts file with all six of
your computers. The better way is to set up your DNS correctly to do
reverse lookups.

thornton
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to