Personal tools
You are here: Home Forums-old Dispersed Storage Users Problem running dsnet on debian/ubuntu ?
Document Actions

Problem running dsnet on debian/ubuntu ?

Up to Dispersed Storage Users

Problem running dsnet on debian/ubuntu ?

Posted by Christoph Adomeit at July 10. 2008

Hi there,


 


i wanted to test run dsnet  but a requirement is that it runs under debian etch. I test installed dsnet on debian and it should not be a big problem to run, since it is java code.


I have installed dsnet-accesser and dsnet-slicestor on debian like described in the docs and it looks very promising.


However, when i want to fir up a vault I get:


root@machine:/usr/local/dsnet-accesser/conf# /usr/local/dsnet-accesser/bin/dsnet-create-vault -n "testvault1" -d ../conf/vault-descriptor.xml
Error creating vault on access server
Failed to retrieve RMIServer stub: javax.naming.NameNotFoundException: jmxrmi


or when running other commands i get:


root@camachine:/usr/local/dsnet-accesser/bin# ./dsnet-list-vaults
Could not connect to vault manager on access server
Failed to retrieve RMIServer stub: javax.naming.NameNotFoundException: jmxrmi


I also hat nothing running on Port 1099 but then I found out that I can fire up /usr/bin/rmiregistry and then something is listening on that port.


 


Do I miss a component which is there in RedHat but not on debian ? I tested sun-java5-jre and sun-java6-jre wit the same results.


Also when I run strace while running dsnet-create-vault I have a lot of errors like:


 


[pid  4908] stat64("/usr/local/dsnet-accesser/sun/text/resources/DateFormatZoneData_de_DE.class", 0xbfb4461c) = -1 ENOENT (No such file or directory)
[pid  4908] stat64("/usr/local/dsnet-accesser/sun/text/resources/DateFormatZoneData_de_DE.properties", 0xbfb442a8) = -1 ENOENT (No such file or directory)
[pid  4908] stat64("/usr/lib/jvm/java-1.5.0-sun-1.5.0.15/jre/lib/zi/UTC", 0xbfb44c90) = -1 ENOENT (No such file or directory)
[pid  4908] stat64("/usr/local/dsnet-accesser/com/ibm/uvm/tools/DebugSupport.class", 0xbfb44e2c) = -1 ENOENT (No such file or directory)
[pid  4908] stat64("/usr/local/dsnet-accesser/META-INF/services/javax.xml.parsers.DocumentBuilderFactory", 0xbfb45530) = -1 ENOENT (No such file or directory)
[pid  4908] stat64("/usr/local/dsnet-accesser/META-INF/services/javax.xml.parsers.DocumentBuilderFactory", 0xbfb45508) = -1 ENOENT (No such file or directory)
[pid  4908] stat64("/usr/local/dsnet-accesser/net/sf/cglib/proxy/Enhancer$EnhancerKey$$KeyFactoryByCGLIB$$7fb24d72.class", 0xbfb4528c) = -1 ENOENT (No such file or directory)
[pid  4908] stat64("/usr/local/dsnet-accesser/jndi.properties", 0xbfb454b4) = -1 ENOENT (No such file or directory)
[pid  4908] stat64("/usr/local/dsnet-accesser/META-INF/services/java.rmi.server.RMIClassLoaderSpi", 0xbfb44da0) = -1 ENOENT (No such file or directory)


 


Any Ideas ?


 


 


 


 


 


Re: Problem running dsnet on debian/ubuntu ?

Posted by wleggette at July 15. 2008

What version of the software are you using?


Re: Problem running dsnet on debian/ubuntu ?

Posted by Dylan T at August 13. 2008
I had this same RMIServer stub error.

It turned out to be a localhost issue.

First I ran these commands to see what was up.
uname -n
hostname -a
hostname -s
hostname -d
hostname -f
hostname -i
hostname

Then I ran
hostname mysubdomain.mydomain.com

Then I edited /etc/hosts

added:
123.132.123.123 mysubdomain.mydomain.com mysubdomain
127.0.0.1 localhost

Then I rebooted but that not necessary.
Powered by Ploneboard