Page 1 of 1

Unable to run 64-bit qmHandle

Posted: Tue Jul 22, 2014 5:35 pm
by KrazyBob
I am unable to run qmHandle. When yum downloads it it then has to be extracted using TAR. I am getting it from the Atomic repo.

Code: Select all

[root@clss05 qmhandle-1.3.2]# ./qmHandle -L
Total messages: 4045
Messages with local recipients: 0
Messages with remote recipients: 4045
Messages with bounces: 1057
Messages in preprocess: 0
[root@clss05 qmhandle-1.3.2]# ./qmHandle -D
Calling system script to terminate qmail...
Can't exec "/usr/local/bin/svc": No such file or directory at ./qmHandle line
        192 (#1)
    (W exec) A system(), exec(), or piped open call could not execute the
    named program for the indicated reason.  Typical reasons include: the
    permissions were wrong on the file, the file wasn't found in
    $ENV{PATH}, the executable in question was compiled for another
    architecture, or the #! line in a script points to an interpreter that
    can't be run for similar reasons.  (Or maybe your system doesn't support
    #! at all.)
I've tried it in /usr/local/bin and /usr/local/sbin and both bring up a menu but then fail.

Re: Unable to run 64-bit qmHandle

Posted: Wed Jul 23, 2014 4:43 am
by prupert
It looks like you are mixing a manual installation with packaged installation.

A packaged installation ("yum install qmhandle") should install qmhandle.pl in /usr/bin.
This makes the "qmhandle.pl" command available in your default shell path.

Re: Unable to run 64-bit qmHandle

Posted: Wed Jul 23, 2014 11:43 am
by KrazyBob
Oddly enough the gz file contains qmHandle and leaves it in its own extraction DIR. I looked where you said and also found qmHandle.pl.

Thank you!

Re: Unable to run 64-bit qmHandle

Posted: Wed Jul 23, 2014 2:50 pm
by KrazyBob
I removed all occurences of qmhandle and qmHandle and still get:

Code: Select all

Transaction Summary
=================================================================================================================
Install       1 Package(s)

Total download size: 12 k
Installed size: 31 k
Downloading Packages:
qmhandle-1.3.2-4.el6.art.x86_64.rpm                                                       |  12 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : qmhandle-1.3.2-4.el6.art.x86_64                                                               1/1 
  Verifying  : qmhandle-1.3.2-4.el6.art.x86_64                                                               1/1 

Installed:
  qmhandle.x86_64 0:1.3.2-4.el6.art                                                                              

Complete!
[root@clss06 ~]# /usr/bin/qmhandle.pl -L
readdir() attempted on invalid dirhandle DIR at /usr/bin/qmhandle.pl line 103 (#1)
    (W io) The dirhandle you're reading from is either closed or not really
    a dirhandle.  Check your control flow.
    
closedir() attempted on invalid dirhandle DIR at /usr/bin/qmhandle.pl line 104 (#2)
    (W io) The dirhandle you tried to close is either closed or not really
    a dirhandle.  Check your control flow.
    
readdir() attempted on invalid dirhandle DIR at /usr/bin/qmhandle.pl line 106 (#1)
closedir() attempted on invalid dirhandle DIR at /usr/bin/qmhandle.pl line 107 (#2)
readdir() attempted on invalid dirhandle DIR at /usr/bin/qmhandle.pl line 122 (#1)
closedir() attempted on invalid dirhandle DIR at /usr/bin/qmhandle.pl line 123 (#2)
Total messages: 0
Messages with local recipients: 0
Messages with remote recipients: 0
Messages with bounces: 0
Messages in preprocess: 0

Re: Unable to run 64-bit qmHandle

Posted: Wed Jul 23, 2014 5:27 pm
by prupert
Are you sure you are running Qmail and not Postfix?

Re: Unable to run 64-bit qmHandle

Posted: Wed Jul 23, 2014 8:37 pm
by KrazyBob
Yes.