Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

db_lmdb.hpp:15] Check failed: mdb_status == 0 (-30796 vs. 0) MDB_CORRUPTED: Located page was wrong type #6578

Open
PeteJanda opened this issue Oct 17, 2018 · 6 comments

Comments

@PeteJanda
Copy link

Fresh, successful Caffe installation on Ubuntu 16.04. Caffe was compiled on the system for CPU-only operation. LMDB version 0.9.17-3 is installed as well. Everything is very 'vanilla'.

To double check everything, I followed the MNIST installation instructions:

cd $CAFFE_ROOT
./data/mnist/get_mnist.sh
./examples/mnist/create_mnist.sh

The third script is the one that generated the aforementioned error. Does anyone know the cause?

@CrazyWolf2014
Copy link

me too

@gao-lex
Copy link

gao-lex commented Feb 13, 2019

Do you use windows WSL??
I got same error in my WSL .
But when i use same command and same script run in my ubuntu server,no errors happend.

@hailsham
Copy link

Do you use windows WSL??
I got same error in my WSL .
But when i use same command and same script run in my ubuntu server,no errors happend.

I meet the same problem with WSL

@gao-lex
Copy link

gao-lex commented Mar 16, 2019

Do you use windows WSL??
I got same error in my WSL .
But when i use same command and same script run in my ubuntu server,no errors happend.

I meet the same problem with WSL

if u use wsl,the error is make by wsl,i was sure that

@chenhai998
Copy link

I found a method to solve this,

  1. you can vim the file$CAFFE_ROOT/include/caffe/util/db_lmdb.hpp ,
  2. comment out the line CHECK_EQ(mdb_status, MDB_SUCCESS) << mdb_strerror(mdb_status);
  3. return to the $CAFFE_ROOT, remake caffe by make -j

image

By the way, you can run make test && make runtest to test if caffe works.

@TwTravel
Copy link

I found a method to solve this,

  1. you can vim the file$CAFFE_ROOT/include/caffe/util/db_lmdb.hpp ,
  2. comment out the line CHECK_EQ(mdb_status, MDB_SUCCESS) << mdb_strerror(mdb_status);
  3. return to the $CAFFE_ROOT, remake caffe by make -j

image

By the way, you can run make test && make runtest to test if caffe works.

it works! thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants