Great Circle Associates Majordomo-Users
(November 1998)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Broken after all these months - crazy
From: Mark Rauterkus <mrauterkus @ sportsurf . net>
Date: Mon, 16 Nov 98 23:04:43 -0500
To: "Majordomo Users" <majordomo-users @ GreatCircle . COM>


Hi All,

Long-time since I've been here. Things have been smooth for months. Now I 
got an error that brings all my lists down. I've not messed with anything 
(to the best of my knowledge) either.

Running on virtual server, unix BSD, MJ 1.94.1.

deep in the file: majordomo.pl there is:

--- snip ---
    # Deal with unbalanced brackets or parenthesis in an address.
    $temp = $_;

    # Nuke anything within quotes.  Placate Emacs -------v
   1 while $temp =~ s/(^|([^\\\"]|\\.)+)\"([^\\\"]|\\.|$)*\"?/$1/g;
--- snip ----
The last line seems to be breaking. ?? When I comment that line, things 
work (I think). Otherwise, messages seem to go into space.


Besides getting errors shown below, what little I know:

I've got majorcool (older version). I build my mj_key_cashe with this 
line in shell:
% virtual /usr/local/majordomo/wrapper mj_key_cache

Then I get this error:
/(^|([^\\"]|\\.)+)"([^\\"]|\\.|$)*"?/: regexp *+ operand could be empty 
at /usr/local/majordomo/majordomo.pl line 519.

When I comment out the offending line, things work. Otherwise, even 
asking the majordomo@address to send "help" or "lists" does not work. The 
error message snipped here:


   ----- The following addresses had permanent fatal errors -----
"|/usr/local/majordomo/wrapper majordomo"
    (expanded from: <majordomo@sportsurf.net>)

   ----- Transcript of session follows -----
554 "|/usr/local/majordomo/wrapper majordomo"... unknown mailer error 25

   ----- Original message follows -----
-- snipped

Things have worked fine for months. Looking at the FAQ I see this, but 
not much help with unknown error 25. 


=== snip from the (older) MJ faq.

2.3 - I get "Unknown mailer error" when majordomo runs

If something is wrong with your setup, the wrapper will often exit with
various return codes depending on what the problem is. In order to really
understand what is going on, look at the session transcript further down 
in
the bounce message to see the error which is returned from the wrapper or
from Majordomo. You should always see some sort of error message.

See section 1.1> above for what versions of Perl won't work with 
Majordomo.

For information purposes, here are the current return codes from the
wrapper:

   * 1: Usage error
   * 2: Insecure usage (argument to wrapper can't contain a '/')
   * 3: malloc() failed (out of memory)
   * 4: set[ug]id() failed, compile with POSIX instead of BSD flags
   * 5: execve() failed
   * > 5: return code from perl
   * > 128: return code from program. Subtract 128 from the number and 
look
     up the value in /usr/include/errno.h or /usr/include/sys/errno.h.

==== end snip ----

Finally, when I comment out the offending line, I do get the commands 
sent back when testing -- i.e., Majordomo@address.  --> help, Lists and 
such. But, I also get:

unknown mailer error 1

Still more troubleshooting to do, but pointers welcomed.

--------------
Mark Rauterkus, Publisher 

mrauterkus@sportsurf.net           http://SportSurf.Net/

Swimming upwards for FREE & OPEN options in tools and info.
--------------



Follow-Ups:
Indexed By Date Previous: Re: missing comma after each address in list
From: Dave Barr <barr@cis.ohio-state.edu>
Next: I still can't get it right
From: Jeff Rogers <jrogers@mjrogers.com>
Indexed By Thread Previous: Re: Footers
From: Vern Hoxie <vern@zebra.alphacdc.com>
Next: Re: Broken after all these months - crazy
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>

Google
 
Search Internet Search www.greatcircle.com