client runtime error: 10001 level_map_open_failure: level_map open failure

Started by bulletproof, August 06, 2015, 02:26:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bulletproof

Thanks @xeroc,  another reboot did it.. now replaying the blockchain
Everything is awesome, or if it isn't it ought to be.

xeroc

IO error it says .. your resource is unavailable. That error is unreled to bts. Maybe do a reboot

Edit: do you have write permissions in .BitShares?

bulletproof

...should add I restarted the instance and tried again - same error.
Everything is awesome, or if it isn't it ought to be.

bulletproof

Hi all

Just trying to get my client installation up on my AWS EC2 instance (Ubuntu 14.04) and ran into this error. Have installed and build client from repo successfully and started it in successfully, but it crashed while syncing. A restart caused the error. From ssh I ran following command and debug output was as follows. Any help most appreciated:

gdb ./bitshares_client then run

Starting program: /home/ubuntu/bitshares/programs/client/bitshares_client
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19-gdb.py", line 63, in <module>
    from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named 'libstdcxx'
Loading blockchain from: /home/ubuntu/.BitShares/chain
Loading config from file: /home/ubuntu/.BitShares/config.json
[New Thread 0x7ffff6396700 (LWP 2023)]
[New Thread 0x7ffff5994700 (LWP 2024)]
Using blockchain checkpoints from file: /home/ubuntu/.BitShares/checkpoints.json
[New Thread 0x7ffff5193700 (LWP 2025)]
------------ error --------------
10001 level_map_open_failure: level_map open failure
Failure opening database: /home/ubuntu/.BitShares/chain/raw_chain/block_id_to_data_original
Status: IO error: lock /home/ubuntu/.BitShares/chain/raw_chain/block_id_to_data_original/LOCK: Resource temporarily unavailable
    {"db":"/home/ubuntu/.BitShares/chain/raw_chain/block_id_to_data_original","msg":"IO error: lock /home/ubuntu/.BitShares/chain/raw_chain/block_id_to_data_original/LOCK: Resource temporarily unavailable"}
    th_a  level_map.hpp:68 open

    {"dir":"/home/ubuntu/.BitShares/chain/raw_chain/block_id_to_data_original","create":true,"cache_size":0}
    th_a  level_map.hpp:73 open

    {"data_dir":"/home/ubuntu/.BitShares/chain"}
    th_a  chain_database.cpp:1714 open

    {"data_dir":"/home/ubuntu/.BitShares"}
    th_a  client.cpp:1329 open
[Thread 0x7ffff6396700 (LWP 2023) exited]
[Thread 0x7ffff5994700 (LWP 2024) exited]
[Thread 0x7ffff5193700 (LWP 2025) exited]
[Inferior 1 (process 2019) exited normally]
(gdb)
Everything is awesome, or if it isn't it ought to be.