Author Topic: BitShares 0.4.27.2 - problems while starting the client  (Read 1553 times)

0 Members and 1 Guest are viewing this topic.

Offline vikram

We have been seeing intermittent reports of this "database is not open" error for a long time and are not sure of all the causes. One possible cause is that the process is opening too many file handles than your Linux user allows.

Do you still get this error with a fresh data directory?

Offline josojo

  • Newbie
  • *
  • Posts: 8
    • View Profile
Hey,

Today, I have deleted my old Bitshares client and compiled the new version 0.4.27.2 with my ubuntu 14.04 machine. Unfortunately, now the client crashes each time I am trying to start it. The console gives me the following error messasge

Quote
~/bitshares/programs/qt_wallet/bin$ ./BitShares
appmenu-qt: registerWindow 196 "File"
appmenu-qt: registerWindow 196 "Accounts"
Listening for new instances on /tmp/BitShares
1403414ms th_a       thread.cpp:95                 thread               ] name:bitshares tid:140200906618624
1403445ms th_a       MainWindow.cpp:985            loadWebUpdates       ] No web update package found.
1403658ms th_a       ClientWrapper.cpp:134         initialize           ] config: {
  "rpc": {
    "enable": false,
    "rpc_user": "randomuser",
    "rpc_password": "e0293e3d06fad30638cb12895a24cf7e2926d902abdaff309ba00836442080d5",
    "rpc_endpoint": "127.0.0.1:0",
    "httpd_endpoint": "127.0.0.1:0",
    "htdocs": "./htdocs"
  },
  "default_peers": [
    "5.101.106.138:1776",
    "5.101.106.138:1777",
    "5.101.106.138:1778",
    "46.226.109.66:1776",
    "54.77.51.177:1776",
    "54.79.27.224:1776",
    "61.129.33.213:1776",
    "84.238.140.192:42577",
    "85.214.53.224:1776",
    "95.85.33.16:8764",
    "104.131.35.149:1776",
    "106.185.26.162:1776",
    "178.62.50.61:1776",
    "178.62.50.61:1777",
    "178.62.50.61:1778",
    "178.62.50.61:1779",
    "178.62.157.161:1776",
    "180.153.142.120:1777",
    "185.25.22.21:1776",
    "188.226.195.137:60696"
  ],
  "chain_servers": [],
  "chain_server": {
    "enabled": false,
    "listen_port": 0
  },
  "mail_server_enabled": false,
  "wallet_enabled": true,
  "ignore_console": false,
  "logging": {
    "includes": [],
    "appenders": [{
        "name": "stderr",
        "type": "console",
        "args": {
          "stream": "std_error",
          "level_colors": [{
              "level": "debug",
              "color": "green"
            },{
              "level": "warn",
              "color": "brown"
            },{
              "level": "error",
              "color": "red"
            }
          ]
        },
        "enabled": true
      },{
        "name": "stdout",
        "type": "console",
        "args": {
          "stream": "std_out",
          "level_colors": [{
              "level": "debug",
              "color": "green"
            },{
              "level": "warn",
              "color": "brown"
            },{
              "level": "error",
              "color": "red"
            }
          ]
        },
        "enabled": true
      }
    ],
    "loggers": [{
        "name": "default",
        "parent": null,
        "level": "debug",
        "enabled": true,
        "additivity": false,
        "appenders": [
          "stderr"
        ]
      }
    ]
  },
  "wallet_callback_url": "",
  "client_debug_name": "",
  "growl_notify_endpoint": null,
  "growl_password": null,
  "growl_bitshares_client_identifier": null,
  "relay_fee": 0,
  10000000000000001,
  "light_relay_fee": 0,
  10000000000000001,
  "relay_account_name": "",
  "track_statistics": true
}
1403658ms th_a       ClientWrapper.cpp:137         initialize           ] Starting client with data-dir: /home/josojo/.BitShares
Loading config from file: /home/josojo/.BitShares/config.json
1403977ms bitshares  ClientWrapper.cpp:206         operator()           ] Failure when attempting to initialize client
1407303ms bitshares  general_api.cpp:204           stop                 ] stop...
1407365ms bitshares  chain_database.cpp:1212       ~chain_database      ] unexpected exception closing database
 10 assert_exception: Assert Exception
_map->is_open(): Database is not open!
    {}
    bitshares  level_map.hpp:305 commit
error applying batch
    {}
    bitshares  level_map.hpp:314 commit

    {}
    bitshares  cached_level_map.hpp:52 flush

    {}
    bitshares  cached_level_map.hpp:28 close

    {}
    bitshares  chain_database.cpp:1485 close
1407374ms th_a       thread.cpp:115                ~thread              ] calling quit() on bitshares
1407374ms th_a       thread.cpp:160                quit                 ] destroying boost thread 140200906618624
1407374ms th_a       BitSharesApp.cpp:432          run                  ] stop logging (shutting down)

 It would be great if someone could explain me what exactly is happening and how I can resolve this problem.

Thank you