Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: xinetd wedged!!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: xinetd wedged!!
Authored by: babbage on Jun 09, '05 12:22:20AM

I keep seeing the same thing, and damn if I know why.

Every time I reboot, I've pretty much got a 50/50 chance that IMAP will be working when the system comes back up. It either all works fine, or it's completely inert: the log file shows no activity, attempts to telnet to the IMAP or IMAPS ports fail, and no mail client gets anywhere.

After a lot of painful trial and error, I've more or less got it narrowed down to something choking with xinetd, but who knows what the problem is. If IMAP is wedged, a quick killall -HUP xinetd does the trick, but I can't for the life of me figure out why this is necessary in the first place, or, more mysteriously, why it works half the time and fails half the time.

For now, my oh-so-elegant solution is to just desperately avoid reboots :-/

---

--
DO NOT LEAVE IT IS NOT REAL

[ Reply to This | # ]

10.4: xinetd wedged!!
Authored by: tinker on Nov 20, '05 07:24:56PM
I've discovered an even more inelegant solution to my mail-freeze program -- add

0-55/5 * * * * launchctl unload /Library/launchdaemons/imap3.plist;launchctl unload /Library/launchdaemons/imaps.plist; launchctl load /Library/launchdaemons/imap3.plist;launchctl load /Library/launchdaemons/imaps.plist

to the root crontab. Whatever is causing this freezing behavior rarely happens within the first five minutes of these daemons' execution....

[ Reply to This | # ]