Discussion:
"error sending to idled"
Adam Tauno Williams
2006-02-20 01:30:32 UTC
Permalink
Cyrus IMAPd 2.2.8

In /etc/cyrus.conf I have:
SERVICES {
...
idle cmd="idled" listen="/var/lib/imap/socket/idle" prefork=0
...
}

And in /etc/imapd.conf I have:
idlesocket: /var/lib/imap/socket/idle

And the idle socket exists and is being listened to:
sardine:/etc # fuser -u /var/lib/imap/socket/idle
/var/lib/imap/socket/idle: 15835(root)
sardine:/etc # ps ax | grep 15835
15835 ? Ss 0:06 /usr/lib/cyrus/bin/master
-p /var/run/cyrus.pid -d
18833 pts/1 S+ 0:00 grep 15835

But I continuously see messages in the log file like:
imap[18492]: error sending to idled: 2

And I don't see any idled processes running:
sardine:/etc # ps ax | grep idled
18841 pts/1 S+ 0:00 grep idled
sardine:/etc #

What am I missing?
Steve Huston
2006-02-20 03:49:34 UTC
Permalink
Post by Adam Tauno Williams
SERVICES {
...
idle cmd="idled" listen="/var/lib/imap/socket/idle" prefork=0
...
}
imap[18492]: error sending to idled: 2
sardine:/etc # ps ax | grep idled
18841 pts/1 S+ 0:00 grep idled
sardine:/etc #
What am I missing?
I just decided to turn on idled this weekend on our server, and
discovered that since I didn't run ./configure with the '--enable-idled'
option, idled wasn't compiled (and I assume support for it wasn't in
imapd, since the subsequent 'make' generated those two binaries).
--
Steve Huston - W2SRH - Unix Sysadmin, Dept. of Astrophysical Sciences
Princeton University | ICBM Address: 40.346525 -74.651285
126 Peyton Hall |"On my ship, the Rocinante, wheeling through
Princeton, NJ 08544 | the galaxies; headed for the heart of Cygnus,
(609) 258-7375 | headlong into mystery." -Rush, 'Cygnus X-1'
Loading...