[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: /etc/hosts file becomes empty after KPPP connects to the Internet



On Sat, 17 Jul 1999, Rajesh Fowkar wrote:

*>Hello everybody,
*>
*>My /etc/hosts file contains :
*>127.0.0.1    localhost.localdomain
*>
*>I have observed that whenever I run KPPP the contents of /etc/hosts file gets
*>deleted as a result during the next reboot I get the error 
*>httpd               [failure]

Only thing I can suggest is run ptrace on kppp and see what is happening.

- -Chetan S


*>
*>I have to type the contents again or copy some backup copy of that file back to
*>/etc directory ? 
*>
*>Any clue why is this happening ? I tried to make the file readonly chmod 444
*>/etc/hosts without any success.
*>
*>What should I do to rectify this ?
*>
*>Thanks in advance
*>
*> --
*>**************************
*>Rajesh Fowkar
*>
*>------------------------------------------------------------------- 
*>"Windows 98 is a buggy browser on top of a 32-bit extension and 
*>a graphical shell for a 16-bit patch to an 8-bit operating  
*>system originally coded for a 4-bit microprocessor, written by a 
*>2-bit company that can't stand 1 bit of competition." 
*>                                                    --unknown 
*>------------------------------------------------------------------- 
*>
*>
*>--------------------------------------------------------------------
*>For more information on Linux in India visit http://www.linux-india.org/
*>Please do not post HTML email to this mailing list.  HTML mails will be
*>thoroughly ignored and derisively sniggered at in private.
*>--
*>**************************
*>Shriram alias Rajesh Fowkar
*>
*>-------------------------------------------------------------------  
*>UNIX, MS-DOS and Windows 
*>Also know as 
*>The Good, The BAD and the _UGLY_ 
*>-------------------------------------------------------------------  
*>
*>
*>--------------------------------------------------------------------
*>For more information on Linux in India visit http://www.linux-india.org/
*>Please do not post HTML email to this mailing list.  HTML mails will be
*>thoroughly ignored and derisively sniggered at in private.
*>


The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself.  Therefore all
progress depends on the unreasonable man.
                -- George Bernard Shaw



- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
Please do not post HTML email to this mailing list.  HTML mails will be
thoroughly ignored and derisively sniggered at in private.

------------------------------

End of Linux India Digest V1 #113
*********************************

--------------------------------------------------------------------
To unsubscribe send an email to majordomo@xxxxxxxxx with the word
'unsubscribe linux-india-digest' (without the quotes) in the body
of the email.