0
Under review

XMR Stak stürzt ab

Florian 7 years ago updated by Oliver 7 years ago 15

Hallo zusammen,

bevor ihr die Seite umbautet und diese jetzt anders heisst und auch automatisiert die config datei erstellt etc., stürzt XMR Stak nach dem Start ab... 

Vorher ging alles problemlos.

Ich nutze Windows 10 + alle aktuellen Updates.

Bitte behebt das... Ich hatt mich an ETN und XMR versucht, die konfiguration für eine Nvidia Grafikkarte.

Danke schon mal.


Grüße


Florian

Under review

Kannst Du eventuell mal posten was der Miner ausgibt bevor er sich verabschiedet? (die Webseiten Änderungen haben damit 100% nichts zutun).

Klar, ich habe mal ein Screenshot gemacht...

Was für eine GPU hast Du eingebaut? Nvidia oder AMD? Kannst Du bitte auch den Inhalt generiertet config.txt posten?

Eine Nvidia Karte ist verbaut. Klar, ich kopiere den Inhalt einfach mal raus: 

/*
 * pool_address    - Pool address should be in the form "etn.coinfoundry.org:3112". Only stratum pools are supported.
 * wallet_address  - Your wallet, or pool login.
 * pool_password   - Can be empty in most cases or "x".
 * use_nicehash    - Limit the nonce to 3 bytes as required by nicehash.
 * use_tls         - This option will make us connect using Transport Layer Security.
 * tls_fingerprint - Server's SHA256 fingerprint. If this string is non-empty then we will check the server's cert against it.
 * pool_weight     - Pool weight is a number telling the miner how important the pool is. Miner will mine mostly at the pool
 *                   with the highest weight, unless the pool fails. Weight must be an integer larger than 0.
 */
"pool_list": [{
    "pool_address": "etn.coinfoundry.org:3112",
    "wallet_address": "etnkLHLfbUATS55A7FCCGUaxYTAVcfVT8WxEZrpjZdn2THxCse1nPMK1s7UJwkpVhiDktfKqoCwvuJSFEs1yuL9o3o8CxuHCCX",
    "pool_password": "",
    "use_nicehash": false,
    "use_tls": true,
    "tls_fingerprint": "",
    "pool_weight": 1
  },
],

/*
 * currency to mine
 * allowed values: 'monero' or 'aeon'
 */
 "currency": "monero",

 /*
 * Network timeouts.
 * Because of the way this client is written it doesn't need to constantly talk (keep-alive) to the server to make
 * sure it is there. We detect a buggy / overloaded server by the call timeout. The default values will be ok for
 * nearly all cases. If they aren't the pool has most likely overload issues. Low call timeout values are preferable -
 * long timeouts mean that we waste hashes on potentially stale jobs. Connection report will tell you how long the
 * server usually takes to process our calls.
 *
 * call_timeout - How long should we wait for a response from the server before we assume it is dead and drop the connection.
 * retry_time - How long should we wait before another connection attempt.
 *                Both values are in seconds.
 * giveup_limit - Limit how many times we try to reconnect to the pool. Zero means no limit. Note that stak miners
 *                don't mine while the connection is lost, so your computer's power usage goes down to idle.
 */
"call_timeout": 10,
"retry_time": 30,
"giveup_limit": 0,

/*
 * Output control.
 * Since most people are used to miners printing all the time, that's what we do by default too. This is suboptimal
 * really, since you cannot see errors under pages and pages of text and performance stats. Given that we have internal
 * performance monitors, there is very little reason to spew out pages of text instead of concise reports.
 * Press 'h' (hashrate), 'r' (results) or 'c' (connection) to print reports.
 *
 * verbose_level - 0 - Don't print anything.
 *                 1 - Print intro, connection event, disconnect event
 *                 2 - All of level 1, and new job (block) event if the difficulty is different from the last job
 *                 3 - All of level 1, and new job (block) event in all cases, result submission event.
 *                 4 - All of level 3, and automatic hashrate report printing
 *
 * print_motd    - Display messages from your pool operator in the hashrate result.
 */
"verbose_level": 3,
"print_motd": true,

/*
 * Automatic hashrate report
 *
 * h_print_time - How often, in seconds, should we print a hashrate report if verbose_level is set to 4.
 *                This option has no effect if verbose_level is not 4.
 */
"h_print_time": 60,

/*
 * Manual hardware AES override
 *
 * Some VMs don't report AES capability correctly. You can set this value to true to enforce hardware AES or
 * to false to force disable AES or null to let the miner decide if AES is used.
 *
 * WARNING: setting this to true on a CPU that doesn't support hardware AES will crash the miner.
 */
"aes_override": null,

/*
 * LARGE PAGE SUPPORT
 * Large pages need a properly set up OS. It can be difficult if you are not used to systems administration,
 * but the performance results are worth the trouble - you will get around 20% boost. Slow memory mode is
 * meant as a backup, you won't get stellar results there. If you are running into trouble, especially
 * on Windows, please read the common issues in the README.
 *
 * By default we will try to allocate large pages. This means you need to "Run As Administrator" on Windows.
 * You need to edit your system's group policies to enable locking large pages. Here are the steps from MSDN
 *
 * 1. On the Start menu, click Run. In the Open box, type gpedit.msc.
 * 2. On the Local Group Policy Editor console, expand Computer Configuration, and then expand Windows Settings.
 * 3. Expand Security Settings, and then expand Local Policies.
 * 4. Select the User Rights Assignment folder.
 * 5. The policies will be displayed in the details pane.
 * 6. In the pane, double-click Lock pages in memory.
 * 7. In the Local Security Setting – Lock pages in memory dialog box, click Add User or Group.
 * 8. In the Select Users, Service Accounts, or Groups dialog box, add an account that you will run the miner on
 * 9. Reboot for change to take effect.
 *
 * Windows also tends to fragment memory a lot. If you are running on a system with 4-8GB of RAM you might need
 * to switch off all the auto-start applications and reboot to have a large enough chunk of contiguous memory.
 *
 * On Linux you will need to configure large page support "sudo sysctl -w vm.nr_hugepages=128" and increase your
 * ulimit -l. To do do this you need to add following lines to /etc/security/limits.conf - "* soft memlock 262144"
 * and "* hard memlock 262144". You can also do it Windows-style and simply run-as-root, but this is NOT
 * recommended for security reasons.
 *
 * Memory locking means that the kernel can't swap out the page to disk - something that is unlikely to happen on a
 * command line system that isn't starved of memory. I haven't observed any difference on a CLI Linux system between
 * locked and unlocked memory. If that is your setup see option "no_mlck".
 */
/*
 * use_slow_memory defines our behaviour with regards to large pages. There are three possible options here:
 * always  - Don't even try to use large pages. Always use slow memory.
 * warn    - We will try to use large pages, but fall back to slow memory if that fails.
 * no_mlck - This option is only relevant on Linux, where we can use large pages without locking memory.
 *           It will never use slow memory, but it won't attempt to mlock
 * never   - If we fail to allocate large pages we will print an error and exit.
 */
"use_slow_memory": "warn",

/*
 * TLS Settings
 * If you need real security, make sure tls_secure_algo is enabled (otherwise MITM attack can downgrade encryption
 * to trivially breakable stuff like DES and MD5), and verify the server's fingerprint through a trusted channel.
 *
 * tls_secure_algo - Use only secure algorithms. This will make us quit with an error if we can't negotiate a secure algo.
 */
"tls_secure_algo": true,

/*
 * Daemon mode
 *
 * If you are running the process in the background and you don't need the keyboard reports, set this to true.
 * This should solve the hashrate problems on some emulated terminals.
 */
"daemon_mode": false,

/*
 * Buffered output control.
 * When running the miner through a pipe, standard output is buffered. This means that the pipe won't read
 * each output line immediately. This can cause delays when running in background.
 * Set this option to true to flush stdout after each line, so it can be read immediately.
 */
"flush_stdout": false,

/*
 * Output file
 *
 * output_file  - This option will log all output to a file.
 *
 */
"output_file": "",

/*
 * Built-in web server
 * I like checking my hashrate on my phone. Don't you?
 * Keep in mind that you will need to set up port forwarding on your router if you want to access it from
 * outside of your home network. Ports lower than 1024 on Linux systems will require root.
 *
 * httpd_port - Port we should listen on. Default, 0, will switch off the server.
 */
"httpd_port": 0,

/*
 * HTTP Authentication
 *
 * This allows you to set a password to keep people on the Internet from snooping on your hashrate.
 * Keep in mind that this is based on HTTP Digest, which is based on MD5. To a determined attacker
 * who is able to read your traffic it is as easy to break a bog door latch.
 *
 * http_login - Login. Empty login disables authentication.
 * http_pass  - Password.
 */
"http_login": "",
"http_pass": "",

/*
 * prefer_ipv4 - IPv6 preference. If the host is available on both IPv4 and IPv6 net, which one should be choose?
 *               This setting will only be needed in 2020's. No need to worry about it now.
 */
"prefer_ipv4": true,

+2

Entschuldigung für meine schreckliche deutsche Höflichkeit von Google Translate.


Bitte benennen Sie Ihre aktuelle nvidia.txt in nvidiaold.txt um und führen Sie xmr-stak erneut aus. Dies wird eine neue nvidia.txt erstellen. Wenn das Problem nicht mehr auftritt, schlägt es vor, dass es sich nicht um die automatische Konfiguration handelt. Hast du die alte config.txt nicht gesichert?

@delone: That's actually a good advice and the translation wasn't that bad :)


@florian: An Deiner Stelle würde ich zuerst wie delone vorgeschlagen hat, die config.txt löschen und dann mittels XMR-Stak neu generieren lassen. Ich glaube zwar das dies nichts helfen wird da der Miner ein Problem mit Deinem System zu haben scheint aber wer weiss. Wenn das nichts hilft, am Besten auf den alten Miner zurückgehen.


@delone70 Ich bedanke mich für den Tip. Ich habe das ausprobiert aber leider hat es nicht funktioniert... Leider hatte ich die alte config Datei nicht gesichert...


@Oliver Ich habe mal den XMR Stak so gestartet, ohne der generierten Config Datei von Coinfoundry. Ich habe die Punkte nach und nach beantwortet... Pool Adresse von Coinfoundry übernommen, Wallet Adresse eingegeben, TLS auf true, Nicehash auf false und multible pools aus. Jetzt läuft XMR Stak ohne absturz zeigt aber folgendes an: 


[2018-02-02 12:07:15] : Pool etn.coinfoundry.org:3112 connected. Logging in...
[2018-02-02 12:07:15] : SOCKET ERROR - [etn.coinfoundry.org:3112] RECEIVE error: socket closed


immer wieder das gleiche....


Weiss da einer weiter? Ist ja schon mal ein Fortschritt das XMR Stak nicht mehr abschmiert :D

Das seltsame ist das ich in den Server Logs keinen einzigen Login-Versuch unter der oben in der Konfig verwendeten Addresse finden kann (etnkLHLfbUATS55A7FCCGUaxYTAVcfVT8WxEZrpjZdn2THxCse1nPMK1s7UJwkpVhiDktfKqoCwvuJSFEs1yuL9o3o8CxuHCCX).


Bitte nochmals die aktuelle Konfiguration posten. Ich probiere es mal selber damit.

Komisch, ich habe mal die Firewall deaktiviert. Bleibt aber beim alten mit dem Socket Error. Ich danke dir, hier ist die jetzige config: 


/*
 * pool_address    - Pool address should be in the form "pool.supportxmr.com:3333". Only stratum pools are supported.
 * wallet_address  - Your wallet, or pool login.
 * pool_password   - Can be empty in most cases or "x".
 * use_nicehash    - Limit the nonce to 3 bytes as required by nicehash.
 * use_tls         - This option will make us connect using Transport Layer Security.
 * tls_fingerprint - Server's SHA256 fingerprint. If this string is non-empty then we will check the server's cert against it.
 * pool_weight     - Pool weight is a number telling the miner how important the pool is. Miner will mine mostly at the pool 
 *                   with the highest weight, unless the pool fails. Weight must be an integer larger than 0.
 *
 * We feature pools up to 1MH/s. For a more complete list see M5M400's pool list at www.moneropools.com
 */
"pool_list" :
[
{"pool_address" : "etn.coinfoundry.org:3112", "wallet_address" : "etnkLHLfbUATS55A7FCCGUaxYTAVcfVT8WxEZrpjZdn2THxCse1nPMK1s7UJwkpVhiDktfKqoCwvuJSFEs1yuL9o3o8CxuHCCX", "pool_password" : "", "use_nicehash" : false, "use_tls" : true, "tls_fingerprint" : "", "pool_weight" : 1 },
],

/*
 * currency to mine
 * allowed values: 'monero' or 'aeon'
 */
"currency" : "monero",

/*
 * Network timeouts.
 * Because of the way this client is written it doesn't need to constantly talk (keep-alive) to the server to make 
 * sure it is there. We detect a buggy / overloaded server by the call timeout. The default values will be ok for 
 * nearly all cases. If they aren't the pool has most likely overload issues. Low call timeout values are preferable -
 * long timeouts mean that we waste hashes on potentially stale jobs. Connection report will tell you how long the
 * server usually takes to process our calls.
 *
 * call_timeout - How long should we wait for a response from the server before we assume it is dead and drop the connection.
 * retry_time - How long should we wait before another connection attempt.
 *                Both values are in seconds.
 * giveup_limit - Limit how many times we try to reconnect to the pool. Zero means no limit. Note that stak miners
 *                don't mine while the connection is lost, so your computer's power usage goes down to idle.
 */
"call_timeout" : 10,
"retry_time" : 30,
"giveup_limit" : 0,

/*
 * Output control.
 * Since most people are used to miners printing all the time, that's what we do by default too. This is suboptimal
 * really, since you cannot see errors under pages and pages of text and performance stats. Given that we have internal
 * performance monitors, there is very little reason to spew out pages of text instead of concise reports.
 * Press 'h' (hashrate), 'r' (results) or 'c' (connection) to print reports.
 *
 * verbose_level - 0 - Don't print anything.
 *                 1 - Print intro, connection event, disconnect event
 *                 2 - All of level 1, and new job (block) event if the difficulty is different from the last job
 *                 3 - All of level 1, and new job (block) event in all cases, result submission event.
 *                 4 - All of level 3, and automatic hashrate report printing
 *
 * print_motd    - Display messages from your pool operator in the hashrate result.
 */
"verbose_level" : 3,
"print_motd" : true,

/*
 * Automatic hashrate report
 *
 * h_print_time - How often, in seconds, should we print a hashrate report if verbose_level is set to 4.
 *                This option has no effect if verbose_level is not 4.
 */
"h_print_time" : 60,

/*
 * Manual hardware AES override
 *
 * Some VMs don't report AES capability correctly. You can set this value to true to enforce hardware AES or
 * to false to force disable AES or null to let the miner decide if AES is used.
 *
 * WARNING: setting this to true on a CPU that doesn't support hardware AES will crash the miner.
 */
"aes_override" : null,

/*
 * LARGE PAGE SUPPORT
 * Large pages need a properly set up OS. It can be difficult if you are not used to systems administration,
 * but the performance results are worth the trouble - you will get around 20% boost. Slow memory mode is
 * meant as a backup, you won't get stellar results there. If you are running into trouble, especially
 * on Windows, please read the common issues in the README.
 *
 * By default we will try to allocate large pages. This means you need to "Run As Administrator" on Windows.
 * You need to edit your system's group policies to enable locking large pages. Here are the steps from MSDN
 *
 * 1. On the Start menu, click Run. In the Open box, type gpedit.msc.
 * 2. On the Local Group Policy Editor console, expand Computer Configuration, and then expand Windows Settings.
 * 3. Expand Security Settings, and then expand Local Policies.
 * 4. Select the User Rights Assignment folder.
 * 5. The policies will be displayed in the details pane.
 * 6. In the pane, double-click Lock pages in memory.
 * 7. In the Local Security Setting – Lock pages in memory dialog box, click Add User or Group.
 * 8. In the Select Users, Service Accounts, or Groups dialog box, add an account that you will run the miner on
 * 9. Reboot for change to take effect.
 *
 * Windows also tends to fragment memory a lot. If you are running on a system with 4-8GB of RAM you might need
 * to switch off all the auto-start applications and reboot to have a large enough chunk of contiguous memory.
 *
 * On Linux you will need to configure large page support "sudo sysctl -w vm.nr_hugepages=128" and increase your
 * ulimit -l. To do do this you need to add following lines to /etc/security/limits.conf - "* soft memlock 262144"
 * and "* hard memlock 262144". You can also do it Windows-style and simply run-as-root, but this is NOT
 * recommended for security reasons.
 *
 * Memory locking means that the kernel can't swap out the page to disk - something that is unlikely to happen on a
 * command line system that isn't starved of memory. I haven't observed any difference on a CLI Linux system between
 * locked and unlocked memory. If that is your setup see option "no_mlck".
 */

/*
 * use_slow_memory defines our behaviour with regards to large pages. There are three possible options here:
 * always  - Don't even try to use large pages. Always use slow memory.
 * warn    - We will try to use large pages, but fall back to slow memory if that fails.
 * no_mlck - This option is only relevant on Linux, where we can use large pages without locking memory.
 *           It will never use slow memory, but it won't attempt to mlock
 * never   - If we fail to allocate large pages we will print an error and exit.
 */
"use_slow_memory" : "warn",

/*
 * TLS Settings
 * If you need real security, make sure tls_secure_algo is enabled (otherwise MITM attack can downgrade encryption
 * to trivially breakable stuff like DES and MD5), and verify the server's fingerprint through a trusted channel.
 *
 * tls_secure_algo - Use only secure algorithms. This will make us quit with an error if we can't negotiate a secure algo.
 */
"tls_secure_algo" : true,

/*
 * Daemon mode
 *
 * If you are running the process in the background and you don't need the keyboard reports, set this to true.
 * This should solve the hashrate problems on some emulated terminals.
 */
"daemon_mode" : false,

/*
 * Buffered output control.
 * When running the miner through a pipe, standard output is buffered. This means that the pipe won't read
 * each output line immediately. This can cause delays when running in background.
 * Set this option to true to flush stdout after each line, so it can be read immediately.
 */
"flush_stdout" : false,

/*
 * Output file
 *
 * output_file  - This option will log all output to a file.
 *
 */
"output_file" : "",

/*
 * Built-in web server
 * I like checking my hashrate on my phone. Don't you?
 * Keep in mind that you will need to set up port forwarding on your router if you want to access it from
 * outside of your home network. Ports lower than 1024 on Linux systems will require root.
 *
 * httpd_port - Port we should listen on. Default, 0, will switch off the server.
 */
"httpd_port" : 0,

/*
 * HTTP Authentication
 *
 * This allows you to set a password to keep people on the Internet from snooping on your hashrate.
 * Keep in mind that this is based on HTTP Digest, which is based on MD5. To a determined attacker
 * who is able to read your traffic it is as easy to break a bog door latch.
 *
 * http_login - Login. Empty login disables authentication.
 * http_pass  - Password.
 */ 
"http_login" : "",
"http_pass" : "",
 
/*
 * prefer_ipv4 - IPv6 preference. If the host is available on both IPv4 and IPv6 net, which one should be choose?
 *               This setting will only be needed in 2020's. No need to worry about it now.
 */
"prefer_ipv4" : true,


Was mir jetzt gerade auffällt, am Anfang fragt der XMR Stak, monero oder aeon. Ich habe bei der zweiten config monero ausgewählt... Sollte ja eigentlich für Electroneum sein... Ist auch ne Electroneum Wallet adresse, hatte aber dennoch aus gewohnheit monero ausgewählt... Aber hoffe das dass jetzt nicht problematisch ist... Problem ist ja das gleiche mit dem GPU Error. Ist ja auch die ETN Adresse von coinfoundry drinne... 

Ah ne, jetzt nachdem ich XMR Stak einmal geschlossen habe ist wieder das alte Problem da das alles abstürzt mit der selben Error Meldung wie oben -.-

Downloade dir mal folgenden Miner: https://github.com/tpruvot/ccminer/releases/download/2.2.4-tpruvot/ccminer-x86-2.2.4-cuda9.7z


Erstelle Dir im selben Verzeichnis eine Datei "start.bat" und kopiere folgendes hinein:


ccminer-x64 -a cryptonight -o stratum+tcp://etn.coinfoundry.org:3102 -u etnkLHLfbUATS55A7FCCGUaxYTAVcfVT8WxEZrpjZdn2THxCse1nPMK1s7UJwkpVhiDktfKqoCwvuJSFEs1yuL9o3o8CxuHCCX -p x


Danach start.bat ausführen.

+1

Oliver hat dir wahrscheinlich die beste Lösung gegeben. Es sieht so aus, als ob Sie nicht die einzige Person sind, die diesen Fehler hat.


https://github.com/fireice-uk/xmr-stak-nvidia/issues/187

+1

@Oliver2 Danke dir, ich habe es probiert. bat datei startete kurz und plopte wieder zu... CCminer so zu starten passierte nichts ausser das mein System am hängen war :/


@delone70 Unglaublich, habe die einstellung von 6 auf 8 gestellt und jetzt gehts... Danke dir