I poked around in my log files out of curiosity. To my horror, I found that every 30 seconds, all day long, three messages are being written to the system log for each other computer on my local network.
Details: I'm on Mac OS X 10.3.8. I looked at the system log (file /var/log/system.log), which you can view most easily with the Console application in the Utilities folder.
The messages I see have the following form, where "doctorq" is the name of another host on my local network and 192.9.200.100 is its IP address.
To see what I could learn from a fresh start, I cleared the log and rebooted. I got the following two messages, following by the every-30-second behavior again.
What started this is not a mystery. The computers on my local network each have manually assigned (static) IP addreses, and weeks ago I used the NetInfo Manager utility to add "doctorq" to my local NetInfo database, as follows:
I'm used to editing /etc/hosts on my Unix systems, and I was trying to do the equivalent by using NetInfo on my Mac, since the "BSD Flag File and NIS" choice in the "Directory Access" utility isn't on by default. I figured I was doing things the proper "Mac way" by using NetInfo to define the IP addresses for the various hosts. Apparently that wasn't a good idea. But why not?
I can switch to use of /etc/hosts and turn on "BSD Flag File and NIS" if that's the only way it would work, and remove these entries from NetInfo, but I'd like to understand what's going on.
What ARE the proper ways to let a Mac know the names/addresses of other computers with manually assigned IP addresses? And why am I getting these messages?
Details: I'm on Mac OS X 10.3.8. I looked at the system log (file /var/log/system.log), which you can view most easily with the Console application in the Utilities folder.
The messages I see have the following form, where "doctorq" is the name of another host on my local network and 192.9.200.100 is its IP address.
Code:
Mar 30 14:29:17 localhost netinfod local[119]: notify's udp binder connection to doctorq[192.9.200.100]/local failed during opening (UDP) - socket_open failed
Mar 30 14:29:17 localhost netinfod local[119]: notify's tcp binder connection to doctorq[192.9.200.100]/local failed during opening (TCP) - socket_connect failed
Mar 30 14:29:17 localhost netinfod local[119]: update 0 to doctorq[192.9.200.100]/local failed during binder contacting - couldn't getregister
Code:
Mar 30 17:49:24 localhost netinfod local[121]: ni_crashed's udp binder connection to doctorq[192.9.200.100]/local failed during opening (UDP) - socket_open failed
Mar 30 17:49:24 localhost netinfod local[121]: ni_crashed's tcp binder connection to doctorq[192.9.200.100]/local failed during opening (TCP) - socket_connect failed
/machines/doctorq:
ip_address = 192.9.200.100
name = doctorq
serves = ./local
That lets me use hostname "doctorq" in URLs and commands in Terminal such as ping, telnet, ftp, etc. I did the same for other hosts on the network. Apparently, I've been getting these messages from netinfod ever since then.ip_address = 192.9.200.100
name = doctorq
serves = ./local
I'm used to editing /etc/hosts on my Unix systems, and I was trying to do the equivalent by using NetInfo on my Mac, since the "BSD Flag File and NIS" choice in the "Directory Access" utility isn't on by default. I figured I was doing things the proper "Mac way" by using NetInfo to define the IP addresses for the various hosts. Apparently that wasn't a good idea. But why not?
I can switch to use of /etc/hosts and turn on "BSD Flag File and NIS" if that's the only way it would work, and remove these entries from NetInfo, but I'd like to understand what's going on.
What ARE the proper ways to let a Mac know the names/addresses of other computers with manually assigned IP addresses? And why am I getting these messages?