The FreeBSD Diary |
(TM) | Providing practical examples since 1998If you buy from Amazon USA, please support us by using this link. |
auth/tcp server failing (looping), service terminated
29 July 2000
|
Here's an interesting message I found in my logs:inetd[128]: auth/tcp server failing (looping), service terminated I had no idea what it meant. But if you read man inetd, it explains it:
Essentially, inetd is getting more requests for the auth service than it has been told to handle. The auth service is handled by identd on my box. |
Changing the configuration
|
I looked in /etc/defaults/rc.conf to see if I could find
something related to inetd. I did:# grep inetd /etc/defaults/rc.conf inetd_enable="YES" # Run the network daemon dispatcher (or NO). inetd_flags="-wW" # Optional flags to inetd So I added this to /etc/rc.conf: inetd_flags="-wW -R 1024" # Optional flags to inetd Note that you should not modify /etc/defaults/rc.conf. |
Why the problem occurred
|
I noticed that the problem was occuring during times of mailing list
activity. When the mail server was going flat-out trying to deliver mail, the error
message would occur. The following command would show all identd requests:tcpdump -i ed0 port 113 This command shows me the ongoing mail log: tail -F /var/log/maillog I could easily see that when the mail messages started flowing, the auth requests started as well. That's normal. Most mail servers act that way. They use auth as part of the security check. |
What didn't work
|
This bit didn't work. Don't do this. Then I hup'd inetd: killall -hup inetd But after about ten minutes, the problem returned. |
This did work
|
I killed inetd:killall -term inetd Then I started inetd using the same flags from /etc/rc.conf: /usr/sbin/inetd -wW -R 1024 The problem did not recur. Yea team! |