[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: httpd failed (OK)
Hi Sudhakar,
Thanks for the help. Now httpd is working. No errors.
What you meant by Is your computer connected to net ?
Even during this error I was able to connect to Internet & download the mail as
well as browse.
1) I have created the /etc/hostname file and the contents of it are :
localhost.localdomain.
2) Now my /etc/hosts file has the following contents :
127.0.0.1 localhost.localdomain www
3) My /etc/resolv.conf file has the following contents :
domain localhost.localdomain
search localhost.localdomain
nameserver 202.54.1.30
nameserver 202.54.17.30
Is everthing correct ?
Thanks again.
Regards
Rajesh
On Wed, 30 Jun 1999, you wrote:
> Rajesh Fowkar proclaimed:
> > When I type hostname at the prompt. I get the following
> >
> > $localhost.localdomain
> >
> > - There is no file with the name /etc/hostname.
>
> Then create a file and let the contents of it be the name of your machine.
>
> > - My /etc/hosts file is blank ( No contents ).
>
> this file should have contents and be of the format:
>
> IP_Address FQDN shortname
>
>
> In the case of a machine that has a static IP address this will be:
>
> IP_Address www.foo.com www
>
> (That is just an example. Change it according to your tastes.)
>
> In the case of a machine that is not connected to the net this will be:
>
> 127.0.0.1 www www
>
> (www is just an example. choose your own name.)
>
>
> > - There is a file called /etc/host.conf. The contents are as follows :
> > order hosts, bind
> > multi on
>
> This just means that when you do name lookups (using nslookup) the order
> for lookups to happen is the /etc/hosts file first and bind (ie. DNS) next.
>
> > - /etc/resolv.conf file has got the following line :
> > Search
>
> In case your machine is connected to the net this file should look like:
>
> domain your.domain.name
> search your.sub.domain
> nameserver 206.13.28.12
> nameserver 206.13.31.12
>
> Replace the two IP addresses in the above with the IP addresses of your
> primary and secondary DNS servers.
>
>
> If you have further questions, please tell us if your computer is connected
> to the net.
>
> Thaths
> --
> "If you really want something in life you have to work for it. Now quiet!
> They are about to announce the lottery numbers." -- Homer J. Simpson
> Sudhakar C13n http://people.netscape.com/thaths/ Lead Indentured Slave
>
> --------------------------------------------------------------------
> For more information on Linux in India visit http://www.linux-india.org/
- --
Rajesh Fowkar
- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
------------------------------