Jump to content
  • Announcements

    • spinynorman

      Mandriva Official Documentation

      Official documentation for extant versions of Mandriva can be found at doc.mandriva.com.   Documentation for the latest release may take some time to appear there. You can install all the manuals from the main repository if you have Mandriva installed - files are prefixed mandriva-doc.
    • paul

      Forum software upgrade   10/29/17

      So you may have noticed the forum software has upgraded !!!
      A few things that have changed. We no longer have community blogs (was never really used) We no longer have a portal page.
      We can discuss this, and decide whether it is needed (It costs money) See this thread: Here
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

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
Sign in to follow this  

×