Re: Partition swap broke qmail

2001-02-28 Thread Chris Johnson

On Wed, Feb 28, 2001 at 04:04:57PM -0700, Stewart Vardaman wrote:
> Qmail was installed on a /var partition that turned out to be too small, so 
> I added a new 36 gig disk, made the old /var something else, and copied 
> everything with cp -R.  Brought the system back up with the new 36 gig /var 
> partition, and qmail is only partially running.  It does listen on port 25 
> and receive mail, but it doesn't seem to move messages past "preprocessed" 
> or deliver them.  Qstat looks like below, the 12 messages being my tests 
> after the new /var partition.

You can't move the queue around like that. You should fix your queue with the
queue-fix script, which you can find somewhere on www.qmail.org. You'll
probably also have to fix the permissions on your trigger. See
http://www.lifewithqmail.org/lwq.html#trigger

Chris

 PGP signature


Re: Partition swap broke qmail

2001-02-28 Thread Sean Reifschneider

On Wed, Feb 28, 2001 at 04:04:57PM -0700, Stewart Vardaman wrote:
>Qmail was installed on a /var partition that turned out to be too small, so 
>I added a new 36 gig disk, made the old /var something else, and copied 
>everything with cp -R.  Brought the system back up with the new 36 gig /var 
>partition, and qmail is only partially running.  It does listen on port 25 

Sounds like you didn't run "queue-fix" after you moved the box.  Check the
qmail web site for it and use it.  Make sure that it's set up with the same
conf-split as you built QMail with.

Sean
-- 
 "Engineering Tablets?  Does that mean if I swallow one, I'll be an engineer?"
 -- Evelyn Mitchell
Sean Reifschneider, Inimitably Superfluous <[EMAIL PROTECTED]>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python



RE: Partition swap broke qmail

2001-02-28 Thread schoon

Off the top of my head I think you have a rights problem. You should
have copied the /var/qmail directory with cp -Rp - the -p keeps current
permissions, etc.. 

.mark

>--
>From:  Stewart Vardaman[SMTP:[EMAIL PROTECTED]]
>Sent:  Wednesday, February 28, 2001 3:04 PM
>To:[EMAIL PROTECTED]
>Subject:   Partition swap broke qmail
>
>Qmail was installed on a /var partition that turned out to be too small, so 
>I added a new 36 gig disk, made the old /var something else, and copied 
>everything with cp -R.  Brought the system back up with the new 36 gig /var 
>partition, and qmail is only partially running.  It does listen on port 25 
>and receive mail, but it doesn't seem to move messages past "preprocessed" 
>or deliver them.  Qstat looks like below, the 12 messages being my tests 
>after the new /var partition.
>
>messages in queue: 1207
>messages in queue but not yet preprocessed: 12
>
>Other things that were on /var are all fine, and ps shows:
>
>root   699  0.0  0.0  1308  348 ?S14:39   0:00 supervise 
>qmail-smtpd
>root   701  0.0  0.0  1308  348 ?S14:39   0:00 supervise 
>qmail-send
>qmaild 703  0.0  0.0  1332  368 ?S14:39   0:00 tcpserver -v 
>-x/etc/tcp.smtp.cdb -u100 -g503 0 25 qmail-smtpd
>qmails1222  0.0  0.0  1352  340 ?S14:39   0:00 qmail-send
>root  1227  0.0  0.0  1324  364 ?S14:39   0:00 qmail-lspawn 
>|dot-forward .forward?./Maildir/
>qmailr1228  0.0  0.0 00 ?Z14:39   0:00 
>[qmail-rspawn ]
>qmailq1229  0.0  0.0 00 ?Z14:39   0:00 [qmail-clean 
>]
>root  3492  0.0  0.0  1588  604 pts/0S16:46   0:00 grep qmail
>
>I'm very new to Linux and qmail, and don't know what  
>means.  Below is my /var/log/messages file of qmail starting upon bootup.
>
>Feb 28 14:23:32 pmfp qmail: Starting mail-transport-agent:
>Feb 28 14:23:32 pmfp qmail: svc: warning: unable to control 
>/var/qmail/supervise/qmail-popup: supervise not running
>Feb 28 14:23:32 pmfp qmail: svc: warning: unable to control 
>/var/qmail/supervise/qmail-send: supervise not running
>Feb 28 14:23:32 pmfp qmail:  qmail
>Feb 28 14:23:32 pmfp qmail: svc: warning: unable to control 
>/var/qmail/supervise/qmail-smtpd: supervise not running
>Feb 28 14:23:32 pmfp qmail: svc: warning: unable to control 
>/var/qmail/supervise/qmail-popup/log: supervise not running
>Feb 28 14:23:32 pmfp qmail:  logging.
>Feb 28 14:23:32 pmfp qmail: svc: warning: unable to control 
>/var/qmail/supervise/qmail-send/log: supervise not running
>Feb 28 14:23:32 pmfp qmail: svc: warning: unable to control 
>/var/qmail/supervise/qmail-smtpd/log: supervise not running
>Feb 28 14:23:32 pmfp rc: Starting qmail:  succeeded
>
>Is there an easy fix, or should I restore /var from a tape backup?
>
>Stewart Vardaman
>mailto:[EMAIL PROTECTED]
>
>
>



Partition swap broke qmail

2001-02-28 Thread Stewart Vardaman

Qmail was installed on a /var partition that turned out to be too small, so 
I added a new 36 gig disk, made the old /var something else, and copied 
everything with cp -R.  Brought the system back up with the new 36 gig /var 
partition, and qmail is only partially running.  It does listen on port 25 
and receive mail, but it doesn't seem to move messages past "preprocessed" 
or deliver them.  Qstat looks like below, the 12 messages being my tests 
after the new /var partition.

messages in queue: 1207
messages in queue but not yet preprocessed: 12

Other things that were on /var are all fine, and ps shows:

root   699  0.0  0.0  1308  348 ?S14:39   0:00 supervise 
qmail-smtpd
root   701  0.0  0.0  1308  348 ?S14:39   0:00 supervise 
qmail-send
qmaild 703  0.0  0.0  1332  368 ?S14:39   0:00 tcpserver -v 
-x/etc/tcp.smtp.cdb -u100 -g503 0 25 qmail-smtpd
qmails1222  0.0  0.0  1352  340 ?S14:39   0:00 qmail-send
root  1227  0.0  0.0  1324  364 ?S14:39   0:00 qmail-lspawn 
|dot-forward .forward?./Maildir/
qmailr1228  0.0  0.0 00 ?Z14:39   0:00 
[qmail-rspawn ]
qmailq1229  0.0  0.0 00 ?Z14:39   0:00 [qmail-clean 
]
root  3492  0.0  0.0  1588  604 pts/0S16:46   0:00 grep qmail

I'm very new to Linux and qmail, and don't know what  
means.  Below is my /var/log/messages file of qmail starting upon bootup.

Feb 28 14:23:32 pmfp qmail: Starting mail-transport-agent:
Feb 28 14:23:32 pmfp qmail: svc: warning: unable to control 
/var/qmail/supervise/qmail-popup: supervise not running
Feb 28 14:23:32 pmfp qmail: svc: warning: unable to control 
/var/qmail/supervise/qmail-send: supervise not running
Feb 28 14:23:32 pmfp qmail:  qmail
Feb 28 14:23:32 pmfp qmail: svc: warning: unable to control 
/var/qmail/supervise/qmail-smtpd: supervise not running
Feb 28 14:23:32 pmfp qmail: svc: warning: unable to control 
/var/qmail/supervise/qmail-popup/log: supervise not running
Feb 28 14:23:32 pmfp qmail:  logging.
Feb 28 14:23:32 pmfp qmail: svc: warning: unable to control 
/var/qmail/supervise/qmail-send/log: supervise not running
Feb 28 14:23:32 pmfp qmail: svc: warning: unable to control 
/var/qmail/supervise/qmail-smtpd/log: supervise not running
Feb 28 14:23:32 pmfp rc: Starting qmail:  succeeded

Is there an easy fix, or should I restore /var from a tape backup?

Stewart Vardaman
mailto:[EMAIL PROTECTED]