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

RE: contents of /etc/hosts gets deleted automatically



Hi everybody,

Thanks Atul. I have removed both .local files from /etc/ppp and the problem is
solved. 

Rajesh


 On Sat, 10 Jul 1999, you wrote:
> Sounds to me like you are using my /etc/ppp/ip-[up|down].local scripts from
> the PCQ issue, but goofed while typing them in or forgot to make both of
> them executable.
> 
> These scripts append/remove information from /etc/hosts based on the
> connection state to satisfy sendmail's demand for a valid hostname
> associated with your dialup IP address (which many times is wishful thinking
> because VSNL doesn't always assign names and register its IP addresses).
> 
> So check the scripts, or remove them (only the *.local files).
> 
> Atul
> 
> > -----Original Message-----
> > From: Majordomo [mailto:majordom@xxxxxxxxx]On Behalf Of Rajesh Fowkar
> > Sent: Saturday, July 10, 1999 9:06 AM
> > To: linux-india@xxxxxxxxx
> > Subject: contents of /etc/hosts gets deleted automatically
> >
> >
> > Hi friends,
> >
> > 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]
> >
> > 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.
> >
> 
> 
> --------------------------------------------------------------------
> 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/
The Linux India mailing list does not accept postings in HTML format.

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