Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] What is "rmtree"?



******    message to minivend-users from Hans-Joachim Leidinger <jojo@buchonline.net>     ******

Handytman@aol.com wrote:
> 
> ******    message to minivend-users from Handytman@aol.com     ******
> 
> I asked my ISP to run the directive to build my static pages, because I'm
> inundated with spiders, and he tried to. The error message we got back
> pointed to line 1928 in Minivend:
> <snip>
>         if($Vend::Cfg->{ClearCache}) {
>                 print do_msg("Clearing output directory $outdir");
>                 -d $outdir && rmtree($outdir)
>                         or die "Couldn't clear output directory $outdir:
> $!\n";
>                 print "done.\n"
>         }
> </snip>
> Line 1928 is the line containing "rmtree." My ISP person tells me that this
> command is nonexistant on our system. I couldn't find anything on it at
> www.perl.com or the Minivend docs/mailing list. I'm at a loss to explain
> what's going on. He gave the mvend user all permissions. The complete
> response to the attempt at building static pages is below my signature.
> 
> How can I work around or solve this problem and build my static pages?
> 
> BTW, it's a Sun dual CPU SPARCstation-20 Dedicated High-Duty Internet Server
> with 512MB RAM, 4GB disk space. Perl is version 5.005_03 built for
> sun4-solaris. Minivend version 3.14-3. Apache server and the latest version
> of Solaris(UNIX) operating system.
> 
> -Thanks very much,
> Rob Maurer
> 
> --the output from Minivend follows--
> /software/etc/mvend>bin/start -test -build titanic
> CyberCash module found (CyberCash 2).
> CyberCash module found (CyberCash 3).
> MiniVend V3.14-3
> Configuring catalog titanic...doing static page build
> Clearing output directory
> /home3/titanic/public_html/titanic/pages..Can't remove
> directory /home3/titanic/public_html/titanic/pages:
> Permission denied at /opt2/software/etc/mvend/bin/minivend line 1928
> 
> Couldn't clear output directory
> /home3/titanic/public_html/titanic/pages: Permission denied
> 
> titanic: error building pages. Skipping.
> titanic: Page build error. Skipping.
> Couldn't clear output directory
> /home3/titanic/public_html/titanic/pages: Permission denied

rmtree = remove tree = much like the Unix command C<rm -r>. It is perl.
Because i have perl in my UNIX and in my WIN-Box. I have grep my Unix-
and WIN-FS (ActiveState). Check the permission! Hope this helps!

Regards,
	Joachim

-- 
-------------Hans-Joachim Leidinger---------------------

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: