store | blogs | forums | twitter | facebook | wiki | downloads | support portal
Atomic Secure Linux
It is currently Thu Aug 22, 2019 2:00 pm

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Can't delete from queue
Unread postPosted: Tue Oct 14, 2014 1:48 pm 
Offline
Forum User
Forum User

Joined: Wed Feb 16, 2005 11:30 am
Posts: 76
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

_________________
Sonny


Top
 Profile  
Reply with quote  
 Post subject: Re: Can't delete from queue
Unread postPosted: Tue Oct 14, 2014 5:12 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 8329
Location: earth
svc-stop smtpd
svc-stop qmail

then clear your queue

svc-start qmail
svc-start smtpd


Top
 Profile  
Reply with quote  
 Post subject: Re: Can't delete from queue
Unread postPosted: Tue Oct 14, 2014 5:39 pm 
Offline
Forum User
Forum User

Joined: Wed Feb 16, 2005 11:30 am
Posts: 76
Works like a charm!

Thanks Scott!

_________________
Sonny


Top
 Profile  
Reply with quote  
 Post subject: Re: Can't delete from queue
Unread postPosted: Tue Oct 14, 2014 6:03 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Thu Dec 09, 2004 11:19 am
Posts: 2321
Also check out this post where prupert shares another way to resolve this issue

viewtopic.php?f=4&t=7083&hilit=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>


Top
 Profile  
Reply with quote  
 Post subject: Re: Can't delete from queue
Unread postPosted: Tue Oct 14, 2014 6:18 pm 
Offline
Forum User
Forum User

Joined: Wed Feb 16, 2005 11:30 am
Posts: 76
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Can't delete from queue
Unread postPosted: Wed Oct 15, 2014 10:58 am 
Offline
Forum User
Forum User

Joined: Wed Feb 16, 2005 11:30 am
Posts: 76
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?

_________________
Sonny


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group