rapoth / kosmosfs

Automatically exported from code.google.com/p/kosmosfs
Apache License 2.0
0 stars 2 forks source link

Error while mounting kfs directory using FUSE #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Error while mounting KFS directory  using FUSE ? 

./kfs_fuse /media/hugedisk/KFS/mountkfs -f

kfs_fuse: /usr/include/boost/smart_ptr/shared_ptr.hpp:418: T* 
boost::shared_ptr< <template-parameter-1-1> >::operator->() const [with T = 
KFS::KfsClient]: Assertion `px != 0' failed.
Aborted

What version of the product are you using? On what operating system?
Im using kosmosfs .5 version on Ubuntu 10.04 64 bit .. 

Original issue reported on code.google.com by swap4uma...@gmail.com on 10 Jun 2011 at 12:33

GoogleCodeExporter commented 9 years ago
the same problem with me. Wtf is that T_T

Original comment by Ng.t...@gmail.com on 6 Sep 2011 at 6:01

GoogleCodeExporter commented 9 years ago
is the kfs.prp right?

Original comment by whspecia...@gmail.com on 7 Sep 2011 at 4:14

GoogleCodeExporter commented 9 years ago
I had the same issue. my kfs.prp file was as follows (copied from 
http://sourceforge.net/apps/trac/kosmosfs/wiki/UsingWithFUSE)
metaServer.host = localhost
metaServer.port = 20000

After having a look at the code src/cc/libkfsClient/KfsClient.cc:

KfsClientPtr
KfsClientFactory::GetClient(const char *propFile)
{
    bool verbose = false;
#ifdef DEBUG
    verbose = true;
#endif
    if (theProps().loadProperties(propFile, '=', verbose) != 0) {
        KfsClientPtr clnt;
    return clnt;
    }

    return GetClient(theProps().getValue("metaServer.name", ""),
                     theProps().getValue("metaServer.port", -1));

}

I changed the kfs.prp file to:
metaServer.name = localhost
metaServer.port = 20000

and it all worked fine.

Original comment by m...@robertobruggemann.com on 23 Oct 2011 at 11:01

GoogleCodeExporter commented 9 years ago
That kfs_fuse file is error because there are bugs in Kfs_fuse_main.cc file.
The author  even didn‘t test its release 

Original comment by charles....@gmail.com on 13 May 2012 at 11:57