Re: Can't get ezmlm-idx to work, unable to exec qq. Need help

Bruce Guenter <[email protected]> Mon, 28 Jan 2008 14:58:29 -0600
Newsgroups gmane.mail.ezmlm
Message-ID <[email protected]>
On Fri, Jan 25, 2008 at 01:20:21AM -0600, Steve Fatula wrote:
> I create a mailing list, store it in MySQL, and, send a message to the 
> list. In the qmail log, I see the 'ol unable to exec qq from ezmlm.

There are 3 ways this can occur, all of which happen after ezmlm-idx has
forked before executing qmail-queue.  It does not appear from your trace
below that you have followed the fork, and as such it does not contain
the necessary information.

Specifically, those 3 ways are (with reference to lines in qmail.c):
1. Moving the pipe file describers #0 or 1 failed.  This is only
possible if the UNIX implementation is broken.  (lines 38 and 39)
2. Executing qmail-queue failed (lines 61 and 64).
3. The executed program exits with a code of 120.  Also unlikely.

> I have looked through the code, I am a programmer of 25+ years, but not c. 
> So, only partially get it, but, it appears the error 111 could mean dozens 
> of things really. Not what it says.

The specific exit code that triggers the "unable to exec qq" is 120, not
111.  An exit code of 111 would result in "qq temporary problem
(#4.3.0)" (qmail.c line 155).

> So, I have spent a lot of time reviewing the ezmlm-idx code, to no avail. 
> So.... I ran a dtrace. I would be most grateful to someone who can help me 
> track this down.

I know nothing about dtrace, but what needs to be shown is what happens
in the child process after the vfork in qmail.c.  I might be able to see
what is happening from that.  Does OSX have ptrace like other BSDs?
That is may be more useful.


-- 
Bruce Guenter <[email protected]>                http://untroubled.org/
	I do custom software development.  Email me for details.
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFHnkH16W+y3GmZgOgRAjZBAKCdutKb08h/qh5x+s2NG6ZymTXqpQCffFOj
AlMVEqzv/t0bZw9xjgZuNME=
=P2S7
-----END PGP SIGNATURE-----