Trying to run xmrig (new) only returns: read error: "end of file"

Hi all,

I’m well aware of: Naw-eth.hiveon.net:4444 read error: "end of file"

But the --dry-run in xmrig approved my config.json to be ok:

root@M720q:/# /hive/miners/xmrig-new/xmrig/6.13.1/xmrig --config /hive/miners/xmrig-new/xmrig/6.13.1/config.json --dry-run
 * ABOUT        XMRig/6.13.1 gcc/9.3.0
 * LIBS         libuv/1.41.0 OpenSSL/1.1.1k hwloc/2.4.1
 * HUGE PAGES   supported
 * 1GB PAGES    disabled
 * CPU          Intel(R) Core(TM) i5-8500T CPU @ 2.10GHz (1) 64-bit AES
            L2:1.5 MB L3:9.0 MB 6C/6T NUMA:1
 * MEMORY       1.7/15.5 GB (11%)
            DIMM_A0: 16 GB DDR4 @ 2666 MHz HMA82GS6CJR8N-VK
            ChannelB-DIMM0: <empty>
 * MOTHERBOARD  LENOVO - 312D
 * DONATE       1%
 * ASSEMBLY     auto:intel
 * POOL #1      de.minexmr.com:4444 algo rx/0
 * COMMANDS     hashrate, pause, resume, results, connection
[2021-08-04 13:20:25.453]  config   OK

And running it without the config.json does work as expected:

root@M720q:/# /hive/miners/xmrig-new/xmrig/6.13.1/xmrig -o pool.minexmr.com:4444 -u MyAddress
     * ABOUT        XMRig/6.13.1 gcc/9.3.0
     * LIBS         libuv/1.41.0 OpenSSL/1.1.1k hwloc/2.4.1
     * HUGE PAGES   supported
     * 1GB PAGES    disabled
     * CPU          Intel(R) Core(TM) i5-8500T CPU @ 2.10GHz (1) 64-bit AES
                    L2:1.5 MB L3:9.0 MB 6C/6T NUMA:1
     * MEMORY       1.7/15.5 GB (11%)
                    DIMM_A0: 16 GB DDR4 @ 2666 MHz HMA82GS6CJR8N-VK
                    ChannelB-DIMM0: <empty>
     * MOTHERBOARD  LENOVO - 312D
     * DONATE       1%
     * ASSEMBLY     auto:intel
     * POOL #1      pool.minexmr.com:4444 algo auto
     * COMMANDS     hashrate, pause, resume, results, connection
     * OPENCL       disabled
     * CUDA         disabled
    [2021-08-04 13:23:28.042]  net      use pool pool.minexmr.com:4444  88.99.193.240
    [2021-08-04 13:23:28.042]  net      new job from pool.minexmr.com:4444 diff 75000 algo rx/0 height 2419662

But if I start it from the HiveOS it comes up with the “read error: “end of file”” Failure!

So the failure must come from inside the config.json even though the dry-run reported it to be OK

Hoping for hints

This is the full output of the failing session:

Miner:   xmrig-new
Fork:    xmrig
Version: 6.13.1

OPENCL is disabled
CUDA is disabled

Trying to release TIME_WAIT sockets:
tcp        0      0 127.0.0.1:60070         127.0.0.1:49952         TIME_WAIT
tcp        0      0 127.0.0.1:60070         127.0.0.1:49944         TIME_WAIT

 * ABOUT        XMRig/6.13.1 gcc/9.3.0
 * LIBS         libuv/1.41.0 OpenSSL/1.1.1k hwloc/2.4.1
 * HUGE PAGES   supported
 * 1GB PAGES    disabled
 * CPU          Intel(R) Core(TM) i5-8500T CPU @ 2.10GHz (1) 64-bit AES
                L2:1.5 MB L3:9.0 MB 6C/6T NUMA:1
 * MEMORY       3.8/15.5 GB (24%)
                DIMM_A0: 16 GB DDR4 @ 2666 MHz HMA82GS6CJR8N-VK
                ChannelB-DIMM0: <empty>
 * MOTHERBOARD  LENOVO - 312D
 * DONATE       1%
 * ASSEMBLY     auto:intel
 * POOL #1      de.minexmr.com:4444 algo rx/0
 * COMMANDS     hashrate, pause, resume, results, connection
 * HTTP API     127.0.0.1:60070
[2021-08-04 13:33:30.825]  config   configuration saved to: "/hive/miners/xmrig-new/xmrig/6.13.1/config.json"
 * OPENCL       disabled
 * CUDA         disabled
[2021-08-04 13:33:30.856]  net      de.minexmr.com:4444 read error: "end of file"
[2021-08-04 13:33:35.120]  signal   Ctrl+C received, exiting

xmrig-new exited (exitcode=0), waiting to cooldown a bit

And this is the config file:

root@M720q:/# cat /hive/miners/xmrig-new/xmrig/6.13.1/config2.json
{
    "api": {
        "id": null,
        "worker-id": null
    },
    "http": {
        "enabled": false,
        "host": "127.0.0.1",
        "port": 0,
        "access-token": null,
        "restricted": true
    },
    "autosave": true,
    "background": false,
    "colors": true,
    "title": true,
    "randomx": {
        "init": -1,
        "init-avx2": -1,
        "mode": "auto",
        "1gb-pages": false,
        "rdmsr": true,
        "wrmsr": true,
        "cache_qos": false,
        "numa": true,
        "scratchpad_prefetch_mode": 1
    },
    "cpu": {
        "enabled": true,
        "huge-pages": true,
        "huge-pages-jit": false,
        "hw-aes": null,
        "priority": null,
        "memory-pool": false,
        "yield": true,
        "asm": true,
        "argon2-impl": null,
        "astrobwt-max-size": 550,
        "astrobwt-avx2": false,
        "argon2": [0, 1, 2, 3, 4, 5],
        "astrobwt": [0, 1, 2, 3, 4, 5],
        "cn": [
            [1, 0],
            [1, 1],
            [1, 2],
            [1, 3],
            [1, 4]
        ],
        "cn-heavy": [
            [1, 0],
            [1, 1]
        ],
        "cn-lite": [
            [1, 0],
            [1, 1],
            [1, 2],
            [1, 3],
            [1, 4],
            [1, 5]
        ],
        "cn-pico": [
            [2, 0],
            [2, 1],
            [2, 2],
            [2, 3],
            [2, 4],
            [2, 5]
        ],
        "cn/upx2": [
            [2, 0],
            [2, 1],
            [2, 2],
            [2, 3],
            [2, 4],
            [2, 5]
        ],
        "rx": [0, 1, 2, 3, 4],
        "rx/wow": [0, 1, 2, 3, 4, 5],
        "cn/0": false,
        "cn-lite/0": false,
        "rx/arq": "rx/wow",
        "rx/keva": "rx/wow"
    },
    "opencl": {
        "enabled": false,
        "cache": true,
        "loader": null,
        "platform": "AMD",
        "adl": true
    },
    "cuda": {
        "enabled": false,
        "loader": null,
        "nvml": true
    },
    "log-file": "/var/log/miner/xmrig-new/xmrig-new.log",
    "donate-level": 1,
    "donate-over-proxy": 0,
    "pools": [
        {
            "algo": "rx/0",
            "coin": null,
            "url": "de.minexmr.com:4444",
            "user": "471GNWSiL2ESCn2RgtmfwmYzLkYAX5qoh1aVuFUPk9A7Pf12WiEF4FefnTwYAERxmRirYL985WgXmT31ec3ideQqVf8MdTU.M720q",
            "pass": "x",
            "rig-id": "M720q",
            "nicehash": false,
            "keepalive": true,
            "enabled": true,
            "tls": true,
            "tls-fingerprint": null,
            "daemon": false,
            "socks5": null,
            "self-select": null,
            "submit-to-origin": false
        }
    ],
    "retries": 5,
    "retry-pause": 5,
    "print-time": 60,
    "health-print-time": 60,
    "dmi": true,
    "syslog": false,
    "tls": {
        "enabled": true,
        "protocols": null,
        "cert": "cert.pem",
        "cert_key": "cert_key.pem",
        "ciphers": null,
        "ciphersuites": null,
        "dhparam": null
    },
    "dns": {
        "ipv6": false,
        "ttl": 30
    },
    "user-agent": null,
    "verbose": 0,
    "watch": true,
    "pause-on-battery": false,
    "pause-on-active": false
}

This topic was automatically closed 416 days after the last reply. New replies are no longer allowed.