Welcome to the Dash Forum!

Please sign up to discuss the most innovative cryptocurrency!

missing dependency: python-virtualenv

Discussion in 'Masternode Questions and Help.' started by semajjames, Nov 8, 2018.

  1. semajjames

    semajjames Member

    Joined:
    Feb 5, 2015
    Messages:
    152
    Likes Received:
    13
    Trophy Points:
    78
    I'm getting "missing dependency: python-virtualenv" when using dashman to install mn on ubuntu 18 04 ,, and sentinel will not work any ideas

    also
    /home/******/dashman/lib/dashman_functions.sh: line 1129: [: too many arguments

    any ideas
     
  2. strophy

    strophy Administrator
    Dash Core Team Dash Support Group Moderator

    Joined:
    Feb 13, 2016
    Messages:
    570
    Likes Received:
    322
    Trophy Points:
    133
    Did you update Ubuntu recently? Python errors are common when upgrading from 16.04 to 18.04, for example. Try manually installing with "sudo apt install python-virtualenv" to see if you can resolve the dependency manually.
     
    • Like Like x 1
  3. semajjames

    semajjames Member

    Joined:
    Feb 5, 2015
    Messages:
    152
    Likes Received:
    13
    Trophy Points:
    78
  4. strophy

    strophy Administrator
    Dash Core Team Dash Support Group Moderator

    Joined:
    Feb 13, 2016
    Messages:
    570
    Likes Received:
    322
    Trophy Points:
    133
  5. TaoOfSatoshi

    TaoOfSatoshi Grizzled Member
    Linguistic Dash Nation Founder Moderator

    Joined:
    Jul 15, 2014
    Messages:
    2,623
    Likes Received:
    2,586
    Trophy Points:
    1,183
  6. semajjames

    semajjames Member

    Joined:
    Feb 5, 2015
    Messages:
    152
    Likes Received:
    13
    Trophy Points:
    78
    indeed I have always found Tao's guide's work and are very quickly up to date ,,,,, anyway from what i have gathered here is:- in order for dashman to work on ubuntu 18 then Moo would need to do some sort of update ,,, I have there for moved back to my old VPS where i am able to run an older version of ubuntu for now
     
    • Like Like x 1
  7. semajjames

    semajjames Member

    Joined:
    Feb 5, 2015
    Messages:
    152
    Likes Received:
    13
    Trophy Points:
    78
    ok thanks for your help guys ,,,, one more thing
    once i have done this

    Add a check function to crontab to make sure it checks every minute to ensure your masternode is still running:

    crontab -e

    Choose nano as your editor and enter the following line at the end of the file, after the line for sentinel:

    * * * * * pidof dashd || ~/.dashcore/dashd

    is that ALL i need to do to keep dashd running in all eventualities OR do i still need to use the restart script that starts dashd if for some reason the server restarts or dashd simply stops ?
     
  8. strophy

    strophy Administrator
    Dash Core Team Dash Support Group Moderator

    Joined:
    Feb 13, 2016
    Messages:
    570
    Likes Received:
    322
    Trophy Points:
    133
    This should be all you need, that one line will check each minute to make sure dashd is running, and if not, it will restart it. This also works in the case of a system restart. Make sure you also have a line to run Sentinel each minute!
     

Share This Page