Re: failed pipe from sendmail

1999-06-29 Thread Earl Hood

On June 29, 1999 at 17:59, Andy Loftus wrote:

> I have mhonarc 2.3.3
> installed on SunOS 5.6 (Solaris 2.6).
> running Sendmail 8.8.8
> 
> I want to add messages to an archive as they are received, but I keep getting
>  the following output:
> /usr/bin/env: No such file or directory

How are you getting this output?  I.e.  Are you get it as mail, to
the terminal, to syslog?

> I originally added an alias that piped the mail to mhonarc:
> alias: "|/mhonarc -add -outdir /test.archive/html"

MHonArc does not call "env".  I'd be surprised if perl was calling it.
It could be sendmail.

What is the "#!..." line in "/mhonarc"?  Is the the execute
bit set on /mhonarc?  Can you invoke the above from a
shell without any errors?

--ewh



failed pipe from sendmail

1999-06-29 Thread Andy Loftus

I have mhonarc 2.3.3
installed on SunOS 5.6 (Solaris 2.6).
running Sendmail 8.8.8

I want to add messages to an archive as they are received, but I keep getting the 
following output:
/usr/bin/env: No such file or directory

I originally added an alias that piped the mail to mhonarc:
alias: "|/mhonarc -add -outdir /test.archive/html"

I tried the FAQ suggestions, even piping to 'deliver', always with the same problem.

I have no idea what the output means.  Is mhonarc trying to read /usr/bin/env instead 
of stdin?  Adding "-- -" to the end of my alias changes nothing.

Anybody know what the problem could be?

-Andy Loftus





Re: Problems with version 2.4

1999-06-29 Thread Earl Hood

On June 29, 1999 at 10:43, Jackie Godfrey wrote:

> mhonarc -add mbox
> syntax error at lib/mhlock.pl line 191, near "BEGIN:"
-^
Try removing the ':' and see if that fixes the error.
Drop me note if does,

> $ perl -v
> 
> This is perl, version 5.002

You should upgrade perl.  I believe 5.002 was known to be buggy.

--ewh



Problems with version 2.4

1999-06-29 Thread Jackie Godfrey

I am currently running mhonarc 2.3 98/10/31
with no problems.

I have tried upgrading to 2.4

I have encountered the following error

mhonarc -add mbox
syntax error at lib/mhlock.pl line 191, near "BEGIN:"

I am running perl version

$ perl -v

This is perl, version 5.002

Any ideas?

___
Jackie Godfrey
Data Liberation Initiative / Initiative de Democratisation
des Donnees
Dissemination Division / Division de la Diffusion
Statistics Canada / Statistique Canada
9-I R.H. Coats Build. / Ed. R.H. Coats
Ottawa, ON K1A 0T6

Voice:  (613) 951-0268 
Fax:(613) 951-1134
Email:  [EMAIL PROTECTED]  
www:www.statcan.ca



Re: higher memory requirements in 2.4.0 ? [isolated]

1999-06-29 Thread Earl Hood

On June 29, 1999 at 01:40, Jeff Breidenbach wrote:

> >Note, my system configuration is different from yours.  I am running
> >Perl 5.005_03 on RH 5.2 w/2.2.9 kernel.  There is a possibility that
> >Perl 5.004 has some memory leaks exposed by MHonArc v2.4.0.
> 
> The perl version that is recommended in RedHat 5.2's errata notes is:
> 
> # rpm -q perl MHonArc
> perl-5.004m7-1

RH 5.2 is somewhat old.  I've made it a habit of just building from
source obtained from language.perl.com.

> Running under this perl, all memory is consumed every time I try
> asking MHonArc 2.4.0 to add to the big database. So, I tried upgrading
> perl. Scrounging the net for a slightly newer version of perl, I found
> this one in ftp://contrib.redhat.com:
> 
> # rpm -q perl
> perl-5.005_02-1
> 
> # perl -v
> 
> This is perl, version 5.005_02 built for i386-linux-thread 
--^^
Threading is currently very experimental in Perl.  

> MHonArc 2.4.0 worked fine under this perl and contained itself to
> about 143 meg. (More or less, I get the number from watching top
> during the run.)  Switching back to the old version of perl caused the
> problem to reappear.  I'm not going to draw any broad sweeping
> conclusions from this experiment, but it's safe to say I will be
> sticking with the newer version of perl.

Hey, if it works, go with it.

--ewh



Re: higher memory requirements in 2.4.0 ? [isolated]

1999-06-29 Thread Jeff Breidenbach


>Note, my system configuration is different from yours.  I am running
>Perl 5.005_03 on RH 5.2 w/2.2.9 kernel.  There is a possibility that
>Perl 5.004 has some memory leaks exposed by MHonArc v2.4.0.

The perl version that is recommended in RedHat 5.2's errata notes is:

# rpm -q perl MHonArc
perl-5.004m7-1

Running under this perl, all memory is consumed every time I try
asking MHonArc 2.4.0 to add to the big database. So, I tried upgrading
perl. Scrounging the net for a slightly newer version of perl, I found
this one in ftp://contrib.redhat.com:

# rpm -q perl
perl-5.005_02-1

# perl -v

This is perl, version 5.005_02 built for i386-linux-thread 
[...]

MHonArc 2.4.0 worked fine under this perl and contained itself to
about 143 meg. (More or less, I get the number from watching top
during the run.)  Switching back to the old version of perl caused the
problem to reappear.  I'm not going to draw any broad sweeping
conclusions from this experiment, but it's safe to say I will be
sticking with the newer version of perl.

Jeff