Jump to content

Getting strange error at startup[SOLVED]


M_R
 Share

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
Link to comment
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.

Link to comment
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?

Link to comment
Share on other sites

Yes, please change to:

 

127.0.0.1 myhost localhost localhost.localdomain

 

.localdomain should not be added to your hostname.

Link to comment
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 =)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...