Unable to run 64-bit qmHandle

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
KrazyBob
Forum Regular
Forum Regular
Posts: 310
Joined: Mon Mar 19, 2007 3:47 pm

Unable to run 64-bit qmHandle

Unread post 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.
prupert
Forum Regular
Forum Regular
Posts: 573
Joined: Tue Aug 01, 2006 2:45 pm
Location: Netherlands

Re: Unable to run 64-bit qmHandle

Unread post 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.
Lemonbit Internet Dedicated Server Management
KrazyBob
Forum Regular
Forum Regular
Posts: 310
Joined: Mon Mar 19, 2007 3:47 pm

Re: Unable to run 64-bit qmHandle

Unread post 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!
KrazyBob
Forum Regular
Forum Regular
Posts: 310
Joined: Mon Mar 19, 2007 3:47 pm

Re: Unable to run 64-bit qmHandle

Unread post 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
prupert
Forum Regular
Forum Regular
Posts: 573
Joined: Tue Aug 01, 2006 2:45 pm
Location: Netherlands

Re: Unable to run 64-bit qmHandle

Unread post by prupert »

Are you sure you are running Qmail and not Postfix?
Lemonbit Internet Dedicated Server Management
KrazyBob
Forum Regular
Forum Regular
Posts: 310
Joined: Mon Mar 19, 2007 3:47 pm

Re: Unable to run 64-bit qmHandle

Unread post by KrazyBob »

Yes.
Post Reply