Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Dec 13, 2012 1:31 am 
Offline
Senior Newbie

Joined: Wed Mar 16, 2011 10:24 pm
Posts: 5
Website: http://jokefire.com/
Location: NJ
Hello,

I love my ubuntu 8.10 linode that I use as a zimbra mail server. However it has one annoying problem. It keeps renaming itself from hostname 'mail' to hostname 'li289-212' even if I am not logged in. How do I get it to stop behaving this way?

Thanks!


Top
   
PostPosted: Thu Dec 13, 2012 4:22 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Have you set the hostname in /etc/hostname ? (see http://library.linode.com/getting-start ... ntu-debian) Also 8.10's support ended a long time ago, you should upgraded to a LTS release (i.e. 12.04) asap.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
PostPosted: Thu Dec 13, 2012 10:23 pm 
Offline
Senior Newbie

Joined: Wed Mar 16, 2011 10:24 pm
Posts: 5
Website: http://jokefire.com/
Location: NJ
obs wrote:
Have you set the hostname in /etc/hostname ? (see http://library.linode.com/getting-start ... ntu-debian)


yup!

Code:
[root@li289-212:~] #cat /etc/hosts
127.0.0.1 localhost
xx.xx.xx.xx mail.mylinode.com mail




Quote:
Also 8.10's support ended a long time ago, you should upgraded to a LTS release (i.e. 12.04) asap.


Yeah yeah yeah. :D When I get a moment to breath it'll be the first thing I do! No seriously, I'd like to. Finding the time is the problem.

And actually I was mistaken. I'm on 10.0.4.

Code:
[root@li289-212:~] #cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.4 LTS"


I honestly don't muck with this host very often. For the most part it just WORKS!


Top
   
PostPosted: Thu Dec 13, 2012 10:42 pm 
Offline
Senior Member
User avatar

Joined: Tue Apr 13, 2004 6:54 pm
Posts: 833
bluethundr wrote:
Hello,

I love my ubuntu 8.10 linode that I use as a zimbra mail server. However it has one annoying problem. It keeps renaming itself from hostname 'mail' to hostname 'li289-212' even if I am not logged in. How do I get it to stop behaving this way?

Thanks!

My guess: You're configured to use DHCP and the dhcp daemon is changing the name when it renews the IP address.

Either configure your dhcp client to not reset the hostname (RTFM) or else switch to static IP.

_________________
Rgds
Stephen
(Linux user since kernel version 0.11)


Top
   
PostPosted: Thu Dec 13, 2012 10:54 pm 
Offline
Senior Newbie

Joined: Wed Mar 16, 2011 10:24 pm
Posts: 5
Website: http://jokefire.com/
Location: NJ
sweh wrote:
bluethundr wrote:
Hello,

I love my ubuntu 8.10 linode that I use as a zimbra mail server. However it has one annoying problem. It keeps renaming itself from hostname 'mail' to hostname 'li289-212' even if I am not logged in. How do I get it to stop behaving this way?

Thanks!

My guess: You're configured to use DHCP and the dhcp daemon is changing the name when it renews the IP address.

Either configure your dhcp client to not reset the hostname (RTFM) or else switch to static IP.



Ok I'll check it out. Btw, I upgraded to 12.0.4 LTS. It was very surprisingly NOT HARD!!

:shock:

Code:
[root@localhost:~] #cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.1 LTS"


I'll probably check out the dhcp angle tomorrow tho. Too tired and have to head to bed. Thanks for the tip tho!


Top
   
PostPosted: Fri Dec 14, 2012 6:38 am 
Offline
Senior Member
User avatar

Joined: Tue Jan 04, 2005 7:32 am
Posts: 277
Website: http://www.betadome.com/
Location: Ă…lesund, Norway
Skype: neonnero
Twitter: neonnero
bluethundr wrote:
obs wrote:
Have you set the hostname in /etc/hostname ? (see http://library.linode.com/getting-start ... ntu-debian)


yup!

Code:
[root@li289-212:~] #cat /etc/hosts
127.0.0.1 localhost
xx.xx.xx.xx mail.mylinode.com mail

So what's in your /etc/hostname file, then? (He didn't ask about /etc/hosts - that's a completely different file.)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group