[Bamboo-Users] bamboo on 64bit systems...

Sean Rhea sean.c.rhea at gmail.com
Thu Apr 3 21:26:57 UTC 2008


You need to set LD_LIBRARY_PATH to point to the library you compiled.
Sean


On Thu, Apr 3, 2008 at 10:30 AM, Walid Nasri
<walid.nasri at byteconstructor.de> wrote:
> Hi!
>
>  after I have compiled the 64bit-Versions of the DB library, I am now
>  faced with
>
> the following error:
>
>   bamboo/bin/run-java bamboo.lss.DustDevil node_134.2.172.65.cfg
>  bamboo/bin/run-java
>  PID: 31863
>
> LD_LIBRARY_PATH=:bamboo/bin/../lib/linux:/usr/local/lib
>  CLASSPATH=.:bamboo/bin/../src:bamboo/bin/../lib/ostore-seda-emu.jar:bamboo/bin/../lib/db-4.2.52.jar:bamboo/bin/../lib/diva-26Sep02.jar:bamboo/bin/../lib/log4j-1.2.8.jar:bamboo/bin/../lib/jrpcgen.jar:bamboo/bin/../lib/oncrpc.jar:bamboo/bin/../lib/je-1.5.1.jar:bamboo/bin/../lib/xmlrpc-1.2-b1.jar:bamboo/bin/../lib/commons-cli-1.0.jar
>  /usr/bin/java
>  -Djava.library.path=:bamboo/bin/../lib/linux:/usr/local/lib -mx4M
>  -verify -ea:bamboo... bamboo.lss.DustDevil node_134.2.172.65.cfg
>  2008-04-03 19:23:18,119 INFO  bamboo.lss.DustDevil: DustDevil version 0.1
>  2008-04-03 19:23:18,490 INFO  bamboo.lss.Network: Network
>
> u-172-c065.cs.uni-tuebingen.de now listening on port 3630
>  2008-04-03 19:23:18,496 INFO  bamboo.lss.Network: config.drop_prob=0.0
>  2008-04-03 19:23:18,496 INFO  bamboo.lss.Network:
>  config.separate_thread=false
>  2008-04-03 19:23:18,515 INFO  bamboo.lss.UdpCC: initial rcv sobuf = 61440
>  2008-04-03 19:23:18,520 INFO  bamboo.lss.Network:
>
> config.udpcc_debug_level=-1
>  2008-04-03 19:23:18,520 INFO  bamboo.lss.Network:
>
> config.udpcc_rx_sockbuf_size=-1
>  2008-04-03 19:23:18,521 INFO  bamboo.lss.Network: config.timeout_factor=-1.0
>  2008-04-03 19:23:18,521 INFO  bamboo.lss.Network: config.timeout_diff=-1.0
>  2008-04-03 19:23:18,521 INFO  bamboo.lss.Network: config.mac_key_file=null
>  2008-04-03 19:23:18,591 INFO  bamboo.router.Router:
>
> config.no_rexmit_routes=false
>  2008-04-03 19:23:18,591 INFO  bamboo.router.Router:
>
> config.ignore_possibly_down=false
>  2008-04-03 19:23:18,591 INFO  bamboo.router.Router:
>  config.ignore_proximity=false
>  2008-04-03 19:23:18,591 INFO  bamboo.router.Router: config.digit_values=16
>  2008-04-03 19:23:18,591 INFO  bamboo.router.Router:
>
> config.partition_check_alarm_period=60
>  2008-04-03 19:23:18,591 INFO  bamboo.router.Router:
>
> config.periodic_ping_period=20
>  2008-04-03 19:23:18,591 INFO  bamboo.router.Router: config.ls_alarm_period=4
>  2008-04-03 19:23:18,591 INFO  bamboo.router.Router:
>
> config.near_rt_alarm_period=10
>  2008-04-03 19:23:18,591 INFO  bamboo.router.Router:
>
> config.far_rt_alarm_period=20
>  2008-04-03 19:23:18,591 INFO  bamboo.router.Router:
>
> config.lookup_rt_alarm_period=0
>  2008-04-03 19:23:18,591 INFO  bamboo.router.Router:
>  config.explicit_guid=null
>  2008-04-03 19:23:18,591 INFO  bamboo.router.Router: config.pkey=null
>
> Could not load JNI SHA1.  Using Java implementation instead.  (This will
>  affect performance, but not correctness.)
>  2008-04-03 19:23:18,599 INFO  bamboo.router.Router: config.gateway_count=1
>  2008-04-03 19:23:18,600 INFO  bamboo.router.Router:
>
> config.gateway_0=134.2.172.65:3630
>  2008-04-03 19:23:18,600 INFO  bamboo.router.Router: Bamboo node
>
> 134.2.172.65:3630 has guid 0x1d03084c
>  2008-04-03 19:23:18,600 INFO  bamboo.router.Router: config.leaf_set_size=2
>  2008-04-03 19:23:18,602 INFO  bamboo.router.Router: config.rt_scale=-1.0
>  2008-04-03 19:23:18,605 INFO  bamboo.router.Router:
>
> config.location_cache_size=0
>  2008-04-03 19:23:18,605 INFO  bamboo.router.Router:
>  config.immediate_join=false
>  2008-04-03 19:23:18,606 INFO  bamboo.www.WebInterface:
>  config.build_file=null
>  2008-04-03 19:23:18,606 INFO  bamboo.www.WebInterface:
>  config.include_logs=false
>  2008-04-03 19:23:18,607 INFO  bamboo.www.WebInterface:
>
> config.storage_manager_stage=StorageManager
>  2008-04-03 19:23:18,609 WARN  bamboo.util.GetTimeOfDayCC: GetTimeOfDayCC
>  not available
>  2008-04-03 19:23:18,612 INFO  bamboo.db.StorageManager:
>
> config.homedir=sm-blocks-0
>  2008-04-03 19:23:18,612 INFO  bamboo.db.StorageManager:
>
> config.print_open_cursors=false
>  2008-04-03 19:23:18,612 INFO  bamboo.db.StorageManager:
>
> config.libdb_cache_size=-1
>  2008-04-03 19:23:19,180 FATAL bamboo.lss.DustDevil: Error: caught an
>  exception java.io.FileNotFoundException: No such file or directory while
>  trying to initialize the stage bamboo.db.StorageManager at 3a747fa2.
>  java.io.FileNotFoundException: No such file or directory
>         at com.sleepycat.db.db_javaJNI.Db_open0(Native Method)
>         at com.sleepycat.db.Db.open0(Db.java:4499)
>         at com.sleepycat.db.Db.open(Db.java:491)
>         at bamboo.db.StorageManager.init(StorageManager.java:756)
>
>         at bamboo.lss.DustDevil.init_nodes(DustDevil.java:138)
>         at bamboo.lss.DustDevil.main(DustDevil.java:281)
>         at bamboo.lss.DustDevil.main(DustDevil.java:184)
>         at bamboo.lss.DustDevil.main(DustDevil.java:338)
>
>  I am now very confused...
>  Some solutions?
>
>  Thanks,
>  Walid
>
>
>
>
>
>  Massimo Coppola schrieb:
>
> > I can confirm we did last december, running Bamboo over part of the
>  > Grid5000 Grid platform. As far as I remember we were in a hurry and we
>  > found an already compiled 64-bit DB library on the internet.
>  >
>  >     Massimo
>  >
>  > Sean Rhea wrote:
>  >> You're going to have to build the Berkeley DB Java JNI libraries for
>  >> 64 bit systems...
>  >> Sean
>  >>
>  >>
>  >>
>  >> On Tue, Apr 1, 2008 at 6:22 AM, Walid Nasri
>  >> <walid.nasri at byteconstructor.de> wrote:
>  >>> Hi,
>  >>>
>  >>>  I am trying to get bamboo working on a 64bit operating system (Gentoo
>  >>>  Linux).
>  >>>  After exchanging the 32bit versions of libdb-4.2.so and
>  >>>  libdb_java-4.2.so to their
>  >>>  64bit counterparts, i get the following error:
>  >>>
>  >>>  bamboo/bin/run-java bamboo.lss.DustDevil node_134.2.172.65.cfg
>  >>>  bamboo/bin/run-java
>  >>>  PID: 1412
>  >>>  LD_LIBRARY_PATH=:bamboo/bin/../lib/linux:/usr/local/lib
>  >>>  CLASSPATH=.:bamboo/bin/../src:bamboo/bin/../lib/ostore-seda-emu.jar:bamboo/bin/../lib/db-4.2.52.jar:bamboo/bin/../lib/diva-26Sep02.jar:bamboo/bin/../lib/log4j-1.2.8.jar:bamboo/bin/../lib/jrpcgen.jar:bamboo/bin/../lib/oncrpc.jar:bamboo/bin/../lib/je-1.5.1.jar:bamboo/bin/../lib/xmlrpc-1.2-b1.jar:bamboo/bin/../lib/commons-cli-1.0.jar
>  >>>
>  >>
>  >
>
>
> _______________________________________________
>  Bamboo-Users mailing list
>  Bamboo-Users at bamboo-dht.org
>  http://bamboo-dht.org/cgi-bin/mailman/listinfo/bamboo-users
>



-- 
"Humanity has advanced, when it has advanced, not because it has been
sober, responsible, and cautious, but because it has been playful,
rebellious, and immature." -- Tom Robbins


More information about the Bamboo-Users mailing list