Agent faulty reported dead, minerfarm restart on rigg restore connection.



  • Hi,

    have for some time experienced problem with that agents are reported dead.

    In picture below, agen "RX-480 Clare P2.5" is reported dead, but if I SSH to the rigg and look in minerfarm all is OK. This is confirmed if I look at the mining pool that Clare is connected to.

    Restart of minerfarm (first press 'x' and then 'o') agent start to report OK again.

    0_1520795366207_82352b96-f302-427f-9fe3-8dbbc9b7e7b7-image.png

    Any ideas how to troubleshoot or solve this would be fantastic.

    All the best you you all!
    Christer


  • Staff

    Please ensure the time on the rig is current. Offset by more than a minute will cause agent reporting issues.



  • On one of my riggs I have.

    [/root]:# timedatectl status
    Local time: Mon 2018-03-12 16:47:14 EDT
    Universal time: Mon 2018-03-12 20:47:14 UTC
    RTC time: Mon 2018-03-12 20:47:14
    Time zone: America/New_York (EDT, -0400)
    Network time on: yes
    NTP synchronized: yes
    RTC in local TZ: no
    [Agent:

    Looks quite OK, but timezone is all off, I'm in Stockholm/Europe Zone. will change that and se what happen.


  • Staff

    In general, you should not need to change any of the time settings on your pimp rig. However, sometimes the time drifts on a rig. ntpd is a time daemon that should keep it in sync but if the gap is too large it will sometimes refuse to update things. In the event that your rig is at the wrong time, you can do:

    'sytemctl stop ntp; ntpdate time.nist.gov; systemctl start ntp'

    This series of three commands stops the ntp service, updates your clock to time.nist.gov then restarts the ntp service.



  • The above commands arent working, please help....


  • Staff

    ntpdate may need to be updated/installed. Simply try the following. First we install ntpdate using apt-get install ntpdate, and then we follow lily's advice above.

    [/root]:# apt-get install ntpdate
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following NEW packages will be installed:
      ntpdate
    0 upgraded, 1 newly installed, 0 to remove and 18 not upgraded.
    Need to get 48.7 kB of archives.
    After this operation, 173 kB of additional disk space will be used.
    Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 ntpdate amd64 1:4.2.8p4+dfsg-3ubuntu5.8 [48.7 kB]
    Fetched 48.7 kB in 0s (573 kB/s)
    Selecting previously unselected package ntpdate.
    (Reading database ... 156439 files and directories currently installed.)
    Preparing to unpack .../ntpdate_1%3a4.2.8p4+dfsg-3ubuntu5.8_amd64.deb ...
    Unpacking ntpdate (1:4.2.8p4+dfsg-3ubuntu5.8) ...
    Processing triggers for man-db (2.7.5-1) ...
    Setting up ntpdate (1:4.2.8p4+dfsg-3ubuntu5.8) ...
    [Agent: m204-anjinRulez (Running) Total HR: [40.74Mh/s] Miners running [1] GPUs [AA]]
    [11:35 AM][Uptime: 0d 3:33][root@pimp2(10.0.0.204)]
    [/root]:# ntpdate time.nist.gov
    18 Jun 11:36:04 ntpdate[10423]: the NTP socket is in use, exiting
    [Agent: m204-anjinRulez (Running) Total HR: [40.89Mh/s] Miners running [1] GPUs [AA]]
    [11:36 AM][Uptime: 0d 3:33][root@pimp2(10.0.0.204)]
    [/root]:# systemctl stop ntp
    [Agent: m204-anjinRulez (Running) Total HR: [40.89Mh/s] Miners running [1] GPUs [AA]]
    [11:36 AM][Uptime: 0d 3:33][root@pimp2(10.0.0.204)]
    [/root]:# ntpdate time.nist.gov
    18 Jun 10:36:41 ntpdate[10734]: step time server 129.6.15.29 offset -3583.565055 sec
    [Agent: m204-anjinRulez (Running) Total HR: [40.82Mh/s] Miners running [1] GPUs [AA]]
    [10:36 AM][Uptime: 0d 3:33][root@pimp2(10.0.0.204)]
    [/root]:# date
    Mon Jun 18 10:36:42 EDT 2018
    [Agent: m204-anjinRulez (Running) Total HR: [40.82Mh/s] Miners running [1] GPUs [AA]]
    [10:36 AM][Uptime: 0d 3:33][root@pimp2(10.0.0.204)]
    [/root]:# systemctl start ntl
    Failed to start ntl.service: Unit ntl.service not found.
    [Agent: m204-anjinRulez (Running) Total HR: [40.82Mh/s] Miners running [1] GPUs [AA]]
    [10:36 AM][Uptime: 0d 3:33][root@pimp2(10.0.0.204)]
    [/root]:# systemctl start ntp
    [Agent: m204-anjinRulez (Running) Total HR: [40.82Mh/s] Miners running [1] GPUs [AA]]
    [10:36 AM][Uptime: 0d 3:33][root@pimp2(10.0.0.204)]
    [/root]:# 
    

    I have also posted on another thread of yours instructions for manually setting time. Goodluck and happy mining!



  • Many thanks for your instructions, I have replied to your comment on the other post.


 



Want 10% more hash from your rigs?



We promise to keep your email safe and never spam you.



Copyright (c) 2017 PiMP LLC. All rights Reserved.

Looks like your connection to PiMP Forum was lost, please wait while we try to reconnect.