Great Circle Associates Majordomo-Users
(June 1996)
 

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

Subject: Re: On using archive2.pl
From: bcerra @ intellicorp . com
Date: Sun, 2 Jun 1996 19:57:18 -0700 (PDT)
To: palopez @ colciencias . gov . co (Pedro Alejandro Lopez Valencia)
Cc: majordomo-users @ greatcircle . com (mdu)
In-reply-to: <Pine.GSO.3.93.960601214115.13742A-100000@colcig1000> from "Pedro Alejandro Lopez Valencia" at Jun 1, 96 09:50:39 pm

Pedro Alejandro Lopez Valencia writes:
> 
> Yes, that is the real strange part of it. I wonder if I am doing something
> wrong or archive2.pl is broken under perl 5.002.
> In my setup @archive_dirs is:
> 
> @archive_dirs = ("/home3/majordomo/archive/test");
> 
> and the alias is
> 
> "|/home3/majordomo/bin/wrapper archive2.pl -f
> /home3/majordomo/archive/test -d -a"
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  The problem is that @archive_dirs needs a directory
  entry, while the alias for archive2.pl actually needs a 
  "base" filename, not a directory.  Something like 

  "|/home3/majordomo/bin/wrapper archive2.pl -f /home3/majordomo/archive/test/test -d -a"

  would create a file test.960601 in the directory.

  This is one of the many confusing majordomoisms!

  Beth


> 
> majordomo aborts with a can't write, is a directory warning.
> 
> If I modify the script adding a /test pointing to a file as per
> instructions in the archive2.pl code (found after some digging), majordomo
> complains that I am not using a legal directory (it is not in
> @archive_dirs). I am considering adding a slash at the end of the path in
> the sendmail alias and see what happens. Perhaps I have to force
> sh directory recognition?
> 
> -- 
> P. Alejandro Lopez-Valencia | Tropical Ecologist, Conservation Biologist 
> Asesor                      | Main:  palopez@ecology.umsl.edu 
> Division de sistemas de     | Alternate: palopez@colciencias.gov.co
> Informacion-COLCIENCIAS     | WWW: http://ecology.umsl.edu/~palopez/
> --------------------------------------------------------------------------
> The Hermit?        Verum sine mendatio, certum et verissimum.  
> Why?               Satiyat nasti paro dharma! 
> 
> 
> 



Follow-Ups:
References:
Indexed By Date Previous: installation problems
From: Daniel Dekok <talor@weblink.solutions.net.au>
Next: set instruction? (fwd)
From: "Bill Casti, CQA (Moderator)" <help@quality.org>
Indexed By Thread Previous: Re: On using archive2.pl
From: Pedro Alejandro Lopez Valencia <palopez@colciencias.gov.co>
Next: Re: On using archive2.pl
From: Pedro Alejandro Lopez Valencia <palopez@colciencias.gov.co>

Google
 
Search Internet Search www.greatcircle.com