[BlueOnyx:18384] Re: Hosts changing to localhost.localdomain

Colin Jack colin at mainline.co.uk
Thu Sep 24 03:58:28 -05 2015


Michael? Help! :)

Must be a better solution?

Colin

> -----Original Message-----
> From: blueonyx-bounces at mail.blueonyx.it [mailto:blueonyx-
> bounces at mail.blueonyx.it] On Behalf Of Christoph Schneeberger
> Sent: 24 September 2015 09:42
> To: blueonyx at mail.blueonyx.it
> Subject: [BlueOnyx:18383] Re: Hosts changing to localhost.localdomain
> 
> This is biting me since years. What I do is to delete /etc/hosts, reboot the vps
> (then it creates a good one) and then I set it to immutable (chattr +i).
> This is far from perfect und you have to remember to remove the immutable bit
> before migrating or deleting the vps but it lets you sleep at the weekends or
> whenever upset customers start to call in.
> 
> HTH - Christoph
> 
> On 09/24/2015 10:20 AM, Colin Jack wrote:
> > We keep getting problems with clients saying email from their websites is
> bouncing and when I check I find the /etc/hosts file has changed on the server
> and mail is being sent from apache at localhost.localdomain:
> >
> > # Auto-generated file.  Keep your customizations at the bottom of this file.
> > #END of auto-generated code.  Customize beneath this line.
> > ### Begin - Nuonce hosts Fix
> > ###  End  - Nuonce hosts Fix
> > 127.0.0.1 localhost.localdomain localhost server6-venet0
> > server6.mainline.co.uk server6-venet0.mainline.co.uk # Auto-generated
> hostname. Please do not remove this comment.
> > 192.168.10.135 server6.mainline.co.uk server6-venet0:0
> > server6-venet0:0.mainline.co.uk  server6
> > ::1 localhost
> >
> > I manually edit the hosts file and remove the offending item and then a few
> weeks later it happens again.
> > Where is the template held so I can make a permanent change?
> >
> > This is happening on a number of VPS - not sure whether this is Aventurin{e}
> or BXmaking the change.
> >
> > All are VPS on Aventurin{e} clusters - in the above case it is an old 5106R.
> >
> > Many thanks
> >
> > Colin
> >
> > _______________________________________________
> > Blueonyx mailing list
> > Blueonyx at mail.blueonyx.it
> > http://mail.blueonyx.it/mailman/listinfo/blueonyx
> 
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx




More information about the Blueonyx mailing list