vm-pop3d more dead than usual

drewishus

Verified User
Joined
Dec 29, 2006
Messages
9
Hi,
I've seen a bunch of the other threads related to vm-pop3d being down, but I'm not able to figure out why mine is still down.
In a nutshell, it looks like cyrus-master has taken over port 110, keeping vm-pop3d from using it:

[root@web2 subsys]# netstat -lpn | grep 110
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 2369/cyrus-master
tcp 0 0 :::110 :::* LISTEN 2369/cyrus-master

I've deleted the subsys lock file, killall'd the service:
[root@web2 subsys]# ps ax | grep pop
30509 ? Ss 0:00 /usr/local/directadmin/da-popb4smtp
32292 ? S 0:00 pop3d
32293 ? S 0:00 pop3d -s
32295 ? S 0:00 pop3d -s
32323 ? S 0:00 pop3d
32324 ? S 0:00 pop3d
32652 ? S 0:00 pop3d
32653 ? S 0:00 pop3d
32654 ? S 0:00 pop3d
436 pts/0 S+ 0:00 grep pop
[root@web2 subsys]# killall -9 pop3d
[root@web2 subsys]# ps ax | grep pop
30509 ? Ss 0:00 /usr/local/directadmin/da-popb4smtp
32323 ? Z 0:00 [pop3d] <defunct>
32324 ? Z 0:00 [pop3d] <defunct>
32652 ? Z 0:00 [pop3d] <defunct>
32653 ? Z 0:00 [pop3d] <defunct>
32654 ? Z 0:00 [pop3d] <defunct>
459 ? S 0:00 pop3d
460 ? S 0:00 pop3d -s
461 ? S 0:00 pop3d -s
463 pts/0 S+ 0:00 grep pop
[root@web2 subsys]#

But, as you can see, it just comes right back, and in no time at all, there's the same amount of them running again. The maillog, of course, keeps showing:
May 17 08:33:11 web2 vm-pop3d[617]: Couldn't bind to socket: Address already in use

After checking maillog for other info on this cyrus process, starting this morning, I see lots of these in the logs:
May 17 00:20:37 web2 master[2409]: about to exec /usr/lib/cyrus-imapd/imapd
May 17 00:20:37 web2 master[2410]: about to exec /usr/lib/cyrus-imapd/pop3d

How did this process get started all the sudded from cyrus?? So, I change the name of the binary in the cyrus-imapd directory, killall the processes, and I STILL can't start vm-pop3d.
More errors from the maillog at this point:

May 17 08:42:19 web2 master[2369]: process 1559 exited, status 71
May 17 08:42:19 web2 master[2369]: service pop3 pid 1559 in READY state: terminated abnormally
May 17 08:42:19 web2 master[1560]: about to exec /usr/lib/cyrus-imapd/pop3d
May 17 08:42:19 web2 master[1560]: couldn't exec /usr/lib/cyrus-imapd/pop3d: No such file or directory
May 17 08:44:01 web2 vm-pop3d[1760]: Couldn't bind to socket: Address already in use

So, I edit /etc/cyrus.conf, and pop3 and pop3s are in there! Does anyone have any idea how they could have been suddenly "turned on" this morning? Could DA have updated the file? I don't allow shell access to the box, and that would be the dumbest hack ever if that's what it was. Anyone have any ideas?
Thanks,

Andrew
 
Back
Top