Jump to content
Sign in to follow this  
M_R

Getting strange error at startup[SOLVED]

Recommended Posts

Hello. I once changed the name of the host from localhost to another thing. After that I started getting this error at the startup screen (you know the one that appears when you press scape when the system is boting):

 

 

msec: enabling msec security policy traceback

 

Failed to listen on localhost: failed to look up 'localhost' name or service not known /bon/bash/ line 1 2437 aborted

 

Any ideas? This is not affecting anything I can see. But I still feel uneasy to see those red failed mesages at startup.

Edited by M_R

Share this post


Link to post
Share on other sites

Make sure your /etc/hosts has your hostname in it and also shows localhost as well - you need this.

 

127.0.0.1 myhostname localhost

 

something like this. Of course, myhostname being the name of your machine.

Share this post


Link to post
Share on other sites

Thanks for replying. I have something like this:

 

# generated by drakhosts

127.0.0.1 MYHOST.localdomain MYHOST localhost

 

should I change it? What about that drakhosts thing?

Share this post


Link to post
Share on other sites

Yes, please change to:

 

127.0.0.1 myhost localhost localhost.localdomain

 

.localdomain should not be added to your hostname.

Share this post


Link to post
Share on other sites

Yes, please change to:

 

127.0.0.1 myhost localhost localhost.localdomain

 

.localdomain should not be added to your hostname.

 

Allright, I changed it. Thank, thank you you very much. You're awesome =)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...