Author

Topic: Multiple blockchains on one server with Berkeley DB 4.8.30? (Read 661 times)

legendary
Activity: 1066
Merit: 1050
Khazad ai-menu!
bump

i just encountered the same problem.  Any solultions? 
newbie
Activity: 10
Merit: 0
Same for DASH;
Code:
2016-03-01 15:42:04 Dash version v0.12.0.56-7154cdf (2016-01-23 11:00:30 +0100)
2016-03-01 15:42:04 Using OpenSSL version OpenSSL 1.0.2d 9 Jul 2015
2016-03-01 15:42:04 Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
2016-03-01 15:42:04 Default data directory /root/.dash
2016-03-01 15:42:04 Using data directory /root/.dash
2016-03-01 15:42:04 Using config file /root/.dash/dash.conf
2016-03-01 15:42:04 Using at most 125 connections (1024 file descriptors available)
2016-03-01 15:42:04 Using 2 threads for script verification
2016-03-01 15:42:04 Binding RPC on address ::1 port 9998 (IPv4+IPv6 bind any: 0)
2016-03-01 15:42:04 Binding RPC on address 127.0.0.1 port 9998 (IPv4+IPv6 bind any: 0)
2016-03-01 15:42:04 Using wallet wallet.dat
2016-03-01 15:42:04 init message: Verifying wallet...
2016-03-01 15:42:04 CDBEnv::Open: LogDir=/root/.dash/database ErrorFile=/root/.dash/db.log
2016-03-01 15:42:04 ERROR: CDBEnv::Open : Error 22 opening database environment: Invalid argument

2016-03-01 15:42:04 Moved old /root/.dash/database to /root/.dash/database.1456846924.bak. Retrying.
2016-03-01 15:42:04 CDBEnv::Open: LogDir=/root/.dash/database ErrorFile=/root/.dash/db.log
2016-03-01 15:42:04 ERROR: CDBEnv::Open : Error 22 opening database environment: Invalid argument

2016-03-01 15:42:04 Error: Error initializing wallet database environment /root/.dash!
2016-03-01 15:42:04 PrepareShutdown: In progress...
2016-03-01 15:42:04 StopNode()
2016-03-01 15:42:04 Verifying mncache.dat format...
2016-03-01 15:42:04 ERROR: Read : Failed to open file /root/.dash/mncache.dat
2016-03-01 15:42:04 Missing masternode cache file - mncache.dat, will try to recreate
2016-03-01 15:42:04 Writting info to mncache.dat...
2016-03-01 15:42:04 Written info to mncache.dat  1ms
2016-03-01 15:42:04   Masternodes: 0, peers who asked us for Masternode list: 0, peers we asked for $
2016-03-01 15:42:04 Masternode dump finished  1ms
2016-03-01 15:42:04 Verifying budget.dat format...
2016-03-01 15:42:04 ERROR: Read : Failed to open file /root/.dash/budget.dat
2016-03-01 15:42:04 Missing budgets file - budget.dat, will try to recreate
2016-03-01 15:42:04 Writting info to budget.dat...
2016-03-01 15:42:04 Written info to budget.dat  0ms
2016-03-01 15:42:04 Budget dump finished  0ms
2016-03-01 15:42:04 Verifying mnpayments.dat format...
2016-03-01 15:42:04 ERROR: Read : Failed to open file /root/.dash/mnpayments.dat

Though dogecoin works seamlessly.
newbie
Activity: 10
Merit: 0
I get this error while trying to do so, configured with tag --with-incompitable-dbd

Debug.log
Code:
2016-03-01 14:59:55 Litecoin version v0.10.4.0-fc830d2 (2016-02-18 16:39:24 +1100)
2016-03-01 14:59:55 Using OpenSSL version OpenSSL 1.0.2d 9 Jul 2015
2016-03-01 14:59:55 Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
2016-03-01 14:59:55 Default data directory /root/.litecoin
2016-03-01 14:59:55 Using data directory /root/.litecoin
2016-03-01 14:59:55 Using config file /root/.litecoin/litecoin.conf
2016-03-01 14:59:55 Using at most 125 connections (1024 file descriptors available)
2016-03-01 14:59:55 Using 2 threads for script verification
2016-03-01 14:59:55 Binding RPC on address ::1 port 9332 (IPv4+IPv6 bind any: 0)
2016-03-01 14:59:55 Binding RPC on address 127.0.0.1 port 9332 (IPv4+IPv6 bind any: 0)
2016-03-01 14:59:55 Using wallet wallet.dat
2016-03-01 14:59:55 init message: Verifying wallet...
2016-03-01 14:59:55 CDBEnv::Open : LogDir=/root/.litecoin/database ErrorFile=/root/.litecoin/db.log
2016-03-01 14:59:55 ERROR: CDBEnv::Open : Error 22 opening database environment: Invalid argument

2016-03-01 14:59:55 Moved old /root/.litecoin/database to /root/.litecoin/database.1456844395.bak. Retrying.
2016-03-01 14:59:55 CDBEnv::Open : LogDir=/root/.litecoin/database ErrorFile=/root/.litecoin/db.log
2016-03-01 14:59:55 ERROR: CDBEnv::Open : Error 22 opening database environment: Invalid argument

2016-03-01 14:59:55 Error: Error initializing wallet database environment /root/.litecoin!
2016-03-01 14:59:55 Shutdown: In progress...
2016-03-01 14:59:55 RPCAcceptHandler: Error: Operation canceled
2016-03-01 14:59:55 RPCAcceptHandler: Error: Operation canceled
2016-03-01 14:59:55 StopNode()
2016-03-01 14:59:55 Shutdown: done

DB.log
Code:
replication requires locking support
replication requires locking support

What would be the correct approach, to support for example multiple Berkeley DB's (or whatever they where named) ?

I only need the blockchain to check for X confirmations, but when I use --disablewallet while configuring the client RPC commands are gone.

Sincerely.
Jump to: