Welcome, Guest. Please login or register.

Author Topic: NXT for Linux Instructions (Ubuntu)  (Read 505 times)

templebar, aldrin and 1 Guest are viewing this topic.

Offline bizz

  • Fresh Nxter
  • *
  • Posts: 32
    • View Profile
Re: NXT for Linux Instructions (Ubuntu)
« Reply #15 on: December 12, 2013, 03:59:21 AM »
i have problems getting 0.3.18 working....

0.3.16 working fine in linux



0.3.18....after first start i try CTRL-C (but not working!!!)
On first CTRL-C it should write new blockchain.nrs format!
But i doesn't....

any help? i am back to 0.3.16 now!

I upgraded by deleting everything in nxt folder and downloading nxt.zip & nxtfiles.zip. No issues on 12.04.
18005888158929470972

^ You know you want to tip me :)

Offline Graviton

  • Administrator
  • Established Nxter
  • *****
  • Posts: 176
  • Dominus Cryptonomicon
    • View Profile
    • DGEX
Re: NXT for Linux Instructions (Ubuntu)
« Reply #16 on: December 12, 2013, 01:47:26 PM »
How would you witches  :)suggest to solve the following with a batch script set to run in cron every minute:

- check if NXT client is working nicely (with a get request to one of the API calls)
- parse the output to verify the functioning (would seeing some balance be enough? Probably not, been unable to send payment despite visible balance)
- if output from API is not valid, check if client is running in system
- if running, kill it gracefully and and check until killed
- when not running, start client in the background

Thanks a lot!
DGEX.com operator :: Nextcoin.org founder

Offline JohnyCrypt

  • Nxter
  • **
  • Posts: 104
    • View Profile
Re: NXT for Linux Instructions (Ubuntu)
« Reply #17 on: December 12, 2013, 06:19:27 PM »
Damn Graviton, throwing down the gauntlet today!

I'm gonna play with this, but I wonder if someone Pearl or Python magician has an idea.

Edit:
CfB just posted this in the windows thread. It might be helpful:
Code: [Select]
http://localhost:7874/nxt?requestType=getState
[code]
BitCoinTalk Verification: https://bitcointalk.org/index.php?topic=356307.msg3811732#msg3811732
NXT:13726890115391643239

Offline ferment

  • Fresh Nxter
  • *
  • Posts: 42
  • nxt ops
    • View Profile
Re: NXT for Linux Instructions (Ubuntu)
« Reply #18 on: December 13, 2013, 05:56:27 AM »
How would you witches  :)suggest to solve the following with a batch script set to run in cron every minute:

- check if NXT client is working nicely (with a get request to one of the API calls)
- parse the output to verify the functioning (would seeing some balance be enough? Probably not, been unable to send payment despite visible balance)
- if output from API is not valid, check if client is running in system
- if running, kill it gracefully and and check until killed
- when not running, start client in the background

Thanks a lot!

I'm looking at using God to do something similar. http://godrb.com

-Ferm
nxtbase: node management tools and public nodes
donate nxt: 11243542237777034551

Offline Graviton

  • Administrator
  • Established Nxter
  • *****
  • Posts: 176
  • Dominus Cryptonomicon
    • View Profile
    • DGEX
Re: NXT for Linux Instructions (Ubuntu)
« Reply #19 on: December 13, 2013, 03:18:56 PM »
I'm looking at using God to do something similar. http://godrb.com

-Ferm
Could you post here or privately if you come up with any usable solution?

I would think it's simple to attain through a relatively straightforward shell script, but then maybe not.
DGEX.com operator :: Nextcoin.org founder

Offline ferment

  • Fresh Nxter
  • *
  • Posts: 42
  • nxt ops
    • View Profile
Re: NXT for Linux Instructions (Ubuntu)
« Reply #20 on: December 13, 2013, 04:13:37 PM »
Yes, I'll work on the basics today.
nxtbase: node management tools and public nodes
donate nxt: 11243542237777034551