PDA

View Full Version : QMail: Two copies installed?


dmxrob
03-19-2004, 04:25 PM
Hi all,

I was running qmail for some time using the Debian standard apt-get install package. However, wanting a more secure method, I followed the tutorial on this site and installed a totally new system. It works great!

Except...

Now I believe that on system restart, both qmail programs are starting up. I can see two entries in ps -A that look like this:

qmail <defunct>
tcpserver <defunct>

While they are there, mail will not deliver in or out of the system.

I can issue a:

/etc/init.d/qmail stop

To get them to stop and bring Qmail backup with an
/etc/init.d/qmail start

And all is normal again.

However, I'd REALLY like to get this old qmail install out of here. apt-get remove does not work as it wants to deinstall way too much, and wants me to install exim as a replacement.

Here is what shows if I do a locate qmail-send command:

pride1:/home/rstinnet# locate qmail-send
/service/qmail-send

/usr/man/man8/qmail-send.8.gz
/usr/sbin/qmail-send
/usr/src/qmail/qmail-1.03/qmail-send
/usr/src/qmail/qmail-1.03/qmail-send.0
/usr/src/qmail/qmail-1.03/qmail-send.8
/usr/src/qmail/qmail-1.03/qmail-send.9
/usr/src/qmail/qmail-1.03/qmail-send.c
/usr/src/qmail/qmail-1.03/qmail-send.o
/var/qmail/bin/qmail-send
/var/qmail/man/cat8/qmail-send.0
/var/qmail/man/man8/qmail-send.8
/var/qmail/supervise/qmail-send
/var/qmail/supervise/qmail-send/log
/var/qmail/supervise/qmail-send/log/run
/var/qmail/supervise/qmail-send/log/supervise
/var/qmail/supervise/qmail-send/run
/var/qmail/supervise/qmail-send/supervise

Any ideas?

Robert

Bookworm
03-19-2004, 06:08 PM
It's not actually two copies. /usr/src/qmail-1.03 is the source package for qmail, where you compile it. /var/qmail is the actual qmail install directory

You've got another problem - the <defunct> means that the supervise scripts aren't starting it up properly - you've probably skipped a step.

BW

Bookworm
03-19-2004, 09:17 PM
Oh, also - with the QmailRocks, it's qmailctl, not the rc.qmail file. (unless you have that symlinked)

BW