Upgrade Plesk 9.5.4 to 10.4.4 breaks qmail-scanner
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Upgrade Plesk 9.5.4 to 10.4.4 breaks qmail-scanner
After upgrading Plesk 9.5.4 to 10.4.4 e-mail was no longer being scanned by qmail-scanner. I tried reinstalling qmail-scanner and qmail-scanner-reconfigure, but now the server gets overloaded with /usr/bin/perl -T /dev/fd/3//var/qmail/bin/qmail-scanner-queue.pl processes as soon as SMTP gets enabled. Any ideas?
Lemonbit Internet Dedicated Server Management
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: Upgrade Plesk 9.5.4 to 10.4.4 breaks qmail-scanner
yeah dont use plesk 10.4.4
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Re: Upgrade Plesk 9.5.4 to 10.4.4 breaks qmail-scanner
This post provided the fix: http://linuxhostingsupport.net/blog/tag ... e-group-id
Code: Select all
chown mhandlers-user.popuser /var/qmail/bin/qmail-queue
chmod 2511 /var/qmail/bin/qmail-queue
Lemonbit Internet Dedicated Server Management
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Re: Upgrade Plesk 9.5.4 to 10.4.4 breaks qmail-scanner
Anything in particular you don't like about Plesk 10.4.4 or were you just trying to be funny?scott wrote:yeah dont use plesk 10.4.4
Mail worked fine after reinstalling Plesk's qmail stack. Reinstalling qmail-scanner was what broke it again. Which is a little strange because we've done a bunch of fresh installs of Plesk 10 and have installed qmail-scanner on those servers without problems.
Lemonbit Internet Dedicated Server Management
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: Upgrade Plesk 9.5.4 to 10.4.4 breaks qmail-scanner
You know I try to care about their madness, then I find stuff like this:
http://www.mozilla.org/en-US/firefoxlive/#
http://www.mozilla.org/en-US/firefoxlive/#
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Re: Upgrade Plesk 9.5.4 to 10.4.4 breaks qmail-scanner
It seems the upgrading Plesk 10.3.1 to Plesk 10.4.4 also breaks qmail-scanner.
Do the following commands to fix this:
1. Run yum remove qmail-scanner
2. Run /usr/local/psa/admin/bin/autoinstaller and switch to Postfix.
3. Run /usr/local/psa/admin/bin/autoinstaller again and switch back to Qmail.
4. Run /usr/local/psa/admin/sbin/mchk
5. Run yum install qmail-scanner
If anyone knows of an easier way to get qmail-scanner back to life I'd love to hear it. Simply reinstalling the qmail-scanner package doesn't work and even results in more and more nested and hanging qmail-scanner processes which will eventually kill the server.
If removing qmail-scanner left /etc/qmail-scanner.ini.rpmsave behind then run the following to get back your old settings:
Do the following commands to fix this:
1. Run yum remove qmail-scanner
2. Run /usr/local/psa/admin/bin/autoinstaller and switch to Postfix.
3. Run /usr/local/psa/admin/bin/autoinstaller again and switch back to Qmail.
4. Run /usr/local/psa/admin/sbin/mchk
5. Run yum install qmail-scanner
If anyone knows of an easier way to get qmail-scanner back to life I'd love to hear it. Simply reinstalling the qmail-scanner package doesn't work and even results in more and more nested and hanging qmail-scanner processes which will eventually kill the server.
If removing qmail-scanner left /etc/qmail-scanner.ini.rpmsave behind then run the following to get back your old settings:
Code: Select all
mv /etc/qmail-sacnner.ini.rpmsave /etc/qmail-scanner.ini
qmail-scanner-reconfigure
Last edited by breun on Thu Jan 19, 2012 5:37 pm, edited 1 time in total.
Lemonbit Internet Dedicated Server Management
-
- Forum User
- Posts: 69
- Joined: Tue Jul 19, 2011 6:30 am
- Location: United Kingdom
Re: Upgrade Plesk 9.5.4 to 10.4.4 breaks qmail-scanner
We are on 10.4.4 and have had problems with qmail-scanner... we used to get the mail subject come up in the mail log, but no longer do. How can we check if we have the same issue?
Thanks
Thanks
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Re: Upgrade Plesk 9.5.4 to 10.4.4 breaks qmail-scanner
Check the mailheaders on e-mails that are received by mailboxes on your server. Do they have a header saying the e-mail was scanned by qmail-scanner?
Lemonbit Internet Dedicated Server Management
-
- Forum User
- Posts: 69
- Joined: Tue Jul 19, 2011 6:30 am
- Location: United Kingdom
Re: Upgrade Plesk 9.5.4 to 10.4.4 breaks qmail-scanner
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10)
X-Spam-Level:
X-Spam-Status: No, score=-4.4 required=3.0 tests=AWL,BAYES_00,EXTRA_MPART_TYPE,
HTML_MESSAGE,MIME_BASE64_TEXT,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.5
Received: (qmail 13341 invoked by uid 110); 30 Nov 2011 12:24:34 +0000
Delivered-To:
Received: (qmail 13332 invoked from network); 30 Nov 2011 12:24:34 +0000
Received: from
Received:Wed, 30 Nov 2011 12:15:12 GMT
Received:Wed, 30 Nov 2011 12:15:09 GMT
X-rim-org-msg-ref-id:
Message-ID: <
Reply-To:
X-Priority: Normal
References: <00$82651870$@com>
In-Reply-To: <00b2d0$82651870$@com>
Sensitivity: Normal
Importance: Normal
Subject:
To:
From:
Date: Wed, 30 Nov 2011 12:15:31 +0000
Content-Type: multipart/related; type="multipart/alternative";
MIME-Version: 1.0
It appears not.
X-Spam-Level:
X-Spam-Status: No, score=-4.4 required=3.0 tests=AWL,BAYES_00,EXTRA_MPART_TYPE,
HTML_MESSAGE,MIME_BASE64_TEXT,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.5
Received: (qmail 13341 invoked by uid 110); 30 Nov 2011 12:24:34 +0000
Delivered-To:
Received: (qmail 13332 invoked from network); 30 Nov 2011 12:24:34 +0000
Received: from
Received:Wed, 30 Nov 2011 12:15:12 GMT
Received:Wed, 30 Nov 2011 12:15:09 GMT
X-rim-org-msg-ref-id:
Message-ID: <
Reply-To:
X-Priority: Normal
References: <00$82651870$@com>
In-Reply-To: <00b2d0$82651870$@com>
Sensitivity: Normal
Importance: Normal
Subject:
To:
From:
Date: Wed, 30 Nov 2011 12:15:31 +0000
Content-Type: multipart/related; type="multipart/alternative";
MIME-Version: 1.0
It appears not.
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Re: Upgrade Plesk 9.5.4 to 10.4.4 breaks qmail-scanner
The workaround I posted above should fix that. I don't know what the workaround fixes exactly yet, so I don't know if there is an easier way.
Lemonbit Internet Dedicated Server Management
-
- Forum User
- Posts: 69
- Joined: Tue Jul 19, 2011 6:30 am
- Location: United Kingdom
Re: Upgrade Plesk 9.5.4 to 10.4.4 breaks qmail-scanner
Thanks Breun! Worked a treat.
-
- Forum User
- Posts: 6
- Joined: Fri Nov 30, 2007 8:46 pm
Re: Upgrade Plesk 9.5.4 to 10.4.4 breaks qmail-scanner
Thanks Bruen worked for me too! I was upgrading from Plesk 10.3.1 to 10.4.4 Dec 19, and got the runaway processes with qmail-scanner.
I am too dumb to understand why it works, but I trust your solutions to get me going again!
Thanks!
I am too dumb to understand why it works, but I trust your solutions to get me going again!
Thanks!
-
- Forum User
- Posts: 35
- Joined: Thu Jan 08, 2009 4:31 am
- Location: Fort Worth, TX
- Contact:
Re: Upgrade Plesk 9.5.4 to 10.4.4 breaks qmail-scanner
I am having the same trouble and none of these solutions helped.
It's been infuriating --
If I swap between postfix and qmail - the errors are still there.
After mchk, errors are still there.
Installing qmail-scanner again? Server launches 1,000s of child processes until it hangs.
I've seen the permissions solution all over the internet also, and wow. Simply doesn't work.
Anyone around to reach out incase I cannot solve this?
--
BTW - when swapped to postfix, I get:
Jan 19 15:36:01 server /usr/lib64/plesk-9.0/psa-pc-remote[11710]: mkstemp(/usr/local/psa/handlers/spool/mlfi.secssV) failed: No such file or directory
--
Which is essentially the same error about permissions...
It's been infuriating --
If I swap between postfix and qmail - the errors are still there.
After mchk, errors are still there.
Installing qmail-scanner again? Server launches 1,000s of child processes until it hangs.
I've seen the permissions solution all over the internet also, and wow. Simply doesn't work.
Anyone around to reach out incase I cannot solve this?
--
BTW - when swapped to postfix, I get:
Jan 19 15:36:01 server /usr/lib64/plesk-9.0/psa-pc-remote[11710]: mkstemp(/usr/local/psa/handlers/spool/mlfi.secssV) failed: No such file or directory
--
Which is essentially the same error about permissions...
Last edited by AntiochInteractive on Thu Jan 19, 2012 6:20 pm, edited 2 times in total.
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Re: Upgrade Plesk 9.5.4 to 10.4.4 breaks qmail-scanner
Did you follow the exact steps I posted above? Not pretty, but worked every time for us.
Lemonbit Internet Dedicated Server Management
-
- Forum User
- Posts: 35
- Joined: Thu Jan 08, 2009 4:31 am
- Location: Fort Worth, TX
- Contact:
Re: Upgrade Plesk 9.5.4 to 10.4.4 breaks qmail-scanner
Yes, and multiple times.breun wrote:Did you follow the exact steps I posted above? Not pretty, but worked every time for us.
remove qmail-scanner (which I'm not adding back)
autoinstaller - postfix
autoinstaller - qmail
mchk
service qmail start
no dice.
--
Jan 19 16:12:30 server qmail-queue-handlers[1686]: cannot create temporary file - (2) No such file or directory
Jan 19 16:12:30 server qmail-queue-handlers[1686]: cannot read message from stdin
Jan 19 16:12:30 server qmail: 1327011150.202806 warning: trouble injecting bounce message, will try later
Jan 19 16:12:30 server qmail-queue-handlers[1687]: Handlers Filter before-queue for qmail started ...
Jan 19 16:12:30 server qmail-queue-handlers[1687]: cannot create temporary file - (2) No such file or directory
Jan 19 16:12:30 server qmail-queue-handlers[1687]: cannot read message from stdin
Jan 19 16:12:30 server qmail: 1327011150.210871 warning: trouble injecting bounce message, will try later
Jan 19 16:12:30 server qmail-queue-handlers[1688]: Handlers Filter before-queue for qmail started ...
Jan 19 16:12:30 server qmail-queue-handlers[1688]: cannot create temporary file - (2) No such file or directory
Jan 19 16:12:30 server qmail-queue-handlers[1688]: cannot read message from stdin
Jan 19 16:12:30 server qmail: 1327011150.218977 warning: trouble injecting bounce message, will try later
Jan 19 16:12:30 server qmail-queue-handlers[1689]: Handlers Filter before-queue for qmail started ...
Jan 19 16:12:30 server qmail-queue-handlers[1689]: cannot create temporary file - (2) No such file or directory
Jan 19 16:12:30 server qmail-queue-handlers[1689]: cannot read message from stdin
Jan 19 16:12:30 server qmail: 1327011150.227035 warning: trouble injecting bounce message, will try later
Jan 19 16:12:30 server qmail-queue-handlers[1690]: Handlers Filter before-queue for qmail started ...
Jan 19 16:12:30 server qmail-queue-handlers[1690]: cannot create temporary file - (2) No such file or directory
Jan 19 16:12:30 server qmail-queue-handlers[1690]: cannot read message from stdin
Jan 19 16:12:30 server qmail: 1327011150.235518 warning: trouble injecting bounce message, will try later
Jan 19 16:12:30 server qmail-queue-handlers[1691]: Handlers Filter before-queue for qmail started ...
Jan 19 16:12:30 server qmail-queue-handlers[1691]: cannot create temporary file - (2) No such file or directory
Jan 19 16:12:30 server qmail-queue-handlers[1691]: cannot read message from stdin