ZMQ problem: ‘ss -ltnp | grep 28332’ and ‘ss -ltnp | grep 28333’ does not give me an answer (i need it for LND) #33710

issue kosuodhmwa openend this issue on October 27, 2025
  1. kosuodhmwa commented at 1:40 am on October 27, 2025: none

    Is there an existing issue for this?

    • I have searched the existing issues

    Current behaviour

    Compile process:

    0[GIT stuff here]
    1apt install -y cmake
    2cd ~/bitcoin
    3mkdir build
    4cd build
    5apt install -y capnproto libcapnp-dev
    6cmake .. -DBUILD_BITCOIN_WALLET=ON -DENABLE_ZMQ=ON -DBUILD_TESTING=OFF -DBUILD_BENCH=OFF
    7make -j$(nproc)
    

    start process:

     0root@debian12-btc-node:~# cat ./start-btcd.sh
     1set -x;
     2clear;
     3cd ~/;
     4#cd bitcoin/src;
     5cd bitcoin;
     6cd build;
     7cd bin;
     8./bitcoind | grep -v -e 'Socks5';
     9#./bitcoind -daemon;
    10exit 0;
    

    Expected behaviour

    But still no answer on TCP ports:

    0root@debian12-btc-node:~# ss -ltnp | grep 28332
    1root@debian12-btc-node:~# ss -ltnp | grep 28333
    

    Steps to reproduce

    As above

    Relevant log output

    How did you obtain Bitcoin Core

    Compiled from source

    What version of Bitcoin Core are you using?

    Current master

    Operating system and version

    Debian 12.x x64

    Machine specifications

    Oracle VirtualBox VM

  2. kosuodhmwa renamed this:
    'ss -ltnp | grep 28332' and 'ss -ltnp | grep 28333' does not work (i need it for LND)
    ZMQ problem: 'ss -ltnp | grep 28332' and 'ss -ltnp | grep 28333' does not give me an answer (i need it for LND)
    on Oct 27, 2025
  3. kosuodhmwa commented at 1:44 am on October 27, 2025: none

    additional info: bitcoin.conf:

     0whitelist=127.0.0.1
     1
     2txindex = 1
     3
     4proxy = 127.0.0.1:9050
     5
     6listen = 1
     7
     8bind = 0.0.0.0
     9
    10server = 1
    11
    12rpcbind=127.0.0.1
    13rpcbind=192.168.1.174
    14
    15rpcallowip=127.0.0.1
    16rpcallowip=192.168.0.0/16
    17
    18rpcport = 8332
    19
    20rpcuser = MY_USER 
    21rpcpassword = MY_PASS 
    22
    23wallet = mywallet
    24#wallet = cormorant
    25
    26disablewallet=0
    27
    28zmqpubrawblock=tcp://127.0.0.1:28332
    29zmqpubrawtx=tcp://127.0.0.1:28333
    
  4. kosuodhmwa closed this on Oct 27, 2025

  5. kosuodhmwa commented at 1:44 am on October 27, 2025: none

    So that entries exist… !?

    zmqpubrawblock=tcp://127.0.0.1:28332 zmqpubrawtx=tcp://127.0.0.1:28333

  6. kosuodhmwa commented at 8:05 pm on October 27, 2025: none

    cmake script content:

     0root@debian12-btc-node:~# cat ./cmake-btcd.sh
     1cd ~/bitcoin/build;
     2
     3# rm -rf *;
     4
     5cmake .. \
     6  -DBUILD_BITCOIN_WALLET=ON \
     7  -DENABLE_ZMQ=ON \
     8  -DZeroMQ_INCLUDE_DIR=/usr/include \
     9  -DZeroMQ_LIBRARY=/usr/lib/x86_64-linux-gnu/libzmq.so \
    10  -DBUILD_TESTING=OFF \
    11  -DBUILD_BENCH=OFF \
    12  -DCMAKE_VERBOSE_MAKEFILE=ON
    13
    14exit 0;
    15root@debian12-btc-node:~#
    

    When i execute it:

     0root@debian12-btc-node:~# ./cmake-btcd.sh
     1-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE dot)
     2
     3Configuring secp256k1 subtree...
     4-- Could NOT find Valgrind (missing: Valgrind_INCLUDE_DIR Valgrind_WORKS)
     5
     6
     7secp256k1 configure summary
     8===========================
     9Build artifacts:
    10  library type ........................ Static
    11Optional modules:
    12  ECDH ................................ OFF
    13  ECDSA pubkey recovery ............... ON
    14  extrakeys ........................... ON
    15  schnorrsig .......................... ON
    16  musig ............................... ON
    17  ElligatorSwift ...................... ON
    18Parameters:
    19  ecmult window size .................. 15
    20  ecmult gen table size ............... 86 KiB
    21Optional features:
    22  assembly ............................ x86_64
    23  external callbacks .................. OFF
    24Optional binaries:
    25  benchmark ........................... OFF
    26  noverify_tests ...................... ON
    27  tests ............................... ON
    28  exhaustive tests .................... ON
    29  ctime_tests ......................... OFF
    30  examples ............................ OFF
    31
    32Cross compiling ....................... FALSE
    33API visibility attributes ............. ON
    34Valgrind .............................. OFF
    35Preprocessor defined macros ........... ECMULT_WINDOW_SIZE=15 COMB_BLOCKS=43 COMB_TEETH=6 USE_ASM_X86_64=1
    36C compiler ............................ GNU 12.2.0, /usr/bin/cc
    37CFLAGS ................................
    38Compile options ....................... -Wall -pedantic -Wcast-align -Wcast-align=strict -Wextra -Wnested-externs -Wno-long-long -Wno-overlength-strings -Wno-unused-function -Wshadow -Wstrict-prototypes -Wundef
    39Build type:
    40 - CMAKE_BUILD_TYPE ................... RelWithDebInfo
    41 - CFLAGS ............................. -O2 -g
    42 - LDFLAGS for executables ............
    43 - LDFLAGS for shared libraries .......
    44
    45
    46
    47Configure summary
    48=================
    49Executables:
    50  bitcoin ............................. ON
    51  bitcoind ............................ ON
    52  bitcoin-node (multiprocess) ......... ON
    53  bitcoin-qt (GUI) .................... OFF
    54  bitcoin-gui (GUI, multiprocess) ..... OFF
    55  bitcoin-cli ......................... ON
    56  bitcoin-tx .......................... ON
    57  bitcoin-util ........................ ON
    58  bitcoin-wallet ...................... ON
    59  bitcoin-chainstate (experimental) ... OFF
    60  libbitcoinkernel (experimental) ..... OFF
    61Optional features:
    62  wallet support ...................... ON
    63  external signer ..................... ON
    64  ZeroMQ .............................. OFF
    65  IPC ................................. ON
    66  USDT tracing ........................ OFF
    67  QR code (GUI) ....................... OFF
    68  DBus (GUI) .......................... OFF
    69Tests:
    70  test_bitcoin ........................ ON
    71  test_bitcoin-qt ..................... OFF
    72  bench_bitcoin ....................... OFF
    73  fuzz binary ......................... OFF
    74
    75Cross compiling ....................... FALSE
    76C++ compiler .......................... GNU 12.2.0, /usr/bin/c++
    77CMAKE_BUILD_TYPE ...................... RelWithDebInfo
    78Preprocessor defined macros ...........
    79C++ compiler flags .................... -O2 -g -std=c++20 -fPIC -fno-extended-identifiers -fdebug-prefix-map=/root/bitcoin/src=. -fmacro-prefix-map=/root/bitcoin/src=. -fstack-reuse=none -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -Wall -Wextra -Wformat -Wformat-security -Wvla -Wredundant-decls -Wdate-time -Wduplicated-branches -Wduplicated-cond -Wlogical-op -Woverloaded-virtual -Wsuggest-override -Wimplicit-fallthrough -Wunreachable-code -Wbidi-chars=any -Wundef -Wno-unused-parameter
    80Linker flags .......................... -O2 -g -fstack-reuse=none -fstack-protector-all -fcf-protection=full -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -Wl,-z,separate-code -fPIE -pie
    81
    82NOTE: The summary above may not exactly match the final applied build flags
    83      if any additional CMAKE_* or environment variables have been modified.
    84      To see the exact flags applied, build with the --verbose option.
    85
    86Treat compiler warnings as errors ..... OFF
    87Use ccache for compiling .............. OFF
    88
    89
    90-- Configuring done
    91-- Generating done
    92-- Build files have been written to: /root/bitcoin/build
    93root@debian12-btc-node:~#
    

    …so you can clearly see: ‘ZeroMQ ………………………… OFF’

  7. kosuodhmwa reopened this on Oct 27, 2025

  8. hebasto commented at 10:09 pm on October 27, 2025: member

    Compile process:

    0[GIT stuff here]
    1apt install -y cmake
    2cd ~/bitcoin
    3mkdir build
    4cd build
    5apt install -y capnproto libcapnp-dev
    6cmake .. -DBUILD_BITCOIN_WALLET=ON -DENABLE_ZMQ=ON -DBUILD_TESTING=OFF -DBUILD_BENCH=OFF
    7make -j$(nproc)
    

    s/-DENABLE_ZMQ=ON/-DWITH_ZMQ=ON/

    For more details, please refer to https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md.

  9. hebasto added the label Questions and Help on Oct 27, 2025
  10. kosuodhmwa commented at 10:44 pm on October 27, 2025: none
    thank you very much! :-)
  11. kosuodhmwa closed this on Oct 27, 2025


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-10-30 21:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me