Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-19-2004, 08:50 PM
|
#1
|
Member
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301
Rep:
|
nagios error messages
Howdy~
I finally got Nagios to run after 1 whole week!
Seriously a cool network monitoring program!
At the moment i am getting these 2 error lines all over my /var/log/messages:
Code:
servername nss_wins[20285]: My unqualified host name (servername) unknown: sleeping for retry
servername nss_wins[20280]: unable to qualify my own domain name (servername) -- using short name
Does the 2 lines have anything to do with /etc/nsswitch.conf?
If anybody is wants to see Nagios at work, try:
http://nagios.square-box.com/
username = guest
password = guest
Thanks in advance 
~WiLL~
|
|
|
08-19-2004, 10:28 PM
|
#2
|
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791
Rep:
|
Great job kenji but I feel you are giving away a lot of information about your network. I would rather you disable the guest login immediately.
|
|
|
08-19-2004, 11:37 PM
|
#3
|
Member
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301
Original Poster
Rep:
|
haha, i wish i that site was mine as well!
I just happened to browsed across that site while surfing for Nagios infos~
Seriously, I wished i could get Nagios to work like that one demo-d by that square-box company
Anyway, thanks a lot for the warning!
AdioS~
Last edited by kenji1903; 08-19-2004 at 11:43 PM.
|
|
|
08-20-2004, 12:02 AM
|
#4
|
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791
Rep:
|
You got me there 
|
|
|
08-20-2004, 05:28 AM
|
#5
|
Member
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301
Original Poster
Rep:
|
My apologies, bro! 
I am a pure
Umm... any hints with the errors that i got in /var/log/messages?
|
|
|
08-20-2004, 05:59 AM
|
#6
|
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791
Rep:
|
does your server name appear in /etc/hosts.
|
|
|
08-20-2004, 07:40 AM
|
#7
|
Member
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301
Original Poster
Rep:
|
my /etc/hosts just has some comments in it...
should it have something that looks like:
Code:
192.168.123.1 servername
?
|
|
|
08-20-2004, 11:07 AM
|
#8
|
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791
Rep:
|
yes, that OR you can put servername on the 127.0.0.1 line. Hope you have the 127 line on your /etc/hosts.
|
|
|
08-20-2004, 08:29 PM
|
#9
|
Member
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301
Original Poster
Rep:
|
weird... i only have this:
Code:
# Do not remove the following line, or various programs
# that require network functionality will fail
in my /etc/hosts...
Last night i added 192.168.123.1 servername right below the comments.
Should I have something else?
hm... i remember having 127.0.0.1 some time ago...
Oh, sh*t... Is the hosts tab under network configuration related to the /etc/hosts???
I recently deleted the line IP: 127.0.0.1 aliases: localhost there!!!
|
|
|
08-21-2004, 05:07 AM
|
#10
|
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791
Rep:
|
the 127 line goes like
127.0.0.1 localhost.localdomain localhost
you can add other names like
loghost yourpcname yourpcname.yourdomain
|
|
|
All times are GMT -5. The time now is 08:29 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|