You are not logged in.

#1 2007-09-10 21:57:26

dninja
Member
From: Sheffield, UK
Registered: 2006-04-29
Posts: 374
Website

[Solved] courier-imap has stopped working - And Apache

Courier-imap has been working fine for months but overnight it just stopped working.

It starts up fine, nothing bad in the logs but then it doesn't respond to any IMAP commands.

Watching packet traces the 3 way handshake all happens ok but then the server never responds to the CAPABILITY request.

The setup is a home office, nothing between the server and client. testing with different clients and also running clients on the server itself all fail. All that has changed is a pacman upgrade last night and a reboot. The following packages were upgraded but none seem to be related to imap.

[2007-09-10 00:23] upgraded apache (2.2.4-2 -> 2.2.6-1)
[2007-09-10 00:24] upgraded kernel26 (2.6.22.5-1 -> 2.6.22.6-1)
[2007-09-10 00:24] upgraded libxrender (0.9.3-1 -> 0.9.4-1)
[2007-09-10 00:24] upgraded pango (1.18.0-1 -> 1.18.1-1)
[2007-09-10 00:24] upgraded perl-compress-raw-zlib (2.005-1 -> 2.006-1)
[2007-09-10 00:24] upgraded perl-io-compress-base (2.005-1 -> 2.006-1)
[2007-09-10 00:24] upgraded perl-io-compress-zlib (2.005-1 -> 2.006-1)
[2007-09-10 00:24] upgraded perl-compress-zlib (2.005-1 -> 2.006-1)
[2007-09-10 00:24] upgraded perl-io-zlib (1.05-1 -> 1.07-1)
[2007-09-10 00:24] upgraded perl-archive-tar (1.32-2 -> 1.34-1)
[2007-09-10 00:24] upgraded perl-digest-sha1 (2.11-1 -> 2.11-2)
[2007-09-10 00:24] upgraded perl-digest-hmac (1.01-1 -> 1.01-2)
[2007-09-10 00:24] upgraded perl-error (0.17008-4 -> 0.17009-1)
[2007-09-10 00:24] upgraded perl-html-tagset (3.10-1 -> 3.10-2)
[2007-09-10 00:24] upgraded perl-html-parser (3.56-1 -> 3.56-2)
[2007-09-10 00:24] upgraded perl-net-ssleay (1.25-2 -> 1.30-1)
[2007-09-10 00:24] upgraded perl-io-socket-ssl (0.97-1 -> 1.08-1)
[2007-09-10 00:24] upgraded perl-uri (1.35-1 -> 1.35-2)
[2007-09-10 00:24] upgraded perl-libwww (5.805-1 -> 5.808-1)
[2007-09-10 00:24] upgraded perl-net-ip (1.25-1 -> 1.25-2)
[2007-09-10 00:24] upgraded perl-net-dns (0.61-1 -> 0.61-2)
[2007-09-10 00:24] upgraded perl-netaddr-ip (4.004-1 -> 4.007-1)
[2007-09-10 00:24] upgraded perl-version (0.7203-1 -> 0.7203-2)
[2007-09-10 00:24] upgraded php (5.2.3-4 -> 5.2.4-1)
[2007-09-10 00:24] upgraded vi (7.1.87-1 -> 7.1.94-1)
[2007-09-10 00:24] upgraded vim (7.1.87-1 -> 7.1.94-1)

I've tried rebooting, restarting the demons but it just doesn't work. Please help!

Last edited by dninja (2007-09-12 21:00:43)

Offline

#2 2007-09-10 22:41:48

dninja
Member
From: Sheffield, UK
Registered: 2006-04-29
Posts: 374
Website

Re: [Solved] courier-imap has stopped working - And Apache

I've just noticed that imaplogin is now running at 100% cpu, it is obviously trying to do something but I don't know how to find out what.

Offline

#3 2007-09-10 23:22:29

dninja
Member
From: Sheffield, UK
Registered: 2006-04-29
Posts: 374
Website

Re: [Solved] courier-imap has stopped working - And Apache

More testing shows that if I run
/usr/sbin/imaplogin /usr/bin/imapd Maildir

I do get a valid imap connection which allows me to login etc.

So, I have a port that listens and will allow connections, I have a working imap server behind it but for some reason the two are not tied together.

But... If I telnet to 143 imapd does log that it has a connection.

Offline

#4 2007-09-11 16:09:52

dninja
Member
From: Sheffield, UK
Registered: 2006-04-29
Posts: 374
Website

Re: [Solved] courier-imap has stopped working - And Apache

Just realised that apache is suffering from the same problem. doesn't matter if I start it from apachectl or from the init scripts. The child processes start up as normal but as soon as you connect to one it goes to 100% cpu and then refuses to die, even from a kill -9 . I've checked and xinetd isn't involved. The processes all seem ok and the port is open and listening it just all dies when you make a connection to it.

squid, nfs and ssh are ok so networking in general can't be too broken.

Please help!

Offline

#5 2007-09-12 21:00:05

dninja
Member
From: Sheffield, UK
Registered: 2006-04-29
Posts: 374
Website

Re: [Solved] courier-imap has stopped working - And Apache

Solved!

See my answer in the kernel section, http://bbs.archlinux.org/viewtopic.php?pid=280890

Offline

Board footer

Powered by FluxBB