Author

Topic: devcoin "11DbException" on fresh VPS install (Read 1714 times)

donator
Activity: 112
Merit: 10
keybase.io/arblarg
Because it says "invalid argument" I suspect its compatibility issue, maybe check if you have installed the exact versions of the packages specified.

Some times new packages are not always backward compatible with the old ones.
vip
Activity: 756
Merit: 503
You are right about root but I forgot to logout after compiling Devcoin on a fresh VPS. So no blockchain at all...
sr. member
Activity: 419
Merit: 250
Also dont run things as root.
sr. member
Activity: 419
Merit: 250
Did you upgrade from a previous copy?

Old blockchain, etc

Those errors usually show when you copy data files from an old install. You can safely remove *db* files
vip
Activity: 756
Merit: 503
I don't know. I installed every dependency mentioned the build-unix file. It compiled without error.

Maybe after some sleep I will find.
donator
Activity: 112
Merit: 10
keybase.io/arblarg
Did you compile it against the right libraries?


Yeah thank's but it never started so I don't have any wallet or blockchain yet. But I created a devcoin.conf file.

This is what I get from the console:

Code:

root@crypto-tech:~# ./devcoind
devcoin server starting
root@crypto-tech:~#

************************
EXCEPTION: 11DbException       
DbEnv::open: Invalid argument       
devcoin in AppInit()       

terminate called after throwing an instance of 'DbException'
  what():  DbEnv::open: Invalid argument
vip
Activity: 756
Merit: 503
Yeah thank's but it never started so I don't have any wallet or blockchain yet. But I created a devcoin.conf file.

This is what I get from the console:

Code:

root@crypto-tech:~# ./devcoind
devcoin server starting
root@crypto-tech:~#

************************
EXCEPTION: 11DbException       
DbEnv::open: Invalid argument       
devcoin in AppInit()       

terminate called after throwing an instance of 'DbException'
  what():  DbEnv::open: Invalid argument
donator
Activity: 112
Merit: 10
keybase.io/arblarg
This was on Windows, but it looks like the same error:

https://bitcointalk.org/?topic=613.0%3Bwap2


Quote

sgtstein:
I've run into the same problem. Backup your wallet.dat if you haven't already. Try removing the "old" wallet and try again. If that doesn't work it means it is the database. If it is the database, you would need to remove the database folder and blk*.dat files and redownload the chain.

I haven't been able to figure it out yet. Trying to narrow it down myself.

vip
Activity: 756
Merit: 503
So I compiled devcoin from git but it dont start. I'm running ubuntu 10.04 and compiled BTC, NMC, LTC, I0C, IXC but the devcoin is the only one not working.

debug:
Code:
Bitcoin version 0.3.25.1-beta
Default data directory /root/.devcoin
Bound to port 6334
Loading addresses...
dbenv.open strLogDir=/root/.devcoin/database strErrorFile=/root/.devcoin/db.log


************************
EXCEPTION: 11DbException      
DbEnv::open: Invalid argument      
devcoin in AppInit()      

I've tried removing db.log without success.

I've read both thread about 11DbException but it's not the same situation as me.

Thank's!
Jump to: