[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.
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.
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