Yay Doug.

Dude its a Saturday evening (UK), shouldn't you be cracking the barby

mtksite:~ Dan$ /usr/local/BerkeleyDB.4.8/bin/db_archive -V
Berkeley DB 4.8.26: (December 18, 2009)

Yep the googs has a few references to this error - looks like it can be 
caused by a multitude of many varied sins. gdb doesn't help it bombs out 
before getting to any db stuff. I was looking if there was a way of passing 
'do loads of debug logging' flags to the berkeley lib, but couldnt find 
anything.

trying with a mac ports version of Berkeley now

Don't sweat it - I am away next week, and thought I'd try spiking a quick 
rest server in front of hypertable.

Cheers.

On Saturday, 21 July 2012 19:04:58 UTC+1, Doug Judd wrote:
>
> Hi Dan,
>
> This is not an error that I've ever seen before.  What version of Berkeley 
> DB are you using?  Also, does anything turn up if you do an Internet search 
> for that error message?
>
> - Doug
>
> On Sat, Jul 21, 2012 at 7:05 AM, Dan Mullineux  wrote:
>
>> Feels a bit like I'm going to be asking myself this...
>>
>> I have a problem getting ht to run on mac osx lion...
>>
>> Got everything building and the dfs comes up nicely, but the 
>> Hyperspace.master fails with...
>>
>> "BDB ERROR:unable to join the environment"
>>
>> from /opt/hypertable/current/bin i run..
>>
>> sudo ./start-hyperspace.sh
>>
>> the Log shows...
>>
>> 1342878476 NOTICE Hyperspace.Master : 
>> (/Users/Dan/projects/theirs/hypertable/src/src/cc/Common/Config.cc:123) 
>> Install : /opt/hypertable/0.9.5.6
>> 1342878476 NOTICE Hyperspace.Master : 
>> (/Users/Dan/projects/theirs/hypertable/src/src/cc/Common/Config.cc:124) 
>> Current : /opt/hypertable/0.9.5.6/bin
>> 1342878476 NOTICE Hyperspace.Master : 
>> (/Users/Dan/projects/theirs/hypertable/src/src/cc/Common/Config.cc:141) 
>> Else Defcon : /opt/hypertable/0.9.5.6/conf/hypertable.cfg
>> 1342878476 NOTICE Hyperspace.Master : 
>> (/Users/Dan/projects/theirs/hypertable/src/src/cc/Common/Config.cc:485) 
>> conf file: /opt/hypertable/current/conf/hypertable.cfg
>> 1342878476 NOTICE Hyperspace.Master : 
>> (/Users/Dan/projects/theirs/hypertable/src/src/cc/Common/Config.cc:545) 
>> Initializing Hyperspace.Master (Hypertable 0.9.5.6 
>> (v0.9.5.6-87-gf526739-dirty))...
>> CPU cores count=2
>> DfsBroker.DisableFileRemoval=false
>> DfsBroker.Port=38030
>> Hyperspace.GracePeriod=200000
>> Hyperspace.KeepAlive.Interval=30000
>> Hyperspace.Lease.Interval=1000000
>> Hyperspace.Replica.Dir=/opt/hypertable/0.9.5.6/hyperspace
>> Hyperspace.Replica.Host=[mtksite]
>> Hyperspace.Replica.Port=38040
>> Hyperspace.Replica.Reactors=2
>> Hypertable.Master.Port=38050
>> Hypertable.RangeServer.Port=38060
>> Hypertable.Verbose=true
>> ThriftBroker.Port=38080
>> config=/opt/hypertable/current/conf/hypertable.cfg
>> dir=/opt/hypertable/0.9.5.6/hyperspace
>> keepalive=30000
>> lease-interval=1000000
>> pidfile=/opt/hypertable/0.9.5.6/run/Hyperspace.pid
>> port=38040
>> reactors=2
>> verbose=true
>> 1342878476 INFO Hyperspace.Master : 
>> (/Users/Dan/projects/theirs/hypertable/src/src/cc/Hyperspace/Master.cc:152) 
>> BerkeleyDB base directory = '/opt/hypertable/0.9.5.6/hyperspace'
>> 1342878476 INFO Hyperspace.Master : 
>> (/Users/Dan/projects/theirs/hypertable/src/src/cc/Hyperspace/BerkeleyDbFilesystem.cc:110)
>>  
>> localhost=mtksite localip=192.168.1.103
>> 1342878476 INFO Hyperspace.Master : 
>> (/Users/Dan/projects/theirs/hypertable/src/src/cc/Hyperspace/BerkeleyDbFilesystem.cc:112)
>>  
>> basedir=/opt/hypertable/0.9.5.6/hyperspace
>> 1342878476 INFO Hyperspace.Master : 
>> (/Users/Dan/projects/theirs/hypertable/src/src/cc/Hyperspace/BerkeleyDbFilesystem.cc:398)
>>  
>> BDB ERROR:unable to join the environment
>>
>> though the first time it runs it appears to bomb out silently...
>>
>> there are a few files created in ./hyperspace...
>>
>> mtksite:bin Dan$ ls -lrt /opt/hypertable/current/hyperspace
>> total 832
>> -rw-r--r--  1 root  staff       0 21 Jul 14:45 lock
>> -rw-r-----  1 root  staff  401408 21 Jul 14:47 __db.002
>> -rw-r-----  1 root  staff   24576 21 Jul 14:47 __db.001
>>
>>
>> I built Berkely DB from source.... for info
>>
>> mtksite:bin Dan$ ./ldd.sh Hyperspace.Master 
>> /opt/hypertable/current/bin/Hyperspace.Master:
>>  /opt/local/lib/libboost_filesystem.dylib (compatibility version 0.0.0, 
>> current version 0.0.0)
>> /opt/local/lib/libboost_iostreams.dylib (compatibility version 0.0.0, 
>> current version 0.0.0)
>>  /opt/local/lib/libboost_program_options.dylib (compatibility version 
>> 0.0.0, current version 0.0.0)
>> /opt/local/lib/libboost_system.dylib (compatibility version 0.0.0, 
>> current version 0.0.0)
>>  /opt/local/lib/libboost_thread-mt.dylib (compatibility version 0.0.0, 
>> current version 0.0.0)
>> /opt/local/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current 
>> version 1.0.6)
>>  /opt/local/lib/liblog4cpp.4.dylib (compatibility version 5.0.0, current 
>> version 5.6.0)
>> /opt/local/lib/libsnappy.1.dylib (compatibility version 3.0.0, current 
>> version 3.2.0)
>>  /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current 
>> version 1.2.7)
>> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 
>> 159.0.0)
>>  /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
>> version 159.1.0)
>> /usr/lib/libc++abi.dylib (compatibility version 1.0.0, current version 
>> 14.0.0)
>>  /usr/lib/libedit.3.dylib (compatibility version 2.0.0, current version 
>> 3.0.0)
>> /usr/lib/libncurses.5.4.dylib (compatibility version 5.4.0, current 
>> version 5.4.0)
>>  /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current 
>> version 52.0.0)
>> /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
>>  /usr/lib/system/libcache.dylib (compatibility version 1.0.0, current 
>> version 47.0.0)
>> /usr/lib/system/libcommonCrypto.dylib (compatibility version 1.0.0, 
>> current version 55010.0.0)
>>  /usr/lib/system/libcompiler_rt.dylib (compatibility version 1.0.0, 
>> current version 6.0.0)
>> /usr/lib/system/libcopyfile.dylib (compatibility version 1.0.0, current 
>> version 85.1.0)
>>  /usr/lib/system/libdispatch.dylib (compatibility version 1.0.0, current 
>> version 187.7.0)
>> /usr/lib/system/libdnsinfo.dylib (compatibility version 1.0.0, current 
>> version 395.10.0)
>>  /usr/lib/system/libdyld.dylib (compatibility version 1.0.0, current 
>> version 195.6.0)
>> /usr/lib/system/libkeymgr.dylib (compatibility version 1.0.0, current 
>> version 23.0.0)
>>  /usr/lib/system/liblaunch.dylib (compatibility version 1.0.0, current 
>> version 392.36.0)
>> /usr/lib/system/libmacho.dylib (compatibility version 1.0.0, current 
>> version 800.0.0)
>>  /usr/lib/system/libmathCommon.A.dylib (compatibility version 1.0.0, 
>> current version 2026.0.0)
>> /usr/lib/system/libquarantine.dylib (compatibility version 1.0.0, current 
>> version 36.2.0)
>>  /usr/lib/system/libremovefile.dylib (compatibility version 1.0.0, 
>> current version 21.1.0)
>> /usr/lib/system/libsystem_blocks.dylib (compatibility version 1.0.0, 
>> current version 53.0.0)
>>  /usr/lib/system/libsystem_c.dylib (compatibility version 1.0.0, current 
>> version 763.12.0)
>> /usr/lib/system/libsystem_dnssd.dylib (compatibility version 1.0.0, 
>> current version 1.0.0)
>>  /usr/lib/system/libsystem_info.dylib (compatibility version 1.0.0, 
>> current version 1.0.0)
>> /usr/lib/system/libsystem_kernel.dylib (compatibility version 1.0.0, 
>> current version 1699.24.23)
>>  /usr/lib/system/libsystem_network.dylib (compatibility version 1.0.0, 
>> current version 1.0.0)
>> /usr/lib/system/libsystem_notify.dylib (compatibility version 1.0.0, 
>> current version 80.1.0)
>>  /usr/lib/system/libsystem_sandbox.dylib (compatibility version 1.0.0, 
>> current version 1.0.0)
>> /usr/lib/system/libunc.dylib (compatibility version 1.0.0, current 
>> version 24.0.0)
>>  /usr/lib/system/libunwind.dylib (compatibility version 1.0.0, current 
>> version 30.0.0)
>> /usr/lib/system/libxpc.dylib (compatibility version 1.0.0, current 
>> version 77.18.0)
>>  /usr/local/BerkeleyDB.4.8/lib/libdb_cxx-4.8.dylib (compatibility 
>> version 0.0.0, current version 0.0.0)
>>
>>
>> Please help....
>>
>>
>>  
>>
>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Hypertable Development" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/hypertable-dev/-/Sur4BYWAQdAJ.
>>
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> For more options, visit this group at 
>> http://groups.google.com/group/hypertable-dev?hl=en.
>>
>
>
>
> -- 
> Doug Judd
> CEO, Hypertable Inc.
>
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Hypertable Development" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/hypertable-dev/-/Jo8kBcePRQwJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hypertable-dev?hl=en.

Reply via email to