You are not logged in.
This was something I ran across recently when installing NTP...for some reason, if I change the loopback alias to my actual machine name, the command <code>ntpq -p</code> would not work...it would reply: Name or service not known. However, leaving the alias as localhost and trying the command again works just fine.
The reason I had altered it initially was due to Xfce giving me a warning dialog box upon startup that says it cannot find the host. Changing my loopback line to
127.0.0.1 localhost.localdomain servername
instead of the default...
127.0.0.1 localhost.localdomain localhost
eliminated that error message and Xfce would start up with no problems. I vaguely remember reading somewhere that it should be left at localhost and not be set to your actual machine name, but I don't remember the reasoning behind it. Do I really have to choose one error or the other? Any thoughts?
Offline
just add it. put em both in there.
127.0.0.1 localhost.localdomain localhost servername
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
Ahhh...never knew you could do that. I'll give that a shot once I get home and let you know if it worked. Thanks Mr. Prickly!
Offline
Yep...that seemed to fix it right up. Thanks again!
Offline