Pages:
Author

Topic: Armory 0.95 testing phase - page 8. (Read 8478 times)

legendary
Activity: 3430
Merit: 3080
July 29, 2016, 01:01:38 PM
#33
Getting build errors with ac2eb68:

Code:
g++ -Icryptopp -Imdb -IBlockDataManager/fcgi -DUSE_CRYPTOPP -D__STDC_LIMIT_MACROS -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7 -std=c++11 -O2 -pipe -fPIC -c SwigClient.cpp
g++ -Icryptopp -Imdb -IBlockDataManager/fcgi -DUSE_CRYPTOPP -D__STDC_LIMIT_MACROS -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7 -std=c++11 -O2 -pipe -fPIC -c StringSockets.cpp
swig -c++ -python -threads -outdir ../ -v CppBlockUtils.i
Language subdirectory: python
Search paths:
   ./
   ./swig_lib/python/
   /usr/share/swig2.0/python/
   ./swig_lib/
   /usr/share/swig2.0/
Preprocessing...
Starting language-specific parse...
BtcUtils.h:277: Error: Syntax error in input(3).
Makefile:122: recipe for target 'CppBlockUtils_wrap.cxx' failed
make[1]: *** [CppBlockUtils_wrap.cxx] Error 1
make[1]: Leaving directory '/home/user/BitcoinArmory/cppForSwig'
Makefile:9: recipe for target 'all' failed
make: *** [all] Error 2

Debian 8.5 under Qubes 3. It might be something quick to fix, but I'd rather work with whatever the eventual goatpig solution is.
legendary
Activity: 3766
Merit: 1364
Armory Developer
July 29, 2016, 11:50:41 AM
#32
Testers, please pull the new code, some significant fixes in there. Also merged in achow's SegWit scan code. Scan speed should be significantly improved too, got rid of a pointless (yet very frequent) copy.
staff
Activity: 3458
Merit: 6793
Just writing some code
July 29, 2016, 08:28:19 AM
#31
Let's isolate things a bit. Start from a fresh folder, spawn the db manually and build the testnet db. Then start the testnet client. Let's see if that works.
So I deleted the testnet folder. Then I started the Bitcoin Core testnet. Then I started ArmoryDB. Then I started ArmoryQt.py. It started without issue. Then I turned off the auto manage bitcoind and restarted Armory. I got the following error:

Code:
(ERROR) Traceback (most recent call last):
  File "ArmoryQt.py", line 6681, in method_signal
    method()
  File "ArmoryQt.py", line 6727, in completeBlockchainProcessingInitialization
    self.setupLedgerViews()
  File "ArmoryQt.py", line 6745, in setupLedgerViews
    self.ledgerModel.setLedgerDelegate(TheBDM.bdv().getLedgerDelegateForWallets())
  File "/home/andy/bitcoin/BitcoinArmory/CppBlockUtils.py", line 1248, in getLedgerDelegateForWallets
    def getLedgerDelegateForWallets(self): return _CppBlockUtils.BlockDataViewer_getLedgerDelegateForWallets(self)
DbErrorMsg: >

Traceback (most recent call last):
  File "ArmoryQt.py", line 6681, in method_signal
    method()   
  File "ArmoryQt.py", line 6727, in completeBlockchainProcessingInitialization
    self.setupLedgerViews()
  File "ArmoryQt.py", line 6745, in setupLedgerViews
    self.ledgerModel.setLedgerDelegate(TheBDM.bdv().getLedgerDelegateForWallets())
  File "/home/andy/bitcoin/BitcoinArmory/CppBlockUtils.py", line 1248, in getLedgerDelegateForWallets
    def getLedgerDelegateForWallets(self): return _CppBlockUtils.BlockDataViewer_getLedgerDelegateForWallets(self)
: >

There was also an error dialog saying that it could not find the headers folder in the data directory. Looking in the data directory, the databases folder was empty.

So, I restarted both the DB and Qt and now there appears to be no error.
legendary
Activity: 3766
Merit: 1364
Armory Developer
July 29, 2016, 08:16:02 AM
#30
just some feedback: ArmoryDB wasn't running (this wasn't the cause of my previous problem), so i tried starting it with a trace... Found this line:

Code:
bind(33, {sa_family=AF_INET, sin_port=htons(9050), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EAD
dup(2)

checked which process was using port 9050 with

You should pull every time before you test, changed the default port to 9001 yesterday =D

----

Cartlon, knightdk:

Let's isolate things a bit. Start from a fresh folder, spawn the db manually and build the testnet db. Then start the testnet client. Let's see if that works.

Quote
Also, it looks like the build_installer.bat scripts are gone.

Will be fixed in next commit.
staff
Activity: 3458
Merit: 6793
Just writing some code
July 29, 2016, 07:32:42 AM
#29
Here is my dblog

Code:


Log file opened at 1469576952: /home/andy/.armory/regtest/dbLog.txt
-INFO  - 1469576952: (main.cpp:30) Running on 8 threads
-INFO  - 1469576952: (main.cpp:31) Ram usage level: 4
-INFO  - 1469576952: (BlockUtils.cpp:1219) blkfile dir: /home/andy/.bitcoin/blocks
-INFO  - 1469576952: (BlockUtils.cpp:1220) lmdb dir: /home/andy/.armory/regtest/databases
-INFO  - 1469576952: (lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 1469576952: (BlockUtils.cpp:1410) Executing: doInitialSyncOnLoad
-INFO  - 1469576952: (DatabaseBuilder.cpp:166) Reading headers from db
-WARN  - 1469576952: (lmdb_wrapper.cpp:1202) No headers in DB yet!
-INFO  - 1469576952: (DatabaseBuilder.cpp:199) Found 1 headers in db


Log file opened at 1469576980: /home/andy/.armory/regtest/dbLog.txt
-INFO  - 1469576980: (main.cpp:30) Running on 8 threads
-INFO  - 1469576980: (main.cpp:31) Ram usage level: 4
-INFO  - 1469576980: (BlockUtils.cpp:1219) blkfile dir: /home/andy/.bitcoin/blocks
-INFO  - 1469576980: (BlockUtils.cpp:1220) lmdb dir: /home/andy/.armory/regtest/databases
-INFO  - 1469576980: (lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 1469576980: (BlockUtils.cpp:1410) Executing: doInitialSyncOnLoad
-INFO  - 1469576980: (DatabaseBuilder.cpp:166) Reading headers from db
-WARN  - 1469576980: (lmdb_wrapper.cpp:1202) No headers in DB yet!
-INFO  - 1469576980: (DatabaseBuilder.cpp:199) Found 1 headers in db
-INFO  - 1469576980: (DatabaseBuilder.cpp:49) updating HEADERS db
-DEBUG - 1469576980: (Blockchain.cpp:232) Organizing chain
-INFO  - 1469576980: (DatabaseBuilder.cpp:53) updated HEADERS db in 0.00113s
-INFO  - 1469576980: (BlockUtils.cpp:1521) Enabling zero-conf tracking
-INFO  - 1469576980: (BitcoinP2P.cpp:691) Connected to Bitcoin node


Log file opened at 1469577029: /home/andy/.armory/regtest/dbLog.txt
-INFO  - 1469577029: (main.cpp:30) Running on 8 threads
-INFO  - 1469577029: (main.cpp:31) Ram usage level: 4
-INFO  - 1469577029: (BlockUtils.cpp:1219) blkfile dir: /media/andy/Data/Programs/Bitcoin/data
-INFO  - 1469577029: (BlockUtils.cpp:1220) lmdb dir: /home/andy/.armory/regtest/databases
-INFO  - 1469577029: (lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 1469577029: (BlockUtils.cpp:1410) Executing: doInitialSyncOnLoad
-INFO  - 1469577029: (DatabaseBuilder.cpp:166) Reading headers from db

-WARN  - 1469577029: (lmdb_wrapper.cpp:1202) No headers in DB yet!
-INFO  - 1469577029: (DatabaseBuilder.cpp:199) Found 1 headers in db
-INFO  - 1469577029: (DatabaseBuilder.cpp:49) updating HEADERS db
-DEBUG - 1469577029: (Blockchain.cpp:232) Organizing chain
-INFO  - 1469577029: (DatabaseBuilder.cpp:53) updated HEADERS db in 0.000417s
-INFO  - 1469577029: (BlockUtils.cpp:1521) Enabling zero-conf tracking
-INFO  - 1469577034: (BDM_Server.cpp:571) registered bdv: 97bb4d41e3b42f629a93
-INFO  - 1469577034: (BDM_supportClasses.cpp:387) Starting address registration process
-ERROR - 1469577034: (lmdb_wrapper.cpp:1461) Headers DB has no block at height: 0
-ERROR - 1469577034: (lmdb_wrapper.cpp:1441) No headers at height 0


Log file opened at 1469577043: /home/andy/.armory/regtest/dbLog.txt
-INFO  - 1469577043: (main.cpp:30) Running on 8 threads
-INFO  - 1469577043: (main.cpp:31) Ram usage level: 4
-INFO  - 1469577043: (BlockUtils.cpp:1219) blkfile dir: /media/andy/Data/Programs/Bitcoin/data
-INFO  - 1469577043: (BlockUtils.cpp:1220) lmdb dir: /home/andy/.armory/regtest/databases
-INFO  - 1469577043: (lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 1469577043: (BlockUtils.cpp:1410) Executing: doInitialSyncOnLoad
-INFO  - 1469577043: (DatabaseBuilder.cpp:166) Reading headers from db
-WARN  - 1469577043: (lmdb_wrapper.cpp:1202) No headers in DB yet!
-INFO  - 1469577043: (DatabaseBuilder.cpp:199) Found 1 headers in db
-INFO  - 1469577043: (DatabaseBuilder.cpp:49) updating HEADERS db
-DEBUG - -INFO  - 14695770431469577043: : ((BitcoinP2P.cppBlockchain.cpp::691) Connected to Bitcoin node232

-INFO  - 1469577043: (DatabaseBuilder.cpp:53) updated HEADERS db in 0.002176s
-INFO  - 1469577043: (BlockUtils.cpp:1521) Enabling zero-conf tracking
-INFO  - 1469577050: (BDM_Server.cpp:571) registered bdv: db2a604ec4cd038c1eeb
-INFO  - 1469577050: (BDM_supportClasses.cpp:387) Starting address registration process
-ERROR - 1469577050: (lmdb_wrapper.cpp:1461) Headers DB has no block at height: 0
-ERROR - 1469577050: (lmdb_wrapper.cpp:1441) No headers at height 0


Log file opened at 1469577062: /home/andy/.armory/regtest/dbLog.txt
-INFO  - 1469577062: (main.cpp:30) Running on 8 threads
-INFO  - 1469577062: (main.cpp:31) Ram usage level: 4
-INFO  - 1469577062: (BlockUtils.cpp:1219) blkfile dir: /media/andy/Data/Programs/Bitcoin/data/regtest/blocks
-INFO  - 1469577062: (BlockUtils.cpp:1220) lmdb dir: /home/andy/.armory/regtest/databases
-INFO  - 1469577062: (lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 1469577062: (BlockUtils.cpp:1410) Executing: doInitialSyncOnLoad
-INFO  - 1469577062: (DatabaseBuilder.cpp:166) Reading headers from db
-WARN  - 1469577062: (lmdb_wrapper.cpp:1202) No headers in DB yet!
-INFO  - 1469577062: (DatabaseBuilder.cpp:199) Found 1 headers in db
-INFO  - 1469577062: (DatabaseBuilder.cpp:49) updating HEADERS db
-INFO  - 1469577062: (BitcoinP2P.cpp:691) Connected to Bitcoin node
-INFO  - 1469577062: (DatabaseBuilder.cpp:227) parsed block file #0
-DEBUG - 1469577062: (Blockchain.cpp:232) Organizing chain
-INFO  - 1469577062: (DatabaseBuilder.cpp:53) updated HEADERS db in 0.04775s
-INFO  - 1469577062: (BlockUtils.cpp:1521) Enabling zero-conf tracking
-INFO  - 1469577065: (BDM_Server.cpp:571) registered bdv: 953a6d7b2058e212dbdd
-INFO  - 1469577065: (BDM_supportClasses.cpp:387) Starting address registration process
-INFO  - 1469577065: (BlockchainScanner.cpp:640) scanned from height #0 to #681
-INFO  - 1469577065: (BlockchainScanner.cpp:222) scanned transaction history in 0.021318s
-INFO  - 1469577065: (BlockchainScanner.cpp:640) scanned from height #681 to #681
-INFO  - 1469577065: (BDM_supportClasses.cpp:498) Done with side scan of wallet
-INFO  - 1469577070: (BDM_Server.cpp:602) unregistered bdv: 953a6d7b2058e212dbdd
-ERROR - 1469577070: (DataObject.h:223) exhausted entries in Arguments object
-INFO  - 1469577077: (BDM_Server.cpp:571) registered bdv: d5afdcee13cacac3d529
-INFO  - 1469577080: (BDM_Server.cpp:602) unregistered bdv: d5afdcee13cacac3d529
-ERROR - 1469577137: (DataObject.h:223) exhausted entries in Arguments object
-ERROR - 1469577137: (DataObject.h:223) exhausted entries in Arguments object
-ERROR - 1469577137: (DataObject.h:223) exhausted entries in Arguments object
-INFO  - 1469581647: (BitcoinP2P.cpp:712) Disconnected from Bitcoin node


Log file opened at 1469721946: /home/andy/.armory/regtest/dbLog.txt
-INFO  - 1469721946: (main.cpp:24) Running on 8 threads
-INFO  - 1469721946: (main.cpp:25) Ram usage level: 4
-INFO  - 1469721946: (BlockUtils.cpp:1219) blkfile dir: /media/andy/Data/Programs/Bitcoin/data/regtest/blocks
-INFO  - 1469721946: (BlockUtils.cpp:1220) lmdb dir: /home/andy/.armory/regtest/databases
-INFO  - 1469721946: (lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 1469721946: (BlockUtils.cpp:1410) Executing: doInitialSyncOnLoad
-INFO  - 1469721946: (DatabaseBuilder.cpp:166) Reading headers from db
-INFO  - 1469721946: (BitcoinP2P.cpp:691) Connected to Bitcoin node
-INFO  - 1469721946: (DatabaseBuilder.cpp:199) Found 682 headers in db
-INFO  - 1469721946: (DatabaseBuilder.cpp:49) updating HEADERS db
-INFO  - 1469721946: (DatabaseBuilder.cpp:227) parsed block file #0
-DEBUG - 1469721946: (Blockchain.cpp:232) Organizing chain
-INFO  - 1469721946: (DatabaseBuilder.cpp:53) updated HEADERS db in 0.286681s
-INFO  - 1469721946: (DatabaseBuilder.cpp:103) scanning new blocks from #682 to #682
-INFO  - 1469721946: (BlockchainScanner.cpp:640) scanned from height #682 to #682
-INFO  - 1469721946: (DatabaseBuilder.cpp:153) scanned new blocks in 0.01679s
-INFO  - 1469721946: (DatabaseBuilder.cpp:157) init db in 0.309212s
-INFO  - 1469721946: (BlockUtils.cpp:1521) Enabling zero-conf tracking
-INFO  - 1469721947: (BDM_Server.cpp:571) registered bdv: 510cfc42b010fd290cae
-INFO  - 1469721963: (BDM_Server.cpp:602) unregistered bdv: 510cfc42b010fd290cae
-INFO  - 1469721963: (BDM_Server.cpp:515) proceeding to shutdown
-INFO  - 1469721968: (BDM_Server.cpp:571) registered bdv: eafb083dbb49185f5236
-INFO  - 1469722046: (BDM_supportClasses.cpp:387) Starting address registration process
-INFO  - 1469722046: (BlockchainScanner.cpp:640) scanned from height #0 to #682
-INFO  - 1469722046: (BlockchainScanner.cpp:222) scanned transaction history in 0.121126s
-INFO  - 1469722046: (BlockchainScanner.cpp:640) scanned from height #682 to #682
-INFO  - 1469722046: (BDM_supportClasses.cpp:498) Done with side scan of wallet rc7Qs5f4
-INFO  - 1469722066: (BitcoinP2P.cpp:712) Disconnected from Bitcoin node

I was testing both dev and my segwit branch. The database dir was the default, which should have been empty. The satoshi datadir was custom.



Also, it looks like the build_installer.bat scripts are gone.
legendary
Activity: 3430
Merit: 3080
July 29, 2016, 04:04:55 AM
#28
Did you point it at an different dbdir?

No, using the standard ~/.armory location. satoshi-datadir is customised though

EDIT: also let me see dbLog.txt

Code:

Log file opened at 1469741033: /home/user/.armory/dbLog.txt
-INFO  - 1469741033: (main.cpp:24) Running on 4 threads
-INFO  - 1469741033: (main.cpp:25) Ram usage level: 4
-INFO  - 1469741033: (BlockUtils.cpp:1195) blkfile dir: /home/user/.bitcoin/blocks
-INFO  - 1469741033: (BlockUtils.cpp:1196) lmdb dir: /home/user/.armory/databases
-INFO  - 1469741033: (lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 1469741033: (BlockUtils.cpp:1386) Executing: doInitialSyncOnLoad
-INFO  - 1469741033: (DatabaseBuilder.cpp:166) Reading headers from db
-WARN  - 1469741033: (lmdb_wrapper.cpp:1202) No headers in DB yet!
-INFO  - 1469741033: (DatabaseBuilder.cpp:199) Found 1 headers in db
-INFO  - 1469741033: (DatabaseBuilder.cpp:49) updating HEADERS db
-INFO  - 1469741034: (BitcoinP2P.cpp:687) Connected to Bitcoin node
-INFO  - 1469741034: (BDM_Server.cpp:571) registered bdv: a083cb49093ba183c232
-INFO  - 1469741113: (DatabaseBuilder.cpp:227) parsed block file #0
-INFO  - 1469741156: (DatabaseBuilder.cpp:227) parsed block file #4
-INFO  - 1469741185: (DatabaseBuilder.cpp:227) parsed block file #8
-INFO  - 1469741215: (DatabaseBuilder.cpp:227) parsed block file #12
-INFO  - 1469741245: (DatabaseBuilder.cpp:227) parsed block file #16
-INFO  - 1469741277: (DatabaseBuilder.cpp:227) parsed block file #20
-INFO  - 1469741306: (DatabaseBuilder.cpp:227) parsed block file #24
-INFO  - 1469741337: (DatabaseBuilder.cpp:227) parsed block file #28
-INFO  - 1469741368: (DatabaseBuilder.cpp:227) parsed block file #32
-INFO  - 1469741403: (DatabaseBuilder.cpp:227) parsed block file #36
-INFO  - 1469741427: (DatabaseBuilder.cpp:227) parsed block file #40
-INFO  - 1469741461: (DatabaseBuilder.cpp:227) parsed block file #44
-INFO  - 1469741492: (DatabaseBuilder.cpp:227) parsed block file #48
-INFO  - 1469741523: (DatabaseBuilder.cpp:227) parsed block file #52
-INFO  - 1469741552: (DatabaseBuilder.cpp:227) parsed block file #56
-INFO  - 1469741583: (DatabaseBuilder.cpp:227) parsed block file #60
-INFO  - 1469741614: (DatabaseBuilder.cpp:227) parsed block file #64
-INFO  - 1469741641: (DatabaseBuilder.cpp:227) parsed block file #68
-INFO  - 1469741667: (DatabaseBuilder.cpp:227) parsed block file #72
-INFO  - 1469741693: (DatabaseBuilder.cpp:227) parsed block file #76
-INFO  - 1469741721: (DatabaseBuilder.cpp:227) parsed block file #80
-INFO  - 1469741746: (DatabaseBuilder.cpp:227) parsed block file #84
-INFO  - 1469741775: (DatabaseBuilder.cpp:227) parsed block file #88
-INFO  - 1469741805: (DatabaseBuilder.cpp:227) parsed block file #92
-INFO  - 1469741837: (DatabaseBuilder.cpp:227) parsed block file #96
-INFO  - 1469741871: (DatabaseBuilder.cpp:227) parsed block file #100
-INFO  - 1469741904: (DatabaseBuilder.cpp:227) parsed block file #104
-INFO  - 1469741934: (DatabaseBuilder.cpp:227) parsed block file #108
-INFO  - 1469741962: (DatabaseBuilder.cpp:227) parsed block file #112
-INFO  - 1469741992: (DatabaseBuilder.cpp:227) parsed block file #116
-INFO  - 1469742023: (DatabaseBuilder.cpp:227) parsed block file #120
-INFO  - 1469742058: (DatabaseBuilder.cpp:227) parsed block file #124
-INFO  - 1469742092: (DatabaseBuilder.cpp:227) parsed block file #128
-INFO  - 1469742120: (DatabaseBuilder.cpp:227) parsed block file #132
-INFO  - 1469742152: (DatabaseBuilder.cpp:227) parsed block file #136
-INFO  - 1469742185: (DatabaseBuilder.cpp:227) parsed block file #140
-INFO  - 1469742217: (DatabaseBuilder.cpp:227) parsed block file #144
-INFO  - 1469742243: (DatabaseBuilder.cpp:227) parsed block file #148
-INFO  - 1469742269: (DatabaseBuilder.cpp:227) parsed block file #152
-INFO  - 1469742296: (DatabaseBuilder.cpp:227) parsed block file #156
-INFO  - 1469742322: (DatabaseBuilder.cpp:227) parsed block file #160
-INFO  - 1469742350: (DatabaseBuilder.cpp:227) parsed block file #164
-INFO  - 1469742378: (DatabaseBuilder.cpp:227) parsed block file #168
-INFO  - 1469742404: (DatabaseBuilder.cpp:227) parsed block file #172
-INFO  - 1469742427: (DatabaseBuilder.cpp:227) parsed block file #176
-INFO  - 1469742453: (DatabaseBuilder.cpp:227) parsed block file #180
-INFO  - 1469742478: (DatabaseBuilder.cpp:227) parsed block file #184
-INFO  - 1469742502: (DatabaseBuilder.cpp:227) parsed block file #188
-INFO  - 1469742528: (DatabaseBuilder.cpp:227) parsed block file #192
-INFO  - 1469742552: (DatabaseBuilder.cpp:227) parsed block file #196
-INFO  - 1469742574: (DatabaseBuilder.cpp:227) parsed block file #200
-INFO  - 1469742597: (DatabaseBuilder.cpp:227) parsed block file #204
-INFO  - 1469742620: (DatabaseBuilder.cpp:227) parsed block file #208
-INFO  - 1469742642: (DatabaseBuilder.cpp:227) parsed block file #212
-INFO  - 1469742669: (DatabaseBuilder.cpp:227) parsed block file #216
-INFO  - 1469742691: (DatabaseBuilder.cpp:227) parsed block file #220
-INFO  - 1469742714: (DatabaseBuilder.cpp:227) parsed block file #224
-INFO  - 1469742733: (DatabaseBuilder.cpp:227) parsed block file #228
-INFO  - 1469742754: (DatabaseBuilder.cpp:227) parsed block file #232
-INFO  - 1469742774: (DatabaseBuilder.cpp:227) parsed block file #236
-INFO  - 1469742795: (DatabaseBuilder.cpp:227) parsed block file #240
-INFO  - 1469742819: (DatabaseBuilder.cpp:227) parsed block file #244
-INFO  - 1469742840: (DatabaseBuilder.cpp:227) parsed block file #248
-INFO  - 1469742862: (DatabaseBuilder.cpp:227) parsed block file #252
-INFO  - 1469742886: (DatabaseBuilder.cpp:227) parsed block file #256
-INFO  - 1469742910: (DatabaseBuilder.cpp:227) parsed block file #260
-INFO  - 1469742932: (DatabaseBuilder.cpp:227) parsed block file #264
-INFO  - 1469742959: (DatabaseBuilder.cpp:227) parsed block file #268
-INFO  - 1469742981: (DatabaseBuilder.cpp:227) parsed block file #272
-INFO  - 1469743011: (DatabaseBuilder.cpp:227) parsed block file #276
-INFO  - 1469743033: (DatabaseBuilder.cpp:227) parsed block file #280
-INFO  - 1469743057: (DatabaseBuilder.cpp:227) parsed block file #284
-INFO  - 1469743081: (DatabaseBuilder.cpp:227) parsed block file #288
-INFO  - 1469743105: (DatabaseBuilder.cpp:227) parsed block file #292
-INFO  - 1469743128: (DatabaseBuilder.cpp:227) parsed block file #296
-INFO  - 1469743150: (DatabaseBuilder.cpp:227) parsed block file #300
-INFO  - 1469743173: (DatabaseBuilder.cpp:227) parsed block file #304
-INFO  - 1469743193: (DatabaseBuilder.cpp:227) parsed block file #308
-INFO  - 1469743218: (DatabaseBuilder.cpp:227) parsed block file #312
-INFO  - 1469743242: (DatabaseBuilder.cpp:227) parsed block file #316
-INFO  - 1469743263: (DatabaseBuilder.cpp:227) parsed block file #320
-INFO  - 1469743289: (DatabaseBuilder.cpp:227) parsed block file #324
-INFO  - 1469743312: (DatabaseBuilder.cpp:227) parsed block file #328
-INFO  - 1469743330: (DatabaseBuilder.cpp:227) parsed block file #332
-INFO  - 1469743355: (DatabaseBuilder.cpp:227) parsed block file #336
-INFO  - 1469743377: (DatabaseBuilder.cpp:227) parsed block file #340
-INFO  - 1469743401: (DatabaseBuilder.cpp:227) parsed block file #344
-INFO  - 1469743421: (DatabaseBuilder.cpp:227) parsed block file #348
-INFO  - 1469743445: (DatabaseBuilder.cpp:227) parsed block file #352
-INFO  - 1469743469: (DatabaseBuilder.cpp:227) parsed block file #356
-INFO  - 1469743492: (DatabaseBuilder.cpp:227) parsed block file #360
-INFO  - 1469743515: (DatabaseBuilder.cpp:227) parsed block file #364
-INFO  - 1469743538: (DatabaseBuilder.cpp:227) parsed block file #368
-INFO  - 1469743563: (DatabaseBuilder.cpp:227) parsed block file #372
-INFO  - 1469743585: (DatabaseBuilder.cpp:227) parsed block file #376
-INFO  - 1469743607: (DatabaseBuilder.cpp:227) parsed block file #380
-INFO  - 1469743631: (DatabaseBuilder.cpp:227) parsed block file #384
-INFO  - 1469743655: (DatabaseBuilder.cpp:227) parsed block file #388
-INFO  - 1469743676: (DatabaseBuilder.cpp:227) parsed block file #392
-INFO  - 1469743702: (DatabaseBuilder.cpp:227) parsed block file #396
-INFO  - 1469743725: (DatabaseBuilder.cpp:227) parsed block file #400
-INFO  - 1469743747: (DatabaseBuilder.cpp:227) parsed block file #404
-INFO  - 1469743772: (DatabaseBuilder.cpp:227) parsed block file #408
-INFO  - 1469743793: (DatabaseBuilder.cpp:227) parsed block file #412
-INFO  - 1469743819: (DatabaseBuilder.cpp:227) parsed block file #416
-INFO  - 1469743840: (DatabaseBuilder.cpp:227) parsed block file #420
-INFO  - 1469743861: (DatabaseBuilder.cpp:227) parsed block file #424
-INFO  - 1469743884: (DatabaseBuilder.cpp:227) parsed block file #428
-INFO  - 1469743907: (DatabaseBuilder.cpp:227) parsed block file #432
-INFO  - 1469743929: (DatabaseBuilder.cpp:227) parsed block file #436
-INFO  - 1469743955: (DatabaseBuilder.cpp:227) parsed block file #440
-INFO  - 1469743980: (DatabaseBuilder.cpp:227) parsed block file #444
-INFO  - 1469744006: (DatabaseBuilder.cpp:227) parsed block file #448
-INFO  - 1469744027: (DatabaseBuilder.cpp:227) parsed block file #452
-INFO  - 1469744050: (DatabaseBuilder.cpp:227) parsed block file #456
-INFO  - 1469744071: (DatabaseBuilder.cpp:227) parsed block file #460
-INFO  - 1469744094: (DatabaseBuilder.cpp:227) parsed block file #464
-INFO  - 1469744121: (DatabaseBuilder.cpp:227) parsed block file #468
-INFO  - 1469744148: (DatabaseBuilder.cpp:227) parsed block file #472
-INFO  - 1469744168: (DatabaseBuilder.cpp:227) parsed block file #476
-INFO  - 1469744192: (DatabaseBuilder.cpp:227) parsed block file #480
-INFO  - 1469744221: (DatabaseBuilder.cpp:227) parsed block file #484
-INFO  - 1469744228: (DatabaseBuilder.cpp:409) Found next block after skipping 0bytes
-INFO  - 1469744246: (DatabaseBuilder.cpp:227) parsed block file #488
-INFO  - 1469744273: (DatabaseBuilder.cpp:227) parsed block file #492
-INFO  - 1469744301: (DatabaseBuilder.cpp:227) parsed block file #496
-INFO  - 1469744331: (DatabaseBuilder.cpp:227) parsed block file #500
-INFO  - 1469744358: (DatabaseBuilder.cpp:227) parsed block file #504
-INFO  - 1469744387: (DatabaseBuilder.cpp:227) parsed block file #508
-INFO  - 1469744415: (DatabaseBuilder.cpp:227) parsed block file #512
-INFO  - 1469744445: (DatabaseBuilder.cpp:227) parsed block file #516
-INFO  - 1469744475: (DatabaseBuilder.cpp:227) parsed block file #520
-INFO  - 1469744499: (DatabaseBuilder.cpp:227) parsed block file #524
-INFO  - 1469744526: (DatabaseBuilder.cpp:227) parsed block file #528
-INFO  - 1469744556: (DatabaseBuilder.cpp:227) parsed block file #532
-INFO  - 1469744578: (DatabaseBuilder.cpp:227) parsed block file #536
-INFO  - 1469744601: (DatabaseBuilder.cpp:227) parsed block file #540
-INFO  - 1469744626: (DatabaseBuilder.cpp:227) parsed block file #544
-INFO  - 1469744650: (DatabaseBuilder.cpp:227) parsed block file #548
-INFO  - 1469744672: (DatabaseBuilder.cpp:227) parsed block file #552
-INFO  - 1469744697: (DatabaseBuilder.cpp:227) parsed block file #556
-INFO  - 1469744720: (DatabaseBuilder.cpp:227) parsed block file #560
-INFO  - 1469744751: (DatabaseBuilder.cpp:227) parsed block file #564
-INFO  - 1469744773: (DatabaseBuilder.cpp:227) parsed block file #568
-INFO  - 1469744793: (DatabaseBuilder.cpp:227) parsed block file #572
-INFO  - 1469744818: (DatabaseBuilder.cpp:227) parsed block file #576
-INFO  - 1469744831: (DatabaseBuilder.cpp:227) parsed block file #580
-DEBUG - 1469744831: (Blockchain.cpp:232) Organizing chain
-INFO  - 1469744851: (DatabaseBuilder.cpp:53) updated HEADERS db in 3818s
-INFO  - 1469744851: (BlockUtils.cpp:1497) Enabling zero-conf tracking
-INFO  - 1469744852: (BDM_supportClasses.cpp:387) Starting address registration process
-INFO  - 1469744879: (BlockchainScanner.cpp:640) scanned from height #0 to #142648
-INFO  - 1469744901: (BlockchainScanner.cpp:640) scanned from height #142649 to #169936
-INFO  - 1469744918: (BlockchainScanner.cpp:640) scanned from height #169937 to #183098
-INFO  - 1469744936: (BlockchainScanner.cpp:640) scanned from height #183099 to #189198
-INFO  - 1469744955: (BlockchainScanner.cpp:640) scanned from height #189199 to #194856
-INFO  - 1469744972: (BlockchainScanner.cpp:640) scanned from height #194857 to #200839
-INFO  - 1469744990: (BlockchainScanner.cpp:640) scanned from height #200840 to #206610
-INFO  - 1469745008: (BlockchainScanner.cpp:640) scanned from height #206611 to #211790
-INFO  - 1469745024: (BlockchainScanner.cpp:640) scanned from height #211791 to #215978


Log file opened at 1469745259: /home/user/.armory/dbLog.txt
-INFO  - 1469745259: (main.cpp:24) Running on 4 threads
-INFO  - 1469745259: (main.cpp:25) Ram usage level: 4
-INFO  - 1469745259: (BlockUtils.cpp:1195) blkfile dir: /home/user/.bitcoin/blocks
-INFO  - 1469745259: (BlockUtils.cpp:1196) lmdb dir: /home/user/.armory/databases
-INFO  - 1469745259: (lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 1469745259: (BlockUtils.cpp:1386) Executing: doInitialSyncOnLoad
-INFO  - 1469745259: (DatabaseBuilder.cpp:166) Reading headers from db
-INFO  - 1469745260: (BitcoinP2P.cpp:687) Connected to Bitcoin node
-INFO  - 1469745260: (BDM_Server.cpp:571) registered bdv: 90a78d345aa0a3dfef2e
-INFO  - 1469745276: (DatabaseBuilder.cpp:199) Found 422663 headers in db
-INFO  - 1469745284: (DatabaseBuilder.cpp:49) updating HEADERS db
-INFO  - 1469745288: (DatabaseBuilder.cpp:409) Found next block after skipping 676822bytes
-INFO  - 1469745291: (DatabaseBuilder.cpp:227) parsed block file #582
-DEBUG - 1469745291: (Blockchain.cpp:232) Organizing chain
-INFO  - 1469745291: (DatabaseBuilder.cpp:53) updated HEADERS db in 3.62354s
-INFO  - 1469745291: (BlockUtils.cpp:1497) Enabling zero-conf tracking


Log file opened at 1469747449: /home/user/.armory/dbLog.txt
-INFO  - 1469747449: (main.cpp:24) Running on 4 threads
-INFO  - 1469747449: (main.cpp:25) Ram usage level: 4
-INFO  - 1469747449: (BlockUtils.cpp:1195) blkfile dir: /home/user/.bitcoin/blocks
-INFO  - 1469747449: (BlockUtils.cpp:1196) lmdb dir: /home/user/.armory/databases
-INFO  - 1469747449: (lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 1469747449: (BlockUtils.cpp:1386) Executing: doInitialSyncOnLoad
-INFO  - 1469747450: (BitcoinP2P.cpp:687) Connected to Bitcoin node
-INFO  - 1469747450: (DatabaseBuilder.cpp:166) Reading headers from db
-INFO  - 1469747450: (BDM_Server.cpp:571) registered bdv: 623907bdf363b5bce9d7
-INFO  - 1469747463: (DatabaseBuilder.cpp:199) Found 422663 headers in db
-INFO  - 1469747469: (DatabaseBuilder.cpp:49) updating HEADERS db
-INFO  - 1469747470: (DatabaseBuilder.cpp:409) Found next block after skipping 676822bytes
-INFO  - 1469747472: (DatabaseBuilder.cpp:227) parsed block file #582
-DEBUG - 1469747472: (Blockchain.cpp:232) Organizing chain
-INFO  - 1469747472: (DatabaseBuilder.cpp:53) updated HEADERS db in 2.97311s
-INFO  - 1469747472: (BlockUtils.cpp:1497) Enabling zero-conf tracking
-INFO  - 1469747472: (BDM_supportClasses.cpp:387) Starting address registration process
-INFO  - 1469747511: (BlockchainScanner.cpp:640) scanned from height #0 to #142648
-INFO  - 1469747529: (BlockchainScanner.cpp:640) scanned from height #142649 to #169936
-INFO  - 1469747553: (BlockchainScanner.cpp:640) scanned from height #169937 to #183098
-INFO  - 1469747585: (BlockchainScanner.cpp:640) scanned from height #183099 to #189198
-INFO  - 1469747590: (BlockchainScanner.cpp:51) no history to scan
-INFO  - 1469747604: (BlockchainScanner.cpp:640) scanned from height #189199 to #194856
-INFO  - 1469747628: (BlockchainScanner.cpp:640) scanned from height #194857 to #200839
-INFO  - 1469747645: (BlockchainScanner.cpp:640) scanned from height #200840 to #206610
-INFO  - 1469747666: (BlockchainScanner.cpp:640) scanned from height #206611 to #211790
-INFO  - 1469747680: (BlockchainScanner.cpp:640) scanned from height #211791 to #215978
-INFO  - 1469747692: (BlockchainScanner.cpp:640) scanned from height #215979 to #219364
-INFO  - 1469747705: (BlockchainScanner.cpp:640) scanned from height #219365 to #222839
-INFO  - 1469747719: (BlockchainScanner.cpp:640) scanned from height #222840 to #225967
-INFO  - 1469747733: (BlockchainScanner.cpp:640) scanned from height #225968 to #229667
-INFO  - 1469747751: (BlockchainScanner.cpp:640) scanned from height #229668 to #232781
-INFO  - 1469747766: (BlockchainScanner.cpp:640) scanned from height #232782 to #235928
-INFO  - 1469747780: (BlockchainScanner.cpp:640) scanned from height #235929 to #239242
-INFO  - 1469747793: (BlockchainScanner.cpp:640) scanned from height #239243 to #243433
-INFO  - 1469747809: (BlockchainScanner.cpp:640) scanned from height #243434 to #248498
-INFO  - 1469747824: (BlockchainScanner.cpp:640) scanned from height #248499 to #252855
-INFO  - 1469747840: (BlockchainScanner.cpp:640) scanned from height #252856 to #256752
-INFO  - 1469747852: (BlockchainScanner.cpp:640) scanned from height #256753 to #260951
-INFO  - 1469747868: (BlockchainScanner.cpp:640) scanned from height #260952 to #265182
-INFO  - 1469747886: (BlockchainScanner.cpp:640) scanned from height #265183 to #268923
-INFO  - 1469747901: (BlockchainScanner.cpp:640) scanned from height #268924 to #271643
-INFO  - 1469747914: (BlockchainScanner.cpp:640) scanned from height #271644 to #274279
-INFO  - 1469747930: (BlockchainScanner.cpp:640) scanned from height #274280 to #277415
-INFO  - 1469747943: (BlockchainScanner.cpp:640) scanned from height #277416 to #280711
-INFO  - 1469747957: (BlockchainScanner.cpp:640) scanned from height #280712 to #283774
-INFO  - 1469747969: (BlockchainScanner.cpp:640) scanned from height #283775 to #286388
-INFO  - 1469747982: (BlockchainScanner.cpp:640) scanned from height #286389 to #288717
-INFO  - 1469747995: (BlockchainScanner.cpp:640) scanned from height #288718 to #290821
-INFO  - 1469748007: (BlockchainScanner.cpp:640) scanned from height #290822 to #293339
-INFO  - 1469748020: (BlockchainScanner.cpp:640) scanned from height #293340 to #295877


Log file opened at 1469748450: /home/user/.armory/dbLog.txt
-INFO  - 1469748450: (main.cpp:24) Running on 4 threads
-INFO  - 1469748450: (main.cpp:25) Ram usage level: 4
-INFO  - 1469748450: (BlockUtils.cpp:1195) blkfile dir: /home/user/.bitcoin/blocks
-INFO  - 1469748450: (BlockUtils.cpp:1196) lmdb dir: /home/user/.armory/databases
-INFO  - 1469748450: (lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 1469748451: (BlockUtils.cpp:1386) Executing: doInitialSyncOnLoad
-INFO  - 1469748451: (DatabaseBuilder.cpp:166) Reading headers from db
-INFO  - 1469748451: (BitcoinP2P.cpp:687) Connected to Bitcoin node
-INFO  - 1469748451: (BDM_Server.cpp:571) registered bdv: 00dddb35876377a99df6
-INFO  - 1469748463: (DatabaseBuilder.cpp:199) Found 422668 headers in db
-INFO  - 1469748470: (DatabaseBuilder.cpp:49) updating HEADERS db
-INFO  - 1469748472: (DatabaseBuilder.cpp:409) Found next block after skipping 705598bytes
-INFO  - 1469748474: (DatabaseBuilder.cpp:227) parsed block file #582
-DEBUG - 1469748474: (Blockchain.cpp:232) Organizing chain
-INFO  - 1469748474: (DatabaseBuilder.cpp:53) updated HEADERS db in 2.68421s
-INFO  - 1469748474: (BlockUtils.cpp:1497) Enabling zero-conf tracking
-INFO  - 1469748475: (BDM_supportClasses.cpp:387) Starting address registration process
-INFO  - 1469748511: (BlockchainScanner.cpp:640) scanned from height #0 to #142648
-INFO  - 1469748531: (BlockchainScanner.cpp:640) scanned from height #142649 to #169936
-INFO  - 1469748547: (BlockchainScanner.cpp:640) scanned from height #169937 to #183098
-INFO  - 1469748565: (BlockchainScanner.cpp:640) scanned from height #183099 to #189198
-INFO  - 1469748587: (BlockchainScanner.cpp:640) scanned from height #189199 to #194856
-INFO  - 1469748606: (BlockchainScanner.cpp:640) scanned from height #194857 to #200839
-INFO  - 1469748621: (BlockchainScanner.cpp:640) scanned from height #200840 to #206610
-INFO  - 1469748640: (BlockchainScanner.cpp:640) scanned from height #206611 to #211790
-INFO  - 1469748659: (BlockchainScanner.cpp:640) scanned from height #211791 to #215978
-INFO  - 1469748676: (BlockchainScanner.cpp:640) scanned from height #215979 to #219364


Log file opened at 1469748785: /home/user/.armory/dbLog.txt
-INFO  - 1469748785: (main.cpp:24) Running on 4 threads
-INFO  - 1469748785: (main.cpp:25) Ram usage level: 4
-INFO  - 1469748785: (BlockUtils.cpp:1195) blkfile dir: /home/user/.bitcoin/blocks
-INFO  - 1469748785: (BlockUtils.cpp:1196) lmdb dir: /home/user/.armory/databases
-INFO  - 1469748785: (lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 1469748785: (BlockUtils.cpp:1386) Executing: doInitialSyncOnLoad
-INFO  - 1469748785: (BitcoinP2P.cpp:687) Connected to Bitcoin node
-INFO  - 1469748785: (DatabaseBuilder.cpp:166) Reading headers from db
-INFO  - 1469748786: (BDM_Server.cpp:571) registered bdv: e892133941234ef50898
-INFO  - 1469748798: (DatabaseBuilder.cpp:199) Found 422668 headers in db
-INFO  - 1469748805: (DatabaseBuilder.cpp:49) updating HEADERS db
-INFO  - 1469748808: (DatabaseBuilder.cpp:409) Found next block after skipping 705598bytes
-INFO  - 1469748810: (DatabaseBuilder.cpp:227) parsed block file #582
-DEBUG - 1469748810: (Blockchain.cpp:232) Organizing chain
-INFO  - 1469748810: (DatabaseBuilder.cpp:53) updated HEADERS db in 3.02519s
-INFO  - 1469748810: (BlockUtils.cpp:1497) Enabling zero-conf tracking
-INFO  - 1469748811: (BDM_supportClasses.cpp:387) Starting address registration process
-INFO  - 1469748852: (BlockchainScanner.cpp:640) scanned from height #0 to #142648
-INFO  - 1469748870: (BlockchainScanner.cpp:640) scanned from height #142649 to #169936
-INFO  - 1469748884: (BlockchainScanner.cpp:640) scanned from height #169937 to #183098
-INFO  - 1469748897: (BlockchainScanner.cpp:640) scanned from height #183099 to #189198
-INFO  - 1469748911: (BlockchainScanner.cpp:640) scanned from height #189199 to #194856
-INFO  - 1469748923: (BlockchainScanner.cpp:640) scanned from height #194857 to #200839
-INFO  - 1469748936: (BlockchainScanner.cpp:640) scanned from height #200840 to #206610
-INFO  - 1469748950: (BlockchainScanner.cpp:640) scanned from height #206611 to #211790
-INFO  - 1469748968: (BlockchainScanner.cpp:640) scanned from height #211791 to #215978
-INFO  - 1469748980: (BlockchainScanner.cpp:640) scanned from height #215979 to #219364
-INFO  - 1469748994: (BlockchainScanner.cpp:640) scanned from height #219365 to #222839
-INFO  - 1469749008: (BlockchainScanner.cpp:640) scanned from height #222840 to #225967
-INFO  - 1469749020: (BlockchainScanner.cpp:640) scanned from height #225968 to #229667
-INFO  - 1469749031: (BlockchainScanner.cpp:640) scanned from height #229668 to #232781

Seems pretty uneventful to me.
legendary
Activity: 3584
Merit: 5243
https://merel.mobi => buy facemasks with BTC/LTC
July 29, 2016, 03:33:09 AM
#27
just some feedback: ArmoryDB wasn't running (this wasn't the cause of my previous problem), so i tried starting it with a trace... Found this line:

Code:
bind(33, {sa_family=AF_INET, sin_port=htons(9050), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EAD
dup(2)

checked which process was using port 9050 with

Code:
netstat -tulpn | grep 9050

turned out to be an essential process on my server, i stopped it for a (very short) while, tried starting ArmoryDB, now I get this:

Code:
./ArmoryDB
/home/bitcoin
-INFO  - 1469781000: (main.cpp:30) Running on 8 threads
-INFO  - 1469781000: (main.cpp:31) Ram usage level: 4
-INFO  - 1469781000: (BlockUtils.cpp:1195) blkfile dir: /home/bitcoin/.bitcoin/blocks
-INFO  - 1469781000: (BlockUtils.cpp:1196) lmdb dir: /home/bitcoin/.armory/databases
-INFO  - 1469781000: (lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 1469781000: (BlockUtils.cpp:1386) Executing: doInitialSyncOnLoad
-INFO  - 1469781000: (DatabaseBuilder.cpp:166) Reading headers from db

-INFO  - 1469781007: (BitcoinP2P.cpp:687) Connected to Bitcoin node
Bus error

legendary
Activity: 3766
Merit: 1364
Armory Developer
July 28, 2016, 06:55:16 PM
#26
I'm getting a handful of these errors, followed by segfault:

Code:
-ERROR - 1469735393: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9

Getting as far as tx scanning stage, sometimes the segfault struck while the block parsing was still happening.


Did you point it at an different dbdir?

EDIT: also let me see dbLog.txt
staff
Activity: 3458
Merit: 6793
Just writing some code
July 28, 2016, 06:49:05 PM
#25
I'm getting a handful of these errors, followed by segfault:

Code:
-ERROR - 1469735393: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9

Getting as far as tx scanning stage, sometimes the segfault struck while the block parsing was still happening.
Mine does the same, although there aren't many errors. It just says that a buffer overflow was detected and then segfaults.
legendary
Activity: 3430
Merit: 3080
July 28, 2016, 06:16:42 PM
#24
I'm getting a handful of these errors, followed by segfault:

Code:
-ERROR - 1469735393: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9

Getting as far as tx scanning stage, sometimes the segfault struck while the block parsing was still happening.




legendary
Activity: 3584
Merit: 5243
https://merel.mobi => buy facemasks with BTC/LTC
July 28, 2016, 08:15:39 AM
#23
Sometimes ArmoryDB does close when ArmoryQt crashes, so it is likely that is what happened.

mocacinno, check your processes to see if ArmoryDB is still running, and if it is, kill it.

I'll do that when i get home in a couple of hours (i quickly tried out the fixes this morning before leaving for work... I just copy/pasted the output/errors without thinking it thru).

I'll see if ArmoryDB is already running, kill it, try again and report back Smiley
staff
Activity: 3458
Merit: 6793
Just writing some code
July 28, 2016, 07:42:53 AM
#22
I'll also be waiting on this fix, had the same problem as Carlton Banks, so i cannot proceed to testing either Smiley

Was stupid, should be fixed now.

Seems like the problem is fixed, altough i can't manage to get ArmoryDB running, seems like it can't bind... I'll see if i can find out what's wrong when i get home from work.

Code:
./ArmoryDB --testnet
/home/bitcoin
-INFO  - 1469689140: (main.cpp:30) Running on 8 threads
-INFO  - 1469689140: (main.cpp:31) Ram usage level: 4
-INFO  - 1469689140: (BlockUtils.cpp:1195) blkfile dir: /home/bitcoin/.bitcoin/testnet3/blocks
-INFO  - 1469689140: (BlockUtils.cpp:1196) lmdb dir: /home/bitcoin/.armory/testnet3/databases
-INFO  - 1469689140: (lmdb_wrapper.cpp:388) Opening databases...
bind/listen: Address already in use

Could possibly mean it's already running. I'll add some more verbose and checks
Sometimes ArmoryDB does close when ArmoryQt crashes, so it is likely that is what happened.

mocacinno, check your processes to see if ArmoryDB is still running, and if it is, kill it.
legendary
Activity: 3766
Merit: 1364
Armory Developer
July 28, 2016, 06:33:33 AM
#21
I'll also be waiting on this fix, had the same problem as Carlton Banks, so i cannot proceed to testing either Smiley

Was stupid, should be fixed now.

Seems like the problem is fixed, altough i can't manage to get ArmoryDB running, seems like it can't bind... I'll see if i can find out what's wrong when i get home from work.

Code:
./ArmoryDB --testnet
/home/bitcoin
-INFO  - 1469689140: (main.cpp:30) Running on 8 threads
-INFO  - 1469689140: (main.cpp:31) Ram usage level: 4
-INFO  - 1469689140: (BlockUtils.cpp:1195) blkfile dir: /home/bitcoin/.bitcoin/testnet3/blocks
-INFO  - 1469689140: (BlockUtils.cpp:1196) lmdb dir: /home/bitcoin/.armory/testnet3/databases
-INFO  - 1469689140: (lmdb_wrapper.cpp:388) Opening databases...
bind/listen: Address already in use

Could possibly mean it's already running. I'll add some more verbose and checks
legendary
Activity: 3584
Merit: 5243
https://merel.mobi => buy facemasks with BTC/LTC
July 28, 2016, 02:00:49 AM
#20
I'll also be waiting on this fix, had the same problem as Carlton Banks, so i cannot proceed to testing either Smiley

Was stupid, should be fixed now.

Seems like the problem is fixed, altough i can't manage to get ArmoryDB running, seems like it can't bind... I'll see if i can find out what's wrong when i get home from work.

Code:
./ArmoryDB --testnet
/home/bitcoin
-INFO  - 1469689140: (main.cpp:30) Running on 8 threads
-INFO  - 1469689140: (main.cpp:31) Ram usage level: 4
-INFO  - 1469689140: (BlockUtils.cpp:1195) blkfile dir: /home/bitcoin/.bitcoin/testnet3/blocks
-INFO  - 1469689140: (BlockUtils.cpp:1196) lmdb dir: /home/bitcoin/.armory/testnet3/databases
-INFO  - 1469689140: (lmdb_wrapper.cpp:388) Opening databases...
bind/listen: Address already in use
legendary
Activity: 3766
Merit: 1364
Armory Developer
July 27, 2016, 02:47:38 PM
#19
I'll also be waiting on this fix, had the same problem as Carlton Banks, so i cannot proceed to testing either Smiley

Was stupid, should be fixed now.
legendary
Activity: 3584
Merit: 5243
https://merel.mobi => buy facemasks with BTC/LTC
July 27, 2016, 01:16:37 AM
#18
Ahh, this thing again.

First, the DB is hardcoded to listen to localhost:9050. You can't make it listen to another IP (ill add custom ports at some point). If you want to enable the DB to serve remote clients, you need to set a http daemon to connect to it over the FCGI protocol (same as how stuff like PHP interface with a web stack) and manage the network parameters around the daemon, not the ArmoryDB per se.

The issue you are seeing seems to be common to Linux. I ran into it when I first started implementing around the FCGI library. It appears localhost is bound both in IPv4 or IPv6, and the fcgi lib uses listen in an old enough way that it doesn't try to distinguish between the two.

At first I took that for a quirk of my debian install (it's quite aged), researched the issue and fixed it fairly quickly (something to do with /etc/hosts file maybe? can't remember).

If you are hitting this error too, it seems this setup is more of a default than a stand alone case. I will setup a fresh VM, check against that, and most likely fix the FCGI lib directly.

I'll also be waiting on this fix, had the same problem as Carlton Banks, so i cannot proceed to testing either Smiley
legendary
Activity: 3766
Merit: 1364
Armory Developer
July 26, 2016, 05:39:34 PM
#17
The behavior is kind of inconsistent. Sometimes it works, sometimes it doesn't. Usually it doesn't.

You should also fix that "pars" "pargs" thing. I think it prevents the db from being launched by qt.

Fixed the typos, will bundle a more consistent fix tomorrow
staff
Activity: 3458
Merit: 6793
Just writing some code
July 26, 2016, 05:34:10 PM
#16
The behavior is kind of inconsistent. Sometimes it works, sometimes it doesn't. Usually it doesn't.

You should also fix that "pars" "pargs" thing. I think it prevents the db from being launched by qt.
legendary
Activity: 3766
Merit: 1364
Armory Developer
July 26, 2016, 05:27:59 PM
#15
hi,

I'm using a old Windows XP 32-bit machine for Armory v0.92.3 cold storage ..
Can I still use the offline machine with newer online versions (0.94 and 0.95) ?

Yes
legendary
Activity: 3766
Merit: 1364
Armory Developer
July 26, 2016, 05:19:06 PM
#14
Ah, much appreciated you've already dealt with it. I'd assumed it was the same back-compatibility issues Core users face (i.e. witness tx are unavailable, but witness users can still send and receive p2pkh/p2sh to pre-witness wallets and vice-versa)

Both 0.93 and 0.94 could be patched to ignore SW tx (like any non SW compliant client should, it's a soft fork after all). However I don't think anyone wants to go down that path. 0.95 will properly scan SW tx at the very least.

Quote
Executing ./ArmoryDB yields this:

Code:
-DEBUG - 1469567562: (Blockchain.cpp:232) Organizing chain 
-INFO  - 1469567562: (DatabaseBuilder.cpp:53) updated HEADERS db in 0.006948s
-INFO  - 1469567562: (BlockUtils.cpp:1497) Enabling zero-conf tracking
Host localhost has multiple addresses ---
you must choose one explicitly!!!

What's my argument for specifying localhost for ArmoryDB?

Ahh, this thing again.

First, the DB is hardcoded to listen to localhost:9050. You can't make it listen to another IP (ill add custom ports at some point). If you want to enable the DB to serve remote clients, you need to set a http daemon to connect to it over the FCGI protocol (same as how stuff like PHP interface with a web stack) and manage the network parameters around the daemon, not the ArmoryDB per se.

The issue you are seeing seems to be common to Linux. I ran into it when I first started implementing around the FCGI library. It appears localhost is bound both in IPv4 or IPv6, and the fcgi lib uses listen in an old enough way that it doesn't try to distinguish between the two.

At first I took that for a quirk of my debian install (it's quite aged), researched the issue and fixed it fairly quickly (something to do with /etc/hosts file maybe? can't remember).

If you are hitting this error too, it seems this setup is more of a default than a stand alone case. I will setup a fresh VM, check against that, and most likely fix the FCGI lib directly.
Pages:
Jump to: