i compiled zano from sources following the instructions (using openssl-1.1.1t) - compile worked without any issues !
OS used was Raspberry PI OS:
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
running the freshly compiled bits like this:
./zanod --no-predownload --db-engine=mdbx
i get the following error:
log channel 'tx_pool' enabled
log channel 'core' enabled
log channel 'core' enabled
log channel 'stratum' enabled
log channel 'levin_protocol' enabled
log channel 'p2p' enabled
log channel 'rpc' enabled
log channel 'levin_protocol' enabled
log channel 'p2p' enabled
log channel 'rpc' enabled
log channels: core currency_protocol tx_pool wallet enabled
2024-Jan-15 18:30:11.414009 Starting...
2024-Jan-15 18:30:11.416160 Zano v1.5.2.150[34eee5c]
2024-Jan-15 18:30:11.416321 Module folder: ./zanod
2024-Jan-15 18:30:11.417336 Initializing p2p server...
2024-Jan-15 18:30:11.418634 p2p peers auto-blocking is enabled
2024-Jan-15 18:30:11.418839 Binding on 0.0.0.0:11121
2024-Jan-15 18:30:11.419130 Net service binded on 0.0.0.0:11121
2024-Jan-15 18:30:11.419199 P2p server initialized OK on port: 11121
2024-Jan-15 18:30:11.419248 Starting UPnP
2024-Jan-15 18:30:11.419705 Initializing currency protocol...
2024-Jan-15 18:30:11.420331 Currency protocol initialized OK
2024-Jan-15 18:30:11.420592 Initializing core rpc server...
2024-Jan-15 18:30:11.420731 Binding on 127.0.0.1:11211
2024-Jan-15 18:30:11.421448 Core rpc server initialized OK on port: 11211
2024-Jan-15 18:30:11.421716 Initializing core...
2024-Jan-15 18:30:11.422177 DB ENGINE USED BY POOL: mdbx
2024-Jan-15 18:30:11.422404 Using pool db file cache size(L1): 1073741824
2024-Jan-15 18:30:11.422652 Loading blockchain from /home/mbay/.Zano/poolstate_mdbx_v1...
2024-Jan-15 18:30:11.425187 [ERROR] Location:
[open] @ /COINS/ZANO/zano/src/common/db_backend_mdbx.cpp:62
STACK
./zanod(_ZN5tools13get_callstackB5cxx11Ev+0x14) [0x5593bbdf18]
./zanod(+0x414990) [0x5593ec4990]
./zanod(_ZN5tools2db15mdbx_db_backend4openERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm+0x7e0) [0x5593b58b78]
./zanod(_ZN8currency14tx_memory_pool4initERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKN5boost15program_options13variables_mapE+0x248) [0x5593e26898]
./zanod(_ZN8currency4core4initERKN5boost15program_options13variables_mapE+0x5c) [0x5593dd59d0]
./zanod(main+0x1ac0) [0x5593b877f0]
/lib/aarch64-linux-gnu/libc.so.6(libc_start_main+0xe8) [0x7f7f1e2e18]
./zanod(+0xe1dd4) [0x5593b91dd4]
Message:
[DB ERROR]:(12)Cannot allocate memory, [message]: Unable to mdbx_env_open, m_path=/home/mbay/.Zano/poolstate_mdbx_v1
2024-Jan-15 18:30:11.426461 Failed to initialize database in folder: /home/mbay/.Zano/poolstate_mdbx_v1, first attempt
2024-Jan-15 18:30:11.427737 [ERROR] Location:
[open] @ /COINS/ZANO/zano/src/common/db_backend_mdbx.cpp:62
STACK
./zanod(_ZN5tools13get_callstackB5cxx11Ev+0x14) [0x5593bbdf18]
./zanod(+0x414990) [0x5593ec4990]
./zanod(_ZN5tools2db15mdbx_db_backend4openERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm+0x7e0) [0x5593b58b78]
./zanod(_ZN8currency14tx_memory_pool4initERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKN5boost15program_options13variables_mapE+0x2d0) [0x5593e26920]
./zanod(_ZN8currency4core4initERKN5boost15program_options13variables_mapE+0x5c) [0x5593dd59d0]
./zanod(main+0x1ac0) [0x5593b877f0]
/lib/aarch64-linux-gnu/libc.so.6(libc_start_main+0xe8) [0x7f7f1e2e18]
./zanod(+0xe1dd4) [0x5593b91dd4]
Message:
[DB ERROR]:(12)Cannot allocate memory, [message]: Unable to mdbx_env_open, m_path=/home/mbay/.Zano/poolstate_mdbx_v1
2024-Jan-15 18:30:11.428502 [ERROR] Location:
[init] @ /COINS/ZANO/zano/src/currency_core/tx_pool.cpp:1221
STACK
./zanod(_ZN5tools13get_callstackB5cxx11Ev+0x14) [0x5593bbdf18]
./zanod(+0x414990) [0x5593ec4990]
./zanod(_ZN8currency14tx_memory_pool4initERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKN5boost15program_options13variables_mapE+0x358) [0x5593e269a8]
./zanod(_ZN8currency4core4initERKN5boost15program_options13variables_mapE+0x5c) [0x5593dd59d0]
./zanod(main+0x1ac0) [0x5593b877f0]
/lib/aarch64-linux-gnu/libc.so.6(__libc_start_main+0xe8) [0x7f7f1e2e18]
./zanod(+0xe1dd4) [0x5593b91dd4]
Message:
Failed to initialize database in folder: /home/mbay/.Zano/poolstate_mdbx_v1, second attempt
2024-Jan-15 18:30:11.429072 [ERROR] Location:
[init] @ /COINS/ZANO/zano/src/currency_core/currency_core.cpp:153
STACK
./zanod(_ZN5tools13get_callstackB5cxx11Ev+0x14) [0x5593bbdf18]
./zanod(_ZN8currency4core4initERKN5boost15program_options13variables_mapE+0x144) [0x5593dd5ab8]
./zanod(main+0x1ac0) [0x5593b877f0]
/lib/aarch64-linux-gnu/libc.so.6(libc_start_main+0xe8) [0x7f7f1e2e18]
./zanod(+0xe1dd4) [0x5593b91dd4]
Message:
Failed to initialize memory pool
2024-Jan-15 18:30:11.429483 [ERROR] Location:
[main] @ /COINS/ZANO/zano/src/daemon/daemon.cpp:337
STACK
./zanod(_ZN5tools13get_callstackB5cxx11Ev+0x14) [0x5593bbdf18]
./zanod(+0x414990) [0x5593ec4990]
./zanod(main+0x2c70) [0x5593b889a0]
/lib/aarch64-linux-gnu/libc.so.6(__libc_start_main+0xe8) [0x7f7f1e2e18]
./zanod(+0xe1dd4) [0x5593b91dd4]
Message:
Failed to initialize core
2024-Jan-15 18:30:13.923695 Mining has been stopped, 0 finished
2024-Jan-15 18:30:13.925919 Storing market...
2024-Jan-15 18:30:13.926072 Can't store market from file
2024-Jan-15 18:30:13.926124 Market stored OK
Hope you can fix this and make it work on a Raspberry !
Hi,
i compiled zano from sources following the instructions (using openssl-1.1.1t) - compile worked without any issues ! OS used was Raspberry PI OS: PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian
running the freshly compiled bits like this: ./zanod --no-predownload --db-engine=mdbx
i get the following error:
log channel 'tx_pool' enabled log channel 'core' enabled log channel 'core' enabled log channel 'stratum' enabled log channel 'levin_protocol' enabled log channel 'p2p' enabled log channel 'rpc' enabled log channel 'levin_protocol' enabled log channel 'p2p' enabled log channel 'rpc' enabled log channels: core currency_protocol tx_pool wallet enabled 2024-Jan-15 18:30:11.414009 Starting... 2024-Jan-15 18:30:11.416160 Zano v1.5.2.150[34eee5c] 2024-Jan-15 18:30:11.416321 Module folder: ./zanod 2024-Jan-15 18:30:11.417336 Initializing p2p server... 2024-Jan-15 18:30:11.418634 p2p peers auto-blocking is enabled 2024-Jan-15 18:30:11.418839 Binding on 0.0.0.0:11121 2024-Jan-15 18:30:11.419130 Net service binded on 0.0.0.0:11121 2024-Jan-15 18:30:11.419199 P2p server initialized OK on port: 11121 2024-Jan-15 18:30:11.419248 Starting UPnP 2024-Jan-15 18:30:11.419705 Initializing currency protocol... 2024-Jan-15 18:30:11.420331 Currency protocol initialized OK 2024-Jan-15 18:30:11.420592 Initializing core rpc server... 2024-Jan-15 18:30:11.420731 Binding on 127.0.0.1:11211 2024-Jan-15 18:30:11.421448 Core rpc server initialized OK on port: 11211 2024-Jan-15 18:30:11.421716 Initializing core... 2024-Jan-15 18:30:11.422177 DB ENGINE USED BY POOL: mdbx 2024-Jan-15 18:30:11.422404 Using pool db file cache size(L1): 1073741824 2024-Jan-15 18:30:11.422652 Loading blockchain from /home/mbay/.Zano/poolstate_mdbx_v1... 2024-Jan-15 18:30:11.425187 [ERROR] Location: [open] @ /COINS/ZANO/zano/src/common/db_backend_mdbx.cpp:62 STACK ./zanod(_ZN5tools13get_callstackB5cxx11Ev+0x14) [0x5593bbdf18] ./zanod(+0x414990) [0x5593ec4990] ./zanod(_ZN5tools2db15mdbx_db_backend4openERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm+0x7e0) [0x5593b58b78] ./zanod(_ZN8currency14tx_memory_pool4initERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKN5boost15program_options13variables_mapE+0x248) [0x5593e26898] ./zanod(_ZN8currency4core4initERKN5boost15program_options13variables_mapE+0x5c) [0x5593dd59d0] ./zanod(main+0x1ac0) [0x5593b877f0] /lib/aarch64-linux-gnu/libc.so.6(libc_start_main+0xe8) [0x7f7f1e2e18] ./zanod(+0xe1dd4) [0x5593b91dd4] Message: [DB ERROR]:(12)Cannot allocate memory, [message]: Unable to mdbx_env_open, m_path=/home/mbay/.Zano/poolstate_mdbx_v1 2024-Jan-15 18:30:11.426461 Failed to initialize database in folder: /home/mbay/.Zano/poolstate_mdbx_v1, first attempt 2024-Jan-15 18:30:11.427737 [ERROR] Location: [open] @ /COINS/ZANO/zano/src/common/db_backend_mdbx.cpp:62 STACK ./zanod(_ZN5tools13get_callstackB5cxx11Ev+0x14) [0x5593bbdf18] ./zanod(+0x414990) [0x5593ec4990] ./zanod(_ZN5tools2db15mdbx_db_backend4openERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm+0x7e0) [0x5593b58b78] ./zanod(_ZN8currency14tx_memory_pool4initERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKN5boost15program_options13variables_mapE+0x2d0) [0x5593e26920] ./zanod(_ZN8currency4core4initERKN5boost15program_options13variables_mapE+0x5c) [0x5593dd59d0] ./zanod(main+0x1ac0) [0x5593b877f0] /lib/aarch64-linux-gnu/libc.so.6(libc_start_main+0xe8) [0x7f7f1e2e18] ./zanod(+0xe1dd4) [0x5593b91dd4] Message: [DB ERROR]:(12)Cannot allocate memory, [message]: Unable to mdbx_env_open, m_path=/home/mbay/.Zano/poolstate_mdbx_v1 2024-Jan-15 18:30:11.428502 [ERROR] Location: [init] @ /COINS/ZANO/zano/src/currency_core/tx_pool.cpp:1221 STACK ./zanod(_ZN5tools13get_callstackB5cxx11Ev+0x14) [0x5593bbdf18] ./zanod(+0x414990) [0x5593ec4990] ./zanod(_ZN8currency14tx_memory_pool4initERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKN5boost15program_options13variables_mapE+0x358) [0x5593e269a8] ./zanod(_ZN8currency4core4initERKN5boost15program_options13variables_mapE+0x5c) [0x5593dd59d0] ./zanod(main+0x1ac0) [0x5593b877f0] /lib/aarch64-linux-gnu/libc.so.6(__libc_start_main+0xe8) [0x7f7f1e2e18] ./zanod(+0xe1dd4) [0x5593b91dd4] Message: Failed to initialize database in folder: /home/mbay/.Zano/poolstate_mdbx_v1, second attempt 2024-Jan-15 18:30:11.429072 [ERROR] Location: [init] @ /COINS/ZANO/zano/src/currency_core/currency_core.cpp:153 STACK ./zanod(_ZN5tools13get_callstackB5cxx11Ev+0x14) [0x5593bbdf18] ./zanod(_ZN8currency4core4initERKN5boost15program_options13variables_mapE+0x144) [0x5593dd5ab8] ./zanod(main+0x1ac0) [0x5593b877f0] /lib/aarch64-linux-gnu/libc.so.6(libc_start_main+0xe8) [0x7f7f1e2e18] ./zanod(+0xe1dd4) [0x5593b91dd4] Message: Failed to initialize memory pool 2024-Jan-15 18:30:11.429483 [ERROR] Location: [main] @ /COINS/ZANO/zano/src/daemon/daemon.cpp:337 STACK ./zanod(_ZN5tools13get_callstackB5cxx11Ev+0x14) [0x5593bbdf18] ./zanod(+0x414990) [0x5593ec4990] ./zanod(main+0x2c70) [0x5593b889a0] /lib/aarch64-linux-gnu/libc.so.6(__libc_start_main+0xe8) [0x7f7f1e2e18] ./zanod(+0xe1dd4) [0x5593b91dd4] Message: Failed to initialize core 2024-Jan-15 18:30:13.923695 Mining has been stopped, 0 finished 2024-Jan-15 18:30:13.925919 Storing market... 2024-Jan-15 18:30:13.926072 Can't store market from file 2024-Jan-15 18:30:13.926124 Market stored OK
Hope you can fix this and make it work on a Raspberry !