![]() |
Mac Clients Stall with OS X Server - lookupd bug
The
information in this article applies to:
OSX Server 10.0.x
Mac OS 9.1
This article describes how to fix the OSX Server bug where Appleshare clients running OS 9.1 would freeze for up to 5 minutes. The log files would also show the following:
Month Date Time localhost
lookupd[180]: NetInfo connection failed for server 127.0.0.1/local
Month Date Time localhost lookupd[180]: Domain /: can't get checksum
There is a fault
with lookupd which Apple have not fixed yet
Keep a terminal window open on the server, when the stalls occur type in the following
kill -HUP `cat /var/run/lookupd.pid`
This will stop
the current stall. However they will come back so this is not a permanent fix.
Due to this I do not recommend installing OS X Server in a production enviroment.
Either login to the server as root, or issue the command su in the terminal. The system will prompt you for the root password; which is the same as the admin account you set up on install.
If you have not already done so (after logging in) launch the terminal app. It is found in the /Applications/Utilities Folder and is called Terminal.
Once that is launched you need to execute the following commands. I recommend copying and pasting each line exactly as they are posted below. In Unix syntax and special characters are very important. Paste (or type) each one individually, then hit return.
The reason you are not finding these folders in NetInfo is because they have not been created yet.
niutil -create . /locations/lookupd
niutil -create . /locations/lookupd/agents
niutil -create . /locations/lookupd/agents/NIAgent
niutil -createprop . /locations/lookupd/agents/NIAgent ConnectTimeout 10
Once you have done this paste the following command into the terminal to restart lookupd. This must be done for the changes to take effect, but dont worry it will not disconnect anyone.
kill -HUP `cat /var/run/lookupd.pid`