"Database is not opened"

When trying to start my node with ./aion.sh, I receive the following output:

Exception in thread "main" java.lang.RuntimeException: Database is not opened: LevelDBWithCache:<autocommit=OFF,size=UNBOUND,stats=OFF>
	at org.aion.dbmgr.driver.AbstractDatabaseWithCache.check(AbstractDatabaseWithCache.java:135)
	at org.aion.dbmgr.driver.AbstractDatabaseWithCache.get(AbstractDatabaseWithCache.java:466)
	at org.aion.dbmgr.driver.AbstractDatabaseWithCache.get(AbstractDatabaseWithCache.java:25)
	at org.aion.ds.DataSourceArray.size(DataSourceArray.java:82)
	at org.aion.db.a0.AionBlockStore.getMaxNumber(AionBlockStore.java:240)
	at org.aion.db.a0.AionBlockStore.getBestBlock(AionBlockStore.java:61)
	at org.aion.a0.AionHub.loadBlockchain(AionHub.java:204)
	at org.aion.a0.AionHub.<init>(AionHub.java:104)
	at org.aion.blockchain.AionImpl.<init>(AionImpl.java:53)
	at org.aion.blockchain.AionImpl.inst(AionImpl.java:46)
	at org.aion.blockchain.AionFactory.create(AionFactory.java:12)
	at org.aion.Aion.main(Aion.java:65)

At which point it just hangs here forever…

Do you have redis-server installed on the system? Could you post the full output?

No redis-server. I’m running a vagrant box (“ubuntu/xenial64”) pretty much stock.Here is the full output:

                     ______
      .'.       |  .~      ~.  |..          |
    .'   `.     | |          | |  ``..      |
  .''''''''`.   | |          | |      ``..  |
.'           `. |  `.______.'  |          ``|

                     NETWORK


18-02-19 18:40:31.947 ERROR DB   [main]: Failed to open the database LevelDB:<name=state,autocommit=ON,cache=OFF,compression=OFF> due to:
org.fusesource.leveldbjni.internal.NativeDB$DBException: IO error: /home/ubuntu/Aion/database/state: Invalid argument
	at org.fusesource.leveldbjni.internal.NativeDB.checkStatus(NativeDB.java:200)
	at org.fusesource.leveldbjni.internal.NativeDB.open(NativeDB.java:218)
	at org.fusesource.leveldbjni.JniDBFactory.open(JniDBFactory.java:168)
	at org.aion.dbmgr.driver.leveldb.LevelDB.open(LevelDB.java:80)
	at org.aion.dbmgr.driver.AbstractDatabaseWithCache.open(AbstractDatabaseWithCache.java:179)
	at org.aion.db.AbstractRepository.connectAndOpen(AbstractRepository.java:236)
	at org.aion.db.AbstractRepository.initializeDatabasesAndCaches(AbstractRepository.java:174)
	at org.aion.db.a0.AionRepositoryImpl.init(AionRepositoryImpl.java:77)
	at org.aion.db.a0.AionRepositoryImpl.<init>(AionRepositoryImpl.java:44)
	at org.aion.db.a0.AionRepositoryImpl$AionRepositoryImplHolder.<clinit>(AionRepositoryImpl.java:63)
	at org.aion.db.a0.AionRepositoryImpl.inst(AionRepositoryImpl.java:68)
	at org.aion.a0.AionBlockchainImpl.<init>(AionBlockchainImpl.java:164)
	at org.aion.a0.AionBlockchainImpl.<init>(AionBlockchainImpl.java:80)
	at org.aion.a0.AionBlockchainImpl$Holder.<clinit>(AionBlockchainImpl.java:212)
	at org.aion.a0.AionBlockchainImpl.inst(AionBlockchainImpl.java:216)
	at org.aion.a0.AionHub.<init>(AionHub.java:91)
	at org.aion.blockchain.AionImpl.<init>(AionImpl.java:53)
	at org.aion.blockchain.AionImpl.inst(AionImpl.java:46)
	at org.aion.blockchain.AionFactory.create(AionFactory.java:12)
	at org.aion.Aion.main(Aion.java:65)
18-02-19 18:40:31.982 ERROR DB   [main]: Failed to open the database LevelDB:<name=transaction,autocommit=ON,cache=OFF,compression=OFF> due to:
org.fusesource.leveldbjni.internal.NativeDB$DBException: IO error: /home/ubuntu/Aion/database/transaction: Invalid argument
	at org.fusesource.leveldbjni.internal.NativeDB.checkStatus(NativeDB.java:200)
	at org.fusesource.leveldbjni.internal.NativeDB.open(NativeDB.java:218)
	at org.fusesource.leveldbjni.JniDBFactory.open(JniDBFactory.java:168)
	at org.aion.dbmgr.driver.leveldb.LevelDB.open(LevelDB.java:80)
	at org.aion.dbmgr.driver.AbstractDatabaseWithCache.open(AbstractDatabaseWithCache.java:179)
	at org.aion.db.AbstractRepository.connectAndOpen(AbstractRepository.java:236)
	at org.aion.db.AbstractRepository.initializeDatabasesAndCaches(AbstractRepository.java:178)
	at org.aion.db.a0.AionRepositoryImpl.init(AionRepositoryImpl.java:77)
	at org.aion.db.a0.AionRepositoryImpl.<init>(AionRepositoryImpl.java:44)
	at org.aion.db.a0.AionRepositoryImpl$AionRepositoryImplHolder.<clinit>(AionRepositoryImpl.java:63)
	at org.aion.db.a0.AionRepositoryImpl.inst(AionRepositoryImpl.java:68)
	at org.aion.a0.AionBlockchainImpl.<init>(AionBlockchainImpl.java:164)
	at org.aion.a0.AionBlockchainImpl.<init>(AionBlockchainImpl.java:80)
	at org.aion.a0.AionBlockchainImpl$Holder.<clinit>(AionBlockchainImpl.java:212)
	at org.aion.a0.AionBlockchainImpl.inst(AionBlockchainImpl.java:216)
	at org.aion.a0.AionHub.<init>(AionHub.java:91)
	at org.aion.blockchain.AionImpl.<init>(AionImpl.java:53)
	at org.aion.blockchain.AionImpl.inst(AionImpl.java:46)
	at org.aion.blockchain.AionFactory.create(AionFactory.java:12)
	at org.aion.Aion.main(Aion.java:65)
18-02-19 18:40:32.015 ERROR DB   [main]: Failed to open the database LevelDB:<name=details,autocommit=ON,cache=OFF,compression=OFF> due to:
org.fusesource.leveldbjni.internal.NativeDB$DBException: IO error: /home/ubuntu/Aion/database/details: Invalid argument
	at org.fusesource.leveldbjni.internal.NativeDB.checkStatus(NativeDB.java:200)
	at org.fusesource.leveldbjni.internal.NativeDB.open(NativeDB.java:218)
	at org.fusesource.leveldbjni.JniDBFactory.open(JniDBFactory.java:168)
	at org.aion.dbmgr.driver.leveldb.LevelDB.open(LevelDB.java:80)
	at org.aion.dbmgr.driver.AbstractDatabaseWithCache.open(AbstractDatabaseWithCache.java:179)
	at org.aion.db.AbstractRepository.connectAndOpen(AbstractRepository.java:236)
	at org.aion.db.AbstractRepository.initializeDatabasesAndCaches(AbstractRepository.java:182)
	at org.aion.db.a0.AionRepositoryImpl.init(AionRepositoryImpl.java:77)
	at org.aion.db.a0.AionRepositoryImpl.<init>(AionRepositoryImpl.java:44)
	at org.aion.db.a0.AionRepositoryImpl$AionRepositoryImplHolder.<clinit>(AionRepositoryImpl.java:63)
	at org.aion.db.a0.AionRepositoryImpl.inst(AionRepositoryImpl.java:68)
	at org.aion.a0.AionBlockchainImpl.<init>(AionBlockchainImpl.java:164)
	at org.aion.a0.AionBlockchainImpl.<init>(AionBlockchainImpl.java:80)
	at org.aion.a0.AionBlockchainImpl$Holder.<clinit>(AionBlockchainImpl.java:212)
	at org.aion.a0.AionBlockchainImpl.inst(AionBlockchainImpl.java:216)
	at org.aion.a0.AionHub.<init>(AionHub.java:91)
	at org.aion.blockchain.AionImpl.<init>(AionImpl.java:53)
	at org.aion.blockchain.AionImpl.inst(AionImpl.java:46)
	at org.aion.blockchain.AionFactory.create(AionFactory.java:12)
	at org.aion.Aion.main(Aion.java:65)
18-02-19 18:40:32.055 ERROR DB   [main]: Failed to open the database LevelDB:<name=storage,autocommit=ON,cache=OFF,compression=OFF> due to:
org.fusesource.leveldbjni.internal.NativeDB$DBException: IO error: /home/ubuntu/Aion/database/storage: Invalid argument
	at org.fusesource.leveldbjni.internal.NativeDB.checkStatus(NativeDB.java:200)
	at org.fusesource.leveldbjni.internal.NativeDB.open(NativeDB.java:218)
	at org.fusesource.leveldbjni.JniDBFactory.open(JniDBFactory.java:168)
	at org.aion.dbmgr.driver.leveldb.LevelDB.open(LevelDB.java:80)
	at org.aion.dbmgr.driver.AbstractDatabaseWithCache.open(AbstractDatabaseWithCache.java:179)
	at org.aion.db.AbstractRepository.connectAndOpen(AbstractRepository.java:236)
	at org.aion.db.AbstractRepository.initializeDatabasesAndCaches(AbstractRepository.java:186)
	at org.aion.db.a0.AionRepositoryImpl.init(AionRepositoryImpl.java:77)
	at org.aion.db.a0.AionRepositoryImpl.<init>(AionRepositoryImpl.java:44)
	at org.aion.db.a0.AionRepositoryImpl$AionRepositoryImplHolder.<clinit>(AionRepositoryImpl.java:63)
	at org.aion.db.a0.AionRepositoryImpl.inst(AionRepositoryImpl.java:68)
	at org.aion.a0.AionBlockchainImpl.<init>(AionBlockchainImpl.java:164)
	at org.aion.a0.AionBlockchainImpl.<init>(AionBlockchainImpl.java:80)
	at org.aion.a0.AionBlockchainImpl$Holder.<clinit>(AionBlockchainImpl.java:212)
	at org.aion.a0.AionBlockchainImpl.inst(AionBlockchainImpl.java:216)
	at org.aion.a0.AionHub.<init>(AionHub.java:91)
	at org.aion.blockchain.AionImpl.<init>(AionImpl.java:53)
	at org.aion.blockchain.AionImpl.inst(AionImpl.java:46)
	at org.aion.blockchain.AionFactory.create(AionFactory.java:12)
	at org.aion.Aion.main(Aion.java:65)
18-02-19 18:40:32.089 ERROR DB   [main]: Failed to open the database LevelDB:<name=index,autocommit=ON,cache=OFF,compression=OFF> due to:
org.fusesource.leveldbjni.internal.NativeDB$DBException: IO error: /home/ubuntu/Aion/database/index: Invalid argument
	at org.fusesource.leveldbjni.internal.NativeDB.checkStatus(NativeDB.java:200)
	at org.fusesource.leveldbjni.internal.NativeDB.open(NativeDB.java:218)
	at org.fusesource.leveldbjni.JniDBFactory.open(JniDBFactory.java:168)
	at org.aion.dbmgr.driver.leveldb.LevelDB.open(LevelDB.java:80)
	at org.aion.dbmgr.driver.AbstractDatabaseWithCache.open(AbstractDatabaseWithCache.java:179)
	at org.aion.db.AbstractRepository.connectAndOpen(AbstractRepository.java:236)
	at org.aion.db.AbstractRepository.initializeDatabasesAndCaches(AbstractRepository.java:190)
	at org.aion.db.a0.AionRepositoryImpl.init(AionRepositoryImpl.java:77)
	at org.aion.db.a0.AionRepositoryImpl.<init>(AionRepositoryImpl.java:44)
	at org.aion.db.a0.AionRepositoryImpl$AionRepositoryImplHolder.<clinit>(AionRepositoryImpl.java:63)
	at org.aion.db.a0.AionRepositoryImpl.inst(AionRepositoryImpl.java:68)
	at org.aion.a0.AionBlockchainImpl.<init>(AionBlockchainImpl.java:164)
	at org.aion.a0.AionBlockchainImpl.<init>(AionBlockchainImpl.java:80)
	at org.aion.a0.AionBlockchainImpl$Holder.<clinit>(AionBlockchainImpl.java:212)
	at org.aion.a0.AionBlockchainImpl.inst(AionBlockchainImpl.java:216)
	at org.aion.a0.AionHub.<init>(AionHub.java:91)
	at org.aion.blockchain.AionImpl.<init>(AionImpl.java:53)
	at org.aion.blockchain.AionImpl.inst(AionImpl.java:46)
	at org.aion.blockchain.AionFactory.create(AionFactory.java:12)
	at org.aion.Aion.main(Aion.java:65)
18-02-19 18:40:32.140 ERROR DB   [main]: Failed to open the database LevelDB:<name=block,autocommit=ON,cache=OFF,compression=OFF> due to:
org.fusesource.leveldbjni.internal.NativeDB$DBException: IO error: /home/ubuntu/Aion/database/block: Invalid argument
	at org.fusesource.leveldbjni.internal.NativeDB.checkStatus(NativeDB.java:200)
	at org.fusesource.leveldbjni.internal.NativeDB.open(NativeDB.java:218)
	at org.fusesource.leveldbjni.JniDBFactory.open(JniDBFactory.java:168)
	at org.aion.dbmgr.driver.leveldb.LevelDB.open(LevelDB.java:80)
	at org.aion.dbmgr.driver.AbstractDatabaseWithCache.open(AbstractDatabaseWithCache.java:179)
	at org.aion.db.AbstractRepository.connectAndOpen(AbstractRepository.java:236)
	at org.aion.db.AbstractRepository.initializeDatabasesAndCaches(AbstractRepository.java:194)
	at org.aion.db.a0.AionRepositoryImpl.init(AionRepositoryImpl.java:77)
	at org.aion.db.a0.AionRepositoryImpl.<init>(AionRepositoryImpl.java:44)
	at org.aion.db.a0.AionRepositoryImpl$AionRepositoryImplHolder.<clinit>(AionRepositoryImpl.java:63)
	at org.aion.db.a0.AionRepositoryImpl.inst(AionRepositoryImpl.java:68)
	at org.aion.a0.AionBlockchainImpl.<init>(AionBlockchainImpl.java:164)
	at org.aion.a0.AionBlockchainImpl.<init>(AionBlockchainImpl.java:80)
	at org.aion.a0.AionBlockchainImpl$Holder.<clinit>(AionBlockchainImpl.java:212)
	at org.aion.a0.AionBlockchainImpl.inst(AionBlockchainImpl.java:216)
	at org.aion.a0.AionHub.<init>(AionHub.java:91)
	at org.aion.blockchain.AionImpl.<init>(AionImpl.java:53)
	at org.aion.blockchain.AionImpl.inst(AionImpl.java:46)
	at org.aion.blockchain.AionFactory.create(AionFactory.java:12)
	at org.aion.Aion.main(Aion.java:65)
Exception in thread "main" java.lang.RuntimeException: Database is not opened: LevelDBWithCache:<autocommit=OFF,size=UNBOUND,stats=OFF>
	at org.aion.dbmgr.driver.AbstractDatabaseWithCache.check(AbstractDatabaseWithCache.java:135)
	at org.aion.dbmgr.driver.AbstractDatabaseWithCache.get(AbstractDatabaseWithCache.java:466)
	at org.aion.dbmgr.driver.AbstractDatabaseWithCache.get(AbstractDatabaseWithCache.java:25)
	at org.aion.ds.DataSourceArray.size(DataSourceArray.java:82)
	at org.aion.db.a0.AionBlockStore.getMaxNumber(AionBlockStore.java:240)
	at org.aion.db.a0.AionBlockStore.getBestBlock(AionBlockStore.java:61)
	at org.aion.a0.AionHub.loadBlockchain(AionHub.java:204)
	at org.aion.a0.AionHub.<init>(AionHub.java:104)
	at org.aion.blockchain.AionImpl.<init>(AionImpl.java:53)
	at org.aion.blockchain.AionImpl.inst(AionImpl.java:46)
	at org.aion.blockchain.AionFactory.create(AionFactory.java:12)
	at org.aion.Aion.main(Aion.java:65)```

Seems like there’s some unhandled issue happening with your db state, try renaming or removing your /home/ubuntu/Aion/database/state directory so that a new one may be created on execution.

ok, will give that a shot.Thanks
No go. I removed the /state directory and then relaunched ./aion.sh with the same result.

Has this been a persistent issue or were you previously able to execute the shell?

I believe I was previously able to execute the shell. But, if I run ./aion.sh -a list now, I can see my test address.
./aion.sh -i returns:

--------------------------------------------
current: p2p://ApjKVyg7-z96a-gW71-7xd2-7xd2uSim3C5C@127.0.0.1:30303
boot nodes list:
            p2p://2da62542-999f-4405-bdb3-50d8c61bed61@52.237.31.69:30303
            p2p://c1f42646-279a-441e-bba7-bfebfc1eec63@52.179.100.107:30303
            p2p://d9242b38-cf4e-4654-9995-2727fee3dd9d@13.95.218.95:30303
            p2p://0466a78b-814b-4a5d-844e-7054e48f0d28@191.232.176.213:30303
p2p: 127.0.0.1:30303```

Are you able to execute run.sh in aion_miner/aion_solo_pool?

I don’t have that yet (aion_miner) so will have to get it and give it a try.

I would be interested in seeing the output from its execution. Have you tried deleting the entire Aion/database/ directory? What’s the output of ps aux?

I will try removing the /database directory now. Here is the output of ps aux:

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  3.7  0.1  38104  6144 ?        Ss   19:06   0:26 /sbin/init
root         2  0.0  0.0      0     0 ?        S    19:06   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S    19:06   0:00 [ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S<   19:06   0:00 [kworker/0:0H]
root         6  0.0  0.0      0     0 ?        R    19:06   0:00 [kworker/u8:0]
root         7  0.0  0.0      0     0 ?        S    19:06   0:00 [rcu_sched]
root         8  0.0  0.0      0     0 ?        S    19:06   0:00 [rcu_bh]
root         9  0.0  0.0      0     0 ?        S    19:06   0:00 [migration/0]
root        10  0.0  0.0      0     0 ?        S    19:06   0:00 [watchdog/0]
root        11  0.0  0.0      0     0 ?        S    19:06   0:00 [watchdog/1]
root        12  0.0  0.0      0     0 ?        S    19:06   0:00 [migration/1]
root        13  0.0  0.0      0     0 ?        S    19:06   0:00 [ksoftirqd/1]
root        15  0.0  0.0      0     0 ?        S<   19:06   0:00 [kworker/1:0H]
root        16  0.0  0.0      0     0 ?        S    19:06   0:00 [watchdog/2]
root        17  0.0  0.0      0     0 ?        S    19:06   0:00 [migration/2]
root        18  0.0  0.0      0     0 ?        S    19:06   0:00 [ksoftirqd/2]
root        20  0.0  0.0      0     0 ?        S<   19:06   0:00 [kworker/2:0H]
root        21  0.0  0.0      0     0 ?        S    19:06   0:00 [watchdog/3]
root        22  0.0  0.0      0     0 ?        S    19:06   0:00 [migration/3]
root        23  0.0  0.0      0     0 ?        S    19:06   0:00 [ksoftirqd/3]
root        25  0.0  0.0      0     0 ?        S<   19:06   0:00 [kworker/3:0H]
root        26  0.0  0.0      0     0 ?        S    19:06   0:00 [kdevtmpfs]
root        27  0.0  0.0      0     0 ?        S<   19:06   0:00 [netns]
root        28  0.0  0.0      0     0 ?        S<   19:06   0:00 [perf]
root        29  0.0  0.0      0     0 ?        S    19:06   0:00 [khungtaskd]
root        30  0.0  0.0      0     0 ?        S<   19:06   0:00 [writeback]
root        31  0.0  0.0      0     0 ?        SN   19:06   0:00 [ksmd]
root        32  0.0  0.0      0     0 ?        SN   19:06   0:00 [khugepaged]
root        33  0.0  0.0      0     0 ?        S<   19:06   0:00 [crypto]
root        34  0.0  0.0      0     0 ?        S<   19:06   0:00 [kintegrityd]
root        35  0.0  0.0      0     0 ?        S<   19:06   0:00 [bioset]
root        36  0.0  0.0      0     0 ?        S<   19:06   0:00 [kblockd]
root        37  0.0  0.0      0     0 ?        S<   19:06   0:00 [ata_sff]
root        38  0.0  0.0      0     0 ?        S<   19:06   0:00 [md]
root        39  0.0  0.0      0     0 ?        S<   19:06   0:00 [devfreq_wq]
root        41  0.0  0.0      0     0 ?        S    19:07   0:00 [kworker/0:1]
root        42  1.2  0.0      0     0 ?        S    19:07   0:08 [kworker/3:1]
root        43  0.0  0.0      0     0 ?        S    19:07   0:00 [kworker/2:1]
root        44  0.0  0.0      0     0 ?        S    19:07   0:00 [kworker/1:1]
root        46  0.0  0.0      0     0 ?        S    19:07   0:00 [kswapd0]
root        47  0.0  0.0      0     0 ?        S<   19:07   0:00 [vmstat]
root        48  0.0  0.0      0     0 ?        S    19:07   0:00 [fsnotify_mark]
root        49  0.0  0.0      0     0 ?        S    19:07   0:00 [ecryptfs-kthrea]
root        65  0.0  0.0      0     0 ?        S<   19:07   0:00 [kthrotld]
root        66  0.0  0.0      0     0 ?        S<   19:07   0:00 [acpi_thermal_pm]
root        67  0.0  0.0      0     0 ?        S<   19:07   0:00 [bioset]
root        68  0.0  0.0      0     0 ?        S<   19:07   0:00 [bioset]
root        69  0.0  0.0      0     0 ?        S<   19:07   0:00 [bioset]
root        70  0.0  0.0      0     0 ?        S<   19:07   0:00 [bioset]
root        71  0.0  0.0      0     0 ?        S<   19:07   0:00 [bioset]
root        72  0.0  0.0      0     0 ?        S<   19:07   0:00 [bioset]
root        73  0.0  0.0      0     0 ?        S<   19:07   0:00 [bioset]
root        74  0.0  0.0      0     0 ?        S<   19:07   0:00 [bioset]
root        75  0.0  0.0      0     0 ?        S    19:07   0:00 [scsi_eh_0]
root        76  0.0  0.0      0     0 ?        S<   19:07   0:00 [scsi_tmf_0]
root        77  0.0  0.0      0     0 ?        S    19:07   0:00 [scsi_eh_1]
root        78  0.0  0.0      0     0 ?        S<   19:07   0:00 [scsi_tmf_1]
root        84  0.0  0.0      0     0 ?        S<   19:07   0:00 [ipv6_addrconf]
root        85  0.0  0.0      0     0 ?        S    19:07   0:00 [kworker/1:2]
root        98  0.0  0.0      0     0 ?        S<   19:07   0:00 [deferwq]
root        99  0.0  0.0      0     0 ?        S<   19:07   0:00 [charger_manager]
root       149  0.0  0.0      0     0 ?        S<   19:07   0:00 [kpsmoused]
root       160  0.0  0.0      0     0 ?        S<   19:07   0:00 [mpt_poll_0]
root       161  0.0  0.0      0     0 ?        S<   19:07   0:00 [mpt/0]
root       162  0.0  0.0      0     0 ?        S    19:07   0:00 [scsi_eh_2]
root       163  0.0  0.0      0     0 ?        S<   19:07   0:00 [scsi_tmf_2]
root       164  0.0  0.0      0     0 ?        S<   19:07   0:00 [bioset]
root       165  0.0  0.0      0     0 ?        S<   19:07   0:00 [bioset]
root       275  0.0  0.0      0     0 ?        S<   19:07   0:00 [kworker/1:1H]
root       282  0.0  0.0      0     0 ?        S<   19:07   0:00 [raid5wq]
root       311  0.0  0.0      0     0 ?        S<   19:07   0:00 [bioset]
root       330  0.0  0.0      0     0 ?        S    19:07   0:00 [jbd2/sda1-8]
root       331  0.0  0.0      0     0 ?        S<   19:07   0:00 [ext4-rsv-conver]
root       391  0.0  0.0      0     0 ?        S<   19:07   0:00 [iscsi_eh]
root       392  0.0  0.0      0     0 ?        S<   19:07   0:00 [ib_addr]
root       393  0.0  0.0      0     0 ?        S<   19:07   0:00 [ib_mcast]
root       394  0.0  0.0      0     0 ?        S<   19:07   0:00 [ib_nl_sa_wq]
root       395  0.0  0.0      0     0 ?        S<   19:07   0:00 [ib_cm]
root       396  0.0  0.0      0     0 ?        S<   19:07   0:00 [iw_cm_wq]
root       397  0.0  0.0      0     0 ?        S<   19:07   0:00 [rdma_cm]
root       404  0.0  0.0      0     0 ?        S<   19:07   0:00 [kworker/2:1H]
root       408  0.0  0.0      0     0 ?        S    19:07   0:00 [kworker/0:2]
root       425  0.0  0.0  32136  3292 ?        Ss   19:07   0:00 /lib/systemd/systemd-journald
root       429  0.0  0.0      0     0 ?        S    19:07   0:00 [kworker/3:2]
root       432  0.0  0.0      0     0 ?        S    19:07   0:00 [kauditd]
root       438  0.0  0.0      0     0 ?        S    19:07   0:00 [kworker/2:2]
root       459  0.0  0.0  94768  1512 ?        Ss   19:07   0:00 /sbin/lvmetad -f
root       486  0.0  0.0  42488  3864 ?        Ss   19:07   0:00 /lib/systemd/systemd-udevd
root       505  0.0  0.0      0     0 ?        S<   19:07   0:00 [iprt-VBoxWQueue]
root       530  0.0  0.0      0     0 ?        S<   19:07   0:00 [ttm_swap]
root       827  0.0  0.0      0     0 ?        S<   19:07   0:00 [kworker/0:1H]
root       878  0.0  0.0  16116   856 ?        Ss   19:07   0:00 /sbin/dhclient -1 -v -pf /run/dhclient.enp0s3.pid -lf /var/lib/dhcp/dhclient.enp0s3.le
root      1048  0.0  0.0   5216   148 ?        Ss   19:07   0:00 /sbin/iscsid
root      1049  0.0  0.0   5716  3520 ?        S<Ls 19:07   0:00 /sbin/iscsid
root      1052  0.0  0.0      0     0 ?        S<   19:07   0:00 [kworker/3:1H]
root      1054  0.0  0.0  28656  3160 ?        Ss   19:07   0:00 /lib/systemd/systemd-logind
root      1056  0.0  0.1 274484  6244 ?        Ssl  19:07   0:00 /usr/lib/accountsservice/accounts-daemon
daemon    1060  0.0  0.0  26040  2124 ?        Ss   19:07   0:00 /usr/sbin/atd -f
root      1092  0.0  0.0  95364  1452 ?        Ssl  19:07   0:00 /usr/bin/lxcfs /var/lib/lxcfs/
message+  1130  0.0  0.0  42884  3732 ?        Ss   19:07   0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activa
root      1133  0.0  0.0   4392  1288 ?        Ss   19:07   0:00 /usr/sbin/acpid
root      1135  0.0  0.1  65512  6260 ?        Ss   19:07   0:00 /usr/sbin/sshd -D
root      1145  0.0  0.0  27724  2984 ?        Ss   19:07   0:00 /usr/sbin/cron -f
root      1176  0.0  0.5 351400 23572 ?        Ssl  19:07   0:00 /usr/lib/snapd/snapd
syslog    1180  0.0  0.0 256388  3460 ?        Ssl  19:07   0:00 /usr/sbin/rsyslogd -n
root      1215  0.0  0.0  13368   156 ?        Ss   19:07   0:00 /sbin/mdadm --monitor --pid-file /run/mdadm/monitor.pid --daemonise --scan --syslog
root      1221  0.0  0.2 277172  8120 ?        Ssl  19:07   0:00 /usr/lib/policykit-1/polkitd --no-debug
root      1260  0.0  0.0 247020  2540 ?        Sl   19:07   0:00 /usr/sbin/VBoxService --pidfile /var/run/vboxadd-service.sh
root      1287  0.0  0.0  19468   232 ?        Ss   19:07   0:00 /usr/sbin/irqbalance --pid=/var/run/irqbalance.pid
root      1310  0.0  0.0  14652  1756 tty1     Ss+  19:07   0:00 /sbin/agetty --noclear tty1 linux
root      1311  0.0  0.0  14468  2160 ttyS0    Ss+  19:07   0:00 /sbin/agetty --keep-baud 115200 38400 9600 ttyS0 vt220
root      1618  0.0  0.1  95360  6984 ?        Ss   19:10   0:00 sshd: ubuntu [priv]
ubuntu    1620  0.0  0.1  45244  4580 ?        Ss   19:10   0:00 /lib/systemd/systemd --user
ubuntu    1622  0.0  0.0  61556  2208 ?        S    19:10   0:00 (sd-pam)
ubuntu    1655  0.0  0.1  95360  5136 ?        R    19:10   0:00 sshd: ubuntu@pts/0
ubuntu    1656  0.0  0.1  21424  5288 pts/0    Ss   19:10   0:00 -bash
root      1679  0.0  0.0      0     0 ?        S    19:12   0:00 [kworker/u8:2]
root      1686  0.0  0.1  95360  6876 ?        Ss   19:15   0:00 sshd: ubuntu [priv]
ubuntu    1717  0.0  0.1  95360  4808 ?        S    19:15   0:00 sshd: ubuntu@pts/1
ubuntu    1718  0.0  0.1  21424  5236 pts/1    Ss   19:15   0:00 -bash
ubuntu    1734  0.0  0.0  11240  3068 pts/1    S+   19:15   0:00 /bin/bash ./aion.sh
ubuntu    1748  1.0  2.2 5592708 92180 pts/1   Sl+  19:15   0:01 ./rt/bin/java -Xms2g --add-modules java.xml.bind -cp ./lib/* org.aion.Aion
ubuntu    1783  0.0  0.0  36080  3352 pts/0    R+   19:18   0:00 ps aux```

No luck with deleting the /database dir, same output. getting set up with aion_miner will take me a little longer as I need to install most of the dependencies in my vagrant box. Will get started on it. My hope is to build up a fully provisioned vagrant box specific to running aion and then package it for easy re-use by others.

Just a thought…after downloading the Aion binary I’ve placed it in a shared folder so that my vm can access it. I could be running into an issue related to this…

Jesus, getting redis installed and setup looks like a mission! I did manage to update my nodejs to the correct version(I was stuck at 4.something) but no change there.

1 Like

Try modifying your npm installation with the steps I posted on the bottom of this closed issue ticket https://github.com/aionnetwork/aion_miner/issues/2, also make sure libunwind8 is installed on your system.
If I’m not mistaken you’ve to configure your vagrant-box to accommodate the necessary ports ordinarily used to communicate with the redis-server… Certainly a bit more complicated than configuring it on a local image of Ubuntu. Perhaps someone who’s successfully gotten their vagrant-box image running the kernel successfully can help you with that part of the configuration.

Your java runtime ubuntu 1748 1.0 2.2 5592708 92180 pts/1 Sl+ 19:15 0:01 ./rt/bin/java -Xms2g --add-modules java.xml.bind -cp ./lib/* org.aion.Aion process seems to show some sort of runtime binding happening with the shell, which is interesting. I’ll take a closer look at this later.

1 Like

will work on this as soon as I’m able, running out of time to complete an exam project (ethereum dapp, need to complete it for certification).

The kernel readme doesn’t say anything about having any prereqs to run ./aion.sh.
Have you tried sudo ./aion.sh ?