MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: crossing on 2014-01-24, 09:52:16

Title: 'Unable to run qmail-remote.' HELP !! Many ecommerce sites cannot send orders!
Post by: crossing on 2014-01-24, 09:52:16
I cannot send from some of my domains with this autoreply error message :

Code: [Select]
Hi. This is the qmail-send program at mx.zumzi.eu.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<sender@gmail.com>:
Unable to run qmail-remote.

--- Below this line is a copy of the message.

Return-Path: <mymail@domain.com>
Received: (qmail 2669 invoked from network); 24 Jan 2014 08:47:54 -0000
Received: from unknown (HELO traderPC) (mymail@domain.com@109.100.238.169)


I have tried :

sh /script/cleanup

sh /script/fixmail-all; qmailctl stop; killall -9 qmail-send; qmailctl start

sh /script/fixmail-all

yum reinstall *-toaster



with no results.

I even remove it domain/mail accounts and re added with no results.

Now more and more domains get similar issues , please help me I cannot receive orders on ecommerce wordpress sistes !

qmail-remote file is chomod 755

Title: Re: 'Unable to run qmail-remote.' HELP !! Many ecommerce sites cannot send orders!
Post by: crossing on 2014-01-24, 10:53:47
sh /script/sysinfo

Code: [Select]
A. Kloxo-MR: 6.5.0.f-2014011001


B. OS: CentOS release 6.5 (Final) x86_64


C. Apps:
   1. MySQL: mariadb-5.5.34-1.el6.x86_64
   2. PHP: php53u-5.3.28-1.ius.el6.x86_64
   3. Httpd: httpd-2.2.26-1.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.5.9-1.el6.x86_64
   6. Qmail: qmail-toaster-1.03-1.3.34.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.14.mr.el6.x86_64
   7. Dns: bind-9.9.4-1.P2.el6.x86_64


D. Php-type (for Httpd/proxy): php-fpm_event


E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1829       1192        636          0        206        329
   -/+ buffers/cache:        657       1172
   Swap:            0          0          0
Title: Re: 'Unable to run qmail-remote.' HELP !! Many ecommerce sites cannot send orders!
Post by: crossing on 2014-01-24, 10:56:54
HELLP !! All other domains left work until I alter email details/remove mail/add new mail - then become the same problem when send emails 'Unable to run qmail-remote.'
Title: Re: 'Unable to run qmail-remote.' HELP !! Many ecommerce sites cannot send orders!
Post by: MRatWork on 2014-01-24, 11:27:00
Inform here 'dir -l /var/qmail/bin/qmail*; dir /usr/bin/dkim*'
Title: Re: 'Unable to run qmail-remote.' HELP !! Many ecommerce sites cannot send orders!
Post by: crossing on 2014-01-24, 11:54:07
-rwxr-xr-x 1 root   qmail  19112 Jan 22 10:21 /var/qmail/bin/qmail-badloadertype                                                                             s
-rwxr-xr-x 1 root   qmail  19112 Jan 22 10:21 /var/qmail/bin/qmail-badmimetypes
-rwx--x--x 1 root   qmail  13040 Jan 22 10:21 /var/qmail/bin/qmail-clean
-rws--x--x 1 qmailq qmail  49856 Jan 22 10:21 /var/qmail/bin/qmail-dk
-rwx--x--x 1 root   qmail   7560 Jan 22 10:21 /var/qmail/bin/qmail-getpw
-rwxr-xr-x 1 root   qmail  50952 Jan 22 10:21 /var/qmail/bin/qmail-inject
-rwx--x--x 1 root   qmail  58416 Jan 22 10:21 /var/qmail/bin/qmail-local
-rwx------ 1 root   qmail  23264 Jan 22 10:21 /var/qmail/bin/qmail-lspawn
-rwx------ 1 root   qmail  19112 Jan 22 10:21 /var/qmail/bin/qmail-newmrh
-rwx------ 1 root   qmail  15016 Jan 22 10:21 /var/qmail/bin/qmail-newu
-rwxr-xr-x 1 root   qmail  35912 Jan 22 10:21 /var/qmail/bin/qmail-pop3d
-rwx--x--x 1 root   qmail  15376 Jan 22 10:21 /var/qmail/bin/qmail-popup
-rwx--x--x 1 root   qmail  20984 Jan 22 10:21 /var/qmail/bin/qmail-pw2u
-rwxr-xr-x 1 root   qmail  19184 Jan 22 10:21 /var/qmail/bin/qmail-qmqpc
-rwxr-xr-x 1 root   qmail  18616 Jan 22 10:21 /var/qmail/bin/qmail-qmqpd
-rwxr-xr-x 1 root   qmail  27408 Jan 22 10:21 /var/qmail/bin/qmail-qmtpd
-rwxr-xr-x 1 root   qmail  19120 Jan 22 10:21 /var/qmail/bin/qmail-qread
-rwxr-xr-x 1 root   qmail    371 Jan 22 10:21 /var/qmail/bin/qmail-qstat
-rws--x--x 1 qmailq qmail  23424 Jan 22 10:21 /var/qmail/bin/qmail-queue
-rwxr-xr-x 1 root   qmail   2426 Jan 22 10:21 /var/qmail/bin/qmail-remote
-rwx--x--x 1 root   qmail  52488 Jan 22 10:21 /var/qmail/bin/qmail-remote.orig
-rwx--x--x 1 root   qmail  16016 Jan 22 10:21 /var/qmail/bin/qmail-rspawn
-rwx--x--x 1 root   qmail  56760 Jan 22 10:21 /var/qmail/bin/qmail-send
-rwxr-xr-x 1 root   qmail  21336 Jan 22 10:21 /var/qmail/bin/qmail-showctl
-rwxr-xr-x 1 root   qmail 203944 Jan 22 10:21 /var/qmail/bin/qmail-smtpd
-rwx------ 1 root   qmail   7616 Jan 22 10:21 /var/qmail/bin/qmail-start
-rwxr-xr-x 1 root   qmail  10856 Jan 22 10:21 /var/qmail/bin/qmail-tcpok
-rwxr-xr-x 1 root   qmail  12200 Jan 22 10:21 /var/qmail/bin/qmail-tcpto
/usr/bin/dkimsign.pl
Title: Re: 'Unable to run qmail-remote.' HELP !! Many ecommerce sites cannot send orders!
Post by: MRatWork on 2014-01-24, 11:58:43
Try 'sh /script/fixmail-all; sh /script/restart-mail'.
Title: Re: 'Unable to run qmail-remote.' HELP !! Many ecommerce sites cannot send orders!
Post by: crossing on 2014-01-24, 11:59:22
In the morning I have update kloxo-mr , maybe that caused all this.
Title: Re: 'Unable to run qmail-remote.' HELP !! Many ecommerce sites cannot send orders!
Post by: MRatWork on 2014-01-24, 12:03:12
Qmail have change to use dkim. Maybe something wrong related to them.

I didn't found this issue in my VPS.

For comparison, try 'yum downgrade qmail*' and it's make qmail back to '1.03-1.3.31' instead '1.03-1.3.34'.
Title: Re: 'Unable to run qmail-remote.' HELP !! Many ecommerce sites cannot send orders!
Post by: crossing on 2014-01-24, 12:38:47
Same result.
Title: Re: 'Unable to run qmail-remote.' HELP !! Many ecommerce sites cannot send orders!
Post by: MRatWork on 2014-01-24, 12:58:03
try 'sh /script/fixmail-all; sh /script/restart-mail'.

Also, inform here 'hostname -f; hostname -s'.
Title: Re: 'Unable to run qmail-remote.' HELP !! Many ecommerce sites cannot send orders!
Post by: crossing on 2014-01-24, 13:23:37
That fixed the problem. It looks like new qmail version make this problems.  I updated to newer version and problem is back, as I downgrade it to old version everything is fine.

Now what ? I will not be able to yum update ? When this is going to be fixed ?
Title: Re: 'Unable to run qmail-remote.' HELP !! Many ecommerce sites cannot send orders!
Post by: MRatWork on 2014-01-24, 13:45:28
Try modified /etc/mratwork.repo:
Code: [Select]
[mratwork-release-version-noarch]
name=MRatWork - release-version-noarch
baseurl=https://github.com/mustafaramadhan/kloxo/raw/rpms/release/centos$releasever/noarch/
#mirrorlist=http://rpms.mratwork.com/repo/mirrors/mratwork-release-centos$releasever-noarch-mirrors.txt
enabled=1
gpgcheck=0

to:
Code: [Select]
[mratwork-release-version-noarch]
name=MRatWork - release-version-noarch
baseurl=https://github.com/mustafaramadhan/kloxo/raw/rpms/release/centos$releasever/noarch/
#mirrorlist=http://rpms.mratwork.com/repo/mirrors/mratwork-release-centos$releasever-noarch-mirrors.txt
enabled=1
gpgcheck=0
exclude=qmail*

and then run 'yum clean all; yum update'.
Title: Re: 'Unable to run qmail-remote.' HELP !! Many ecommerce sites cannot send orders!
Post by: crossing on 2014-01-24, 13:51:11
It looks like it still asks for new qmail version update after that change.
Title: Re: 'Unable to run qmail-remote.' HELP !! Many ecommerce sites cannot send orders!
Post by: MRatWork on 2014-01-24, 13:58:20
Sorry.

Code: [Select]
[mratwork-release-version-arch]
name=MRatWork - release-version-arch
baseurl=https://github.com/mustafaramadhan/kloxo/raw/rpms/release/centos$releasever/$basearch/
#mirrorlist=http://rpms.mratwork.com/repo/mirrors/mratwork-release-centos$releasever-$basearch-mirrors.txt
enabled=1
gpgcheck=0

to:
Code: [Select]
[mratwork-release-version-arch]
name=MRatWork - release-version-arch
baseurl=https://github.com/mustafaramadhan/kloxo/raw/rpms/release/centos$releasever/$basearch/
#mirrorlist=http://rpms.mratwork.com/repo/mirrors/mratwork-release-centos$releasever-$basearch-mirrors.txt
enabled=1
gpgcheck=0
exclude=qmail*
Title: Re: 'Unable to run qmail-remote.' HELP !! Many ecommerce sites cannot send orders!
Post by: crossing on 2014-01-24, 14:48:13
Great, thanks. This is a bug , people should be informed about it or fixed soon ?
Title: Re: 'Unable to run qmail-remote.' HELP !! Many ecommerce sites cannot send orders!
Post by: MRatWork on 2014-01-24, 14:52:08
Possible bug. If not able to fixed and then will be back to old version.
Title: Re: 'Unable to run qmail-remote.' HELP !! Many ecommerce sites cannot send orders!
Post by: chrisf on 2014-01-25, 01:13:31
New qmail toaster works, it could be the perl dependency.   Please try

yum install perl-Mail-DKIM

Inform here please.
Title: Re: 'Unable to run qmail-remote.' HELP !! Many ecommerce sites cannot send orders!
Post by: crossing on 2014-01-25, 19:12:58
Already last version.

Code: [Select]
Package perl-Mail-DKIM-0.39-1.el5.rf.noarch already installed and latest version
Nothing to do
Title: Re: 'Unable to run qmail-remote.' HELP !! Many ecommerce sites cannot send orders!
Post by: Spacedust on 2014-01-25, 20:19:13
This will help:

chmod 755 /var/qmail/bin/qmail-remote
Title: Re: 'Unable to run qmail-remote.' HELP !! Many ecommerce sites cannot send orders!
Post by: crossing on 2014-01-26, 08:34:19
I did that but was alreadu 755.  Same result, can't send emails.
Title: Re: 'Unable to run qmail-remote.' HELP !! Many ecommerce sites cannot send orders!
Post by: MRatWork on 2014-01-26, 08:44:14
Try 'yum clean all; yum reinstall qmail*; yum update qmail*' where it's make reinstall and update to latest version of qmail.

I didn't found this issue when using latest version.