install problems

Ganth Rogani ganthirogani at hotmail.com
Fri Apr 21 07:36:52 UTC 2006


I actually did that just about an hour ago, but I also had to make the 
0/000/000 directories before it would store files.  anyone know why it 
didn't make it automatically?  i assume that at some point it will try to 
make another directory and will fail?


>From: andreas.koenig.gmwojprw at franz.ak.mind.de (Andreas J. Koenig)
>To:  <ganthirogani at hotmail.com>
>CC: mogilefs at lists.danga.com
>Subject: Re: install problems
>Date: Fri, 21 Apr 2006 09:27:55 +0200
>
> >>>>> On Thu, 20 Apr 2006 18:29:52 -0700, "Brian Kaino" 
><ganthirogani at hotmail.com> said:
>
>   > open(TEST, "test.txt") or die "Can't open file";
>   > $mogfs->store_file("test","txt",TEST);
>
>No mogilefs problem, just wrong usage of filehandles.
>
>Try something like
>
>  open my $fh, "test.txt" or die "Can't open file";
>  $mogfs->store_file("test","txt",$fh);
>
>or if you insist on old-style:
>
>  open(TEST, "test.txt") or die "Can't open file";
>  $mogfs->store_file("test","txt",*TEST);
>
>Hope this helps,
>--
>andreas

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



More information about the mogilefs mailing list