MogileFS.class.bin error

Erik Osterman e at osterman.com
Mon Aug 20 18:45:45 UTC 2007


In your code, you refer to the tracker at tcp://127.0.0.1 but you are 
using 192.168.1.102:6001 in your mogadm command. Are they the same server?

You code:
$mfs = new MogileFS('testdomain', 'testclass', 'tcp://127.0.0.1');



drpr0ctologist at gmail.com wrote:
>
>     That is an error returned by the MogileFS tracker. You need to
>     first make sure you've setup the class and domain using mogadm.
>
>     mogadm domain add testdomain
>     mogadm class add testdomain testclass
>
>  
>
> I thought that too, but the domain and class already do exist... Any 
> other reasons this could be happening?
>  
> # mogadm --lib=/usr/lib/perl5/5.8.5 --trackers=192.168.1.102:6001 
> <http://192.168.1.102:6001> domain list
>  domain               class                mindevcount
> -------------------- -------------------- -------------
>  testdomain         testclass                     2
>  
>  
>  
>  



More information about the mogilefs mailing list