[Asterisk-Users] [OT] What's changing /etc/hosts?
Chris Shaw
chriss at watertech.com
Wed Aug 18 10:17:51 MST 2004
Why not try 'lsof' to see what processes might have it open or might be
writing to it...
----- Original Message -----
From: "Mark Woods" <asteriskadmin at fuse.net>
To: <asterisk-users at lists.digium.com>
Sent: Wednesday, August 18, 2004 10:09 AM
Subject: Re: [Asterisk-Users] [OT] What's changing /etc/hosts?
> do a 'ps -ef | more' or 'ps -aux | more' and look at the processes that
are listed to see if there is something running that might be doing it.
>
> Otherwise, I'd approach it by going through each of the startup scripts
(rc#.d, etc.) and then each application's startup scripts. A bit tedious,
but...
>
> -Mark
>
> >
> > Occasionally my /etc/hosts file gets corrupted. The IP address and the
> > host name switch positions with the host name to the left.
> >
> > What this happens, my 7940 phones won't register. Fixing /etc/hosts
> > allows the phones to register.
> >
> > Do any of you Linux gurus know who is corrupting the hosts file?
> >
> > Thanks,
> >
> > --
> > Michael Welter
> > Introspect Telephony Corp.
> > Denver, Colorado
> > +1 303 674 2575
> > mike at introspect.com
> > www.introspect.com
> >
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list