I have a server dedicated to project gamera and am having a hard time deleting from the queue. I am using qmHandle and when I run qmhandle Sfailure I get:
Calling system script to terminate qmail...
Stopping qmail: .........s.to p. q.mai.l se.rvsvc-stop: Fatal error: Failed to stop 'qmail'.
Uncaught exception from user code:
Could not stop qmail: Bad file descriptor at /usr/bin/qmhandle.pl line 165
I have tried to stop qmail manually by using the commands:
# qmailctl stop
# svc -t /usr/bin/qmail-send /usr/bin/qmail-send/log
# /etc/rc.d/qmail stop
I can't get it to stop. I have thousand of messages stuck in the queue and a couple of hundred in preprocess.
Any help guys? Thanks,
Sonny
Can't delete from queue
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: Can't delete from queue
svc-stop smtpd
svc-stop qmail
then clear your queue
svc-start qmail
svc-start smtpd
svc-stop qmail
then clear your queue
svc-start qmail
svc-start smtpd
-
- Forum User
- Posts: 76
- Joined: Wed Feb 16, 2005 11:30 am
Re: Can't delete from queue
Also check out this post where prupert shares another way to resolve this issue
http://www.atomicorp.com/forum/viewtopi ... t=qmhandle
http://www.atomicorp.com/forum/viewtopi ... t=qmhandle
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
-
- Forum User
- Posts: 76
- Joined: Wed Feb 16, 2005 11:30 am
Re: Can't delete from queue
Thanks faris. I saw that but my error said it was line 165 and that thread has it as line 192 so I didn't want to mess with it - my php is limited.
Sonny
-
- Forum User
- Posts: 76
- Joined: Wed Feb 16, 2005 11:30 am
Re: Can't delete from queue
Well, it has reared it's ugly head again. It seems once it hits about 1300 items in the queue it stops processing. And when I try to stop qmail using
# svc-stop qmail
I get the error:
Stopping qmail: .......svc-stop Fatal error: Failed to stop 'qmail'.
Any ideas?
# svc-stop qmail
I get the error:
Stopping qmail: .......svc-stop Fatal error: Failed to stop 'qmail'.
Any ideas?
Sonny