Great Circle Associates Majordomo-Users
(August 1996)
 

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

Subject: Re: problems with resend
From: Dave Wolfe <dwolfe @ risc . sps . mot . com>
Date: Thu, 29 Aug 1996 14:31:18 -0500 (CDT)
To: sandrac @ reduno . com . mx (SANDRA CEJUDO FUNES)
Cc: majordomo-users @ greatcircle . com
In-reply-to: <Pine.SUN.3.91.960829131714.28164A-100000@reduno.reduno.com.mx> from "SANDRA CEJUDO FUNES" at Aug 29, 96 01:31:38 pm
Reply-to: Dave Wolfe <david_wolfe @ risc . sps . mot . com>

[ SANDRA CEJUDO FUNES writes: ]
> 
>    Finally I found the problem, it was the uid, gid in makefile; it has 
> to be the majordomo user uid and the majordom group gid.

There's one for the FAQ update: "Did you read, understand, and follow the
instructions in Makefile for configuring wrapper?" Seriously. Please
don't think I'm commenting Sandra's (apparently excellent) knowledge of
English, computers, or anything else, because I'm not.

>    Now I have another problem, when somebody sends a message to the list, 
> everybody gets it but the resend process keeps going and never ends. If 
> you make a ps -f | grep resend you get the following:
> 
> majordom 18592 18591  0 13:11:37 ?        0:01 /opt3/perl-unam/bin/perl 
> -U /opt3/majordomo/resend -l prueba1 -h verdi.invdes.r
> majordom 18597 18596  0 13:11:38 ?        0:00 /bin/csh -cf set 
> nonomatch; glob /tmp/resend.18592.*
>   daemon 18591 18590  0 13:11:37 ?        0:00 sh -c 
> /opt3/majordomo/wrapper resend -l prueba1 -h verdi.invdes.reduno.com  pru
> majordom 18596 18592  0 13:11:38 ?        0:00 sh -c /bin/csh -cf 'set 
> nonomatch; glob /tmp/resend.18592.*' 2>/dev/null
>  sandrac 18619 18432  0 13:12:35 pts/8    0:00 grep resend    

Do the csh processes ever terminate without being killed? Sounds like
maybe your csh isn't really csh. Perl uses csh to do file globbing
(expanding "wild cards"). It expects csh to output all the expanded file
names and exit. Apparently your csh isn't exiting. See if this hangs:

    perl -e 'print </etc/*>'

If it does, then you need to see what's wrong with your /bin/csh or
reconfigure perl to use a real csh.

> prueba1-archive: "|/opt3/majordomo/wrapper archive -f  
> /usr/local/mail/archives/
> prueba1/prueba1 -m -a"
[...]
>  I get another error from archive:
> 
>    ----- The following addresses had delivery problems -----
> "|/opt3/majordomo/wrapper archive -f  /usr/local/mail/archives/prueba1/prueba1 -
> m -a"  (unrecoverable error)
>     (expanded from: prueba1-archive)
> 
>    ----- Transcript of session follows -----
> archive: No such file or directory
> 554 "|/opt3/majordomo/wrapper archive -f  /usr/local/mail/archives/prueba1/prueb
> a1 -m -a"... unknown mailer error 5
> 
>    I have intalled the archive2.pl at /opt3/majordomo/archive, and the 
> file prueba1 is under /usr/local/mail/archives/prueba1, the permissions 
> are fine, but it doesn't work nothing is in file prueba1

Nothing will be, either. Archive2.pl will create files like
prueba1.YYMM, where YY is the year and MM is the month.

This sounds like wrapper can't find archive. Be sure you put it in
the same directory as wrapper, didn't misspell the name when you
renamed or copied it, and that the majordomo user has read and execute
permissions to it (preferably owned by the majordomo user with owner rwx
permissions).

-- 
 Dave Wolfe    *Not a spokesman for Motorola*
 Motorola MMTG  6501 Wm. Cannon Dr. W. OE112  Austin  TX  78735-8598


References:
Indexed By Date Previous: bulk-mailer problem with majordomo
From: -Vince- <vince@mercury.gaianet.net>
Next: Re: Archive & Permissions Problems
From: Jim Pierce <jmp@klgai.com>
Indexed By Thread Previous: problems with resend
From: SANDRA CEJUDO FUNES <sandrac@reduno.com.mx>
Next: bulk-mailer problem with majordomo
From: -Vince- <vince@mercury.gaianet.net>

Google
 
Search Internet Search www.greatcircle.com