SiD3WiNDR Gears  Hacker Emblem  

Archive for July 18th, 2009

localhost not found
Date: July 18th, 2009 by SiD3WiNDR
Categories: Computing, Linux

I just had the following error while trying to start Smokeping on one of my newly installed machines:

ERROR: fping (‘/usr/bin/fping -C 1 localhost’) could not be run: localhost address not found

After digging around somewhat (this worked fine when run on the commandline) turns out my /etc/hosts was chmodded 700 instead of 744. Weird, but this meant only root could resolve it. What I don’t understand is why this did not work – my resolvers also return 127.0.0.1 for the “localhost” query.

Anyway, if you get this error, check if the smokeping user can resolve localhost too 😉

As Kris would say, it was some sort of DNS problem… 😉

Comments Off on localhost not found
Weblog Calendar
July 2009
M T W T F S S
« Jun   Aug »
 12345
6789101112
13141516171819
20212223242526
2728293031  
Sales

Browsing archives for the day Saturday, July 18th, 2009.

Pages
Archives
Categories
Links
Meta
© 2002-2024, SiD3WiNDR - Proudly powered by WordPress - XHTML Compliant - RSS (Entries) - RSS (Comments)