Bitcoin Forum
November 19, 2024, 05:32:28 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Armory 0.96.5 Datebase initiated failed  (Read 152 times)
Wsbltc (OP)
Newbie
*
Offline Offline

Activity: 48
Merit: 0


View Profile
April 23, 2019, 07:15:31 AM
 #1

Failed to initiate Armory database with the Armory 0.96.5 & Bitcoin 0.17.1 & Gcc 7.3 on Ubuntu 18.04.2 LTS.
It is stuck at the beginning of "Preparing Databases"  on GUI and the ~/.armory/database directory is empty.
The blockchain data of Bitcoin has been fully synced(232G) in ~/.bitcoin.
Any help will be apreciated.

All the ERROR in the debug log:
Code:
(ERROR) ArmoryUtils.py:3735 - Unsupported language  specified. Defaulting to English (en)
-ERROR - U: (DataObject.h:286) exhausted entries in Arguments object
-ERROR - : (SwigClient.cpp:61) exhausted entries in Arguments object

The complete log:
Code:
(INFO) ArmoryUtils.py:1164 - C++ block utilities loaded successfully
(INFO) ArmoryUtils.py:689 - Executing popen: free -m
(INFO) ArmoryUtils.py:689 - Executing popen: ['cat', '/proc/cpuinfo']
(INFO) ArmoryUtils.py:1281 -
(INFO) ArmoryUtils.py:1282 -
(INFO) ArmoryUtils.py:1283 -
(INFO) ArmoryUtils.py:1284 - ************************************************************
(INFO) ArmoryUtils.py:1285 - Invoked: /usr/bin/../lib/armory/ArmoryQt.py --debug
(INFO) ArmoryUtils.py:1286 - ************************************************************
(INFO) ArmoryUtils.py:1287 - Loading Armory Engine:
(INFO) ArmoryUtils.py:1288 -    Armory Version        : 0.96.5
(INFO) ArmoryUtils.py:1289 -    Armory Build:         : 1d02a6640d
(INFO) ArmoryUtils.py:1290 -    PyBtcWallet  Version  : 1.35
(INFO) ArmoryUtils.py:1291 - Detected Operating system: Linux
(INFO) ArmoryUtils.py:1292 -    OS Variant            : Ubuntu-18.04-bionic
(INFO) ArmoryUtils.py:1293 -    User home-directory   : /home/ubuntu
(INFO) ArmoryUtils.py:1294 -    Satoshi BTC directory : /home/ubuntu/.bitcoin
(INFO) ArmoryUtils.py:1295 -    Armory home dir       : /home/ubuntu/.armory/
(INFO) ArmoryUtils.py:1296 - Detected System Specs    :
(INFO) ArmoryUtils.py:1297 -    Total Available RAM   : 15.57 GB
(INFO) ArmoryUtils.py:1298 -    CPU ID string         : Intel(R) Core(TM) i3-5005U CPU @ 2.00GHz
(INFO) ArmoryUtils.py:1299 -    Number of CPU cores   : 4 cores
(INFO) ArmoryUtils.py:1300 -    System is 64-bit      : True
(INFO) ArmoryUtils.py:1301 -    Preferred Encoding    : UTF-8
(INFO) ArmoryUtils.py:1302 -    Machine Arch          : x86_64
(INFO) ArmoryUtils.py:1303 -    Available HDD (ARM)   : 100 GB
(INFO) ArmoryUtils.py:1304 -    Available HDD (BTC)   : 100 GB
(INFO) ArmoryUtils.py:1305 -
(INFO) ArmoryUtils.py:1306 - Network Name: Main Network
(INFO) ArmoryUtils.py:1307 - Satoshi Port: 8333
(INFO) ArmoryUtils.py:1308 - Do wlt check: True
(INFO) ArmoryUtils.py:1309 - Named options/arguments to armoryengine.py:
(INFO) ArmoryUtils.py:1311 -     force_segwit    : False
(INFO) ArmoryUtils.py:1311 -     nettimeout      : 2
(INFO) ArmoryUtils.py:1311 -     rescan          : False
(INFO) ArmoryUtils.py:1311 -     force_fcgi      : False
(INFO) ArmoryUtils.py:1311 -     ignoreAllZC     : False
(INFO) ArmoryUtils.py:1311 -     rescanBalance   : False
(INFO) ArmoryUtils.py:1311 -     disableModules  : False
(INFO) ArmoryUtils.py:1311 -     port            : None
(INFO) ArmoryUtils.py:1311 -     interport       : 8223
(INFO) ArmoryUtils.py:1311 -     coverageOutputDir: None
(INFO) ArmoryUtils.py:1311 -     forceWalletCheck: False
(INFO) ArmoryUtils.py:1311 -     regtest         : False
(INFO) ArmoryUtils.py:1311 -     rebuild         : False
(INFO) ArmoryUtils.py:1311 -     thread_count    : -1
(INFO) ArmoryUtils.py:1311 -     datadir         : DEFAULT
(INFO) ArmoryUtils.py:1311 -     clearMempool    : False
(INFO) ArmoryUtils.py:1311 -     offline         : False
(INFO) ArmoryUtils.py:1311 -     armoryDBDir     : DEFAULT
(INFO) ArmoryUtils.py:1311 -     armorydb_port   : 9001
(INFO) ArmoryUtils.py:1311 -     satoshiPort     : DEFAULT
(INFO) ArmoryUtils.py:1311 -     disableConfPermis: False
(INFO) ArmoryUtils.py:1311 -     useTorSettings  : False
(INFO) ArmoryUtils.py:1311 -     netlog          : False
(INFO) ArmoryUtils.py:1311 -     keypool         : 100
(INFO) ArmoryUtils.py:1311 -     coverageInclude : None
(INFO) ArmoryUtils.py:1311 -     forceOnline     : False
(INFO) ArmoryUtils.py:1311 -     disableWalletCheck: False
(INFO) ArmoryUtils.py:1311 -     redownload      : False
(INFO) ArmoryUtils.py:1311 -     rpcBindAddr     : 127.0.0.1
(INFO) ArmoryUtils.py:1311 -     armorydb_ip     : 127.0.0.1
(INFO) ArmoryUtils.py:1311 -     multisigFile    : DEFAULT
(INFO) ArmoryUtils.py:1311 -     ram_usage       : -1
(INFO) ArmoryUtils.py:1311 -     ignoreZC        : False
(INFO) ArmoryUtils.py:1311 -     logDisable      : False
(INFO) ArmoryUtils.py:1311 -     settingsPath    : /home/ubuntu/.armory/ArmorySettings.txt
(INFO) ArmoryUtils.py:1311 -     language        : en
(INFO) ArmoryUtils.py:1311 -     db_type         : DB_FULL
(INFO) ArmoryUtils.py:1311 -     doDebug         : True
(INFO) ArmoryUtils.py:1311 -     enableDetSign   : True
(INFO) ArmoryUtils.py:1311 -     mtdebug         : False
(INFO) ArmoryUtils.py:1311 -     testnet         : False
(INFO) ArmoryUtils.py:1311 -     rpcport         : DEFAULT
(INFO) ArmoryUtils.py:1311 -     satoshiHome     : DEFAULT
(INFO) ArmoryUtils.py:1311 -     satoshiRpcport  : DEFAULT
(INFO) ArmoryUtils.py:1311 -     logFile         : /home/ubuntu/.armory/ArmoryQt.py.log.txt
(INFO) ArmoryUtils.py:1311 -     verbosity       : None
(INFO) ArmoryUtils.py:1312 - Other arguments:
(INFO) ArmoryUtils.py:1315 - ************************************************************
(INFO) ArmoryUtils.py:1720 - C++ block utilities loaded successfully
(INFO) ArmoryUtils.py:3578 - Using settings file: /home/ubuntu/.armory/ArmorySettings.txt
(ERROR) ArmoryUtils.py:3735 - Unsupported language  specified. Defaulting to English (en)
(INFO) ArmoryUtils.py:3738 - Using Language: en
(INFO) BDM.py:353 - Using the asynchronous/multi-threaded BlockDataManager.
(INFO) BDM.py:354 - Blockchain operations will happen in the background. 
(INFO) BDM.py:355 - Devs: check TheBDM.getState() before asking for data.
(INFO) BDM.py:356 - Registering addresses during rescans will queue them for
(INFO) BDM.py:357 - inclusion after the current scan is completed.
/usr/lib/armory/armoryengine/Transaction.py:3126: SyntaxWarning: import * only allowed at module level
  def PyCreateAndSignTx_old(srcTxOuts, dstAddrsVals):
(DEBUG) ArmoryQt.py:5966 - Checking for already open socket...
(INFO) ArmoryUtils.py:3578 - Using settings file: /home/ubuntu/.armory/ArmorySettings.txt
(INFO) ArmoryQt.py:2060 - loadWalletsAndSettings
(INFO) ArmoryQt.py:2120 - Loading wallets...
(DEBUG) ArmoryUtils.py:1134 - /home/ubuntu/.armory/databases is a directory.
(INFO) ArmoryQt.py:2185 - Number of wallets read in: 1
(INFO) ArmoryQt.py:2190 -    Wallet (BD9RwXSo):    "Test Wallet                     "   (Encrypted)
(INFO) ArmoryQt.py:2195 - Loading Multisig Lockboxes
(INFO) ArmoryQt.py:1763 - acquiring process mutex...
(DEBUG) ArmoryQt.py:1286 - setupSystemTray
(INFO) ArmoryQt.py:1395 - setupUriRegistration
(INFO) ArmoryUtils.py:689 - Executing popen: gconftool-2 --get /desktop/gnome/url-handlers/bitcoin/command
(INFO) ArmoryUtils.py:689 - Executing popen: xdg-mime query default x-scheme-handler/bitcoin
(DEBUG) ArmoryQt.py:3742 - setupDashboard
(INFO) ArmoryQt.py:566 - Usermode: Expert
(INFO) ArmoryQt.py:1698 - Changing usermode:
(INFO) ArmoryQt.py:1699 -    From: Expert
(INFO) ArmoryQt.py:1707 -      To: Expert
(INFO) ArmoryQt.py:1836 - startBitcoindIfNecessary
(INFO) ArmoryQt.py:1923 - Setting netmode: 1
-ERROR - U: (DataObject.h:286) exhausted entries in Arguments object
-ERROR - : (SwigClient.cpp:61) exhausted entries in Arguments object
(INFO) ArmoryQt.py:1923 - Setting netmode: 0
(INFO) ArmoryQt.py:1905 - loadBlockchainIfNecessary
(INFO) ArmoryQt.py:4672 - Dashboard switched to "Scanning" mode
(INFO) ArmoryQt.py:4672 - Dashboard switched to "Scanning" mode

Code:
Bitcoin Core RPC client version v0.17.1.0-gef70f9b52b851c7997a9f1a0834714e3eebc1fd8

Code:
gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3766
Merit: 1364

Armory Developer


View Profile
April 23, 2019, 10:03:46 AM
 #2

Run ArmoryDB on its own, what do you get?

Wsbltc (OP)
Newbie
*
Offline Offline

Activity: 48
Merit: 0


View Profile
April 23, 2019, 10:40:33 AM
 #3

Run ArmoryDB on its own, what do you get?

How to run ArmoryDB on its own? which command?
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3766
Merit: 1364

Armory Developer


View Profile
April 23, 2019, 10:48:41 AM
 #4

ArmoryDB

Wsbltc (OP)
Newbie
*
Offline Offline

Activity: 48
Merit: 0


View Profile
April 23, 2019, 03:26:52 PM
 #5

ArmoryDB

Thanks for your reply.
After running ArmoryDB, find the cause in the debug log.
Code:
logging in /home/ubuntu/.armory/dbLog.txt
-INFO  - 22:47:35: (main.cpp:32) Running on 4 threads
-INFO  - 22:47:35: (main.cpp:33) Ram usage level: 4
-INFO  - 22:47:35: (BlockUtils.cpp:915) blkfile dir: /home/ubuntu/.bitcoin/blocks
-INFO  - 22:47:35: (BlockUtils.cpp:916) lmdb dir: /home/ubuntu/.armory/databases
-INFO  - 22:47:35: (lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 22:47:35: (BDM_Server.h:263) Listening on port 9001
-INFO  - 22:47:35: (BlockUtils.cpp:1108) Executing: doInitialSyncOnLoad
-ERROR - 22:47:35: (BDM_Server.cpp:1270) There is already a process listening on 127.0.0.1:9001
-ERROR - 22:47:35: (BDM_Server.cpp:1272) ArmoryDB cannot start under these conditions. Shutting down!
-ERROR - 22:47:35: (BDM_Server.cpp:1273) Make sure to shutdown the conflicting processbefore trying again (most likely another ArmoryDB instance).

I already restarted the computer, and now it looks normal.
Thank you very much.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!