Skip to content

How to stop the proceess running with ~/lightning$ rm -rf ~/.lightning/; lightningd/lightningd & sleep 1; [1] 11337 #917

Closed

Description

@SiddharthOX

I was having trouble in connecting with lightningd server with the following command using lightningd/lightningd --network=testnet --log-level=debug

So I tried running with following command and it started the process but don't know how the process will stop:

FOLLOWING IS THE ISSUE:

blockchain@blockchain:~$ cd lightning
blockchain@blockchain:~/lightning$ rm -rf ~/.lightning/; lightningd/lightningd & sleep 1; 
[1] 11337
]lightningd(11337): Creating configuration directory /home/blockchain/.lightning
lightningd(11337): Creating database
lightningd(11337): Unable to estimate CONSERVATIVE/2 fee
lightningd(11337): Unable to estimate ECONOMICAL/4 fee
lightningd(11337): Server started with public key 03b082bf0cef70cfdd018bbc0f992138748155b8f5d494c847ddace7b9d16d25a5, alias VIOLENTWHISPER (color #03b082) and lightningd v0.5.2-2016-11-21-1769-g3d91bf2
lightningd(11337): Unable to estimate ECONOMICAL/100 fee
blockchain@blockchain:~/lightning$ ]lightningd(11337): Unable to estimate CONSERVATIVE/2 fee
lightningd(11337): Unable to estimate ECONOMICAL/4 fee
lightningd(11337): Unable to estimate ECONOMICAL/100 fee

]: command not found
blockchain@blockchain:~/lightning$ 
blockchain@blockchain:~/lightning$ 
blockchain@blockchain:~/lightning$ cli/lightning-cli listfunds
{ "outputs" : 
	[  ] }
blockchain@blockchain:~/lightning$ bitcoin-cli -testnet sendtoaddress <address> <alightningd(11337): Unable to estimate CONSERVATIVE/2 fee
lightningd(11337): Unable to estimate ECONOMICAL/4 fee
blockchain@blockchain:~/lightning$ cli/lightning-cli listfunds
{ "outputs" : 
	[  ] }
blockchain@blockchain:~/lightning$ lightningd(11337): Unable to estimate CONSERVATIVE/2 fee
lightningd(11337): Unable to estimate ECONOMICAL/4 fee
lightningd(11337): Unable to estimate ECONOMICAL/100 fee

blockchain@blockchain:~/lightning$ cli/lightning-cli connectlightningd(11337): Unable to estimate CONSERVATIVE/2 fee
lightningd(11337): Unable to estimate ECONOMICAL/4 fee
lightningd(11337): Unable to estimate ECONOMICAL/100 fee

{ "code" : -1, "message" : "Need id to connect" }
blockchain@blockchain:~/lightning$ cli/lightning-cli connect
{ "code" : -1, "message" : "Need id to connect" }
blockchain@blockchain:~/lightning$ lightningd(11337): Unable to estimate CONSERVATIVE/2 fee
lightningd(11337): Unable to estimate ECONOMICAL/4 fee
lightningd(11337): Unable to estimate ECONOMICAL/100 fee

blockchain@blockchain:~/lightning$ cli/lightning-cli fundchannel
{ "code" : -1, "message" : "Need id and satoshi" }
blockchain@blockchain:~/lightning$ lightningd(11337): Unable to estimate CONSERVATIVE/2 fee
lightningd(11337): Unable to estimate ECONOMICAL/4 fee
lightningd(11337): Unable to estimate ECONOMICAL/100 fee
lightningd(11337): Unable to estimate CONSERVATIVE/2 fee
lightningd(11337): Unable to estimate ECONOMICAL/4 fee
lightningd(11337): Unable to estimate ECONOMICAL/100 fee
lightningd(11337): Unable to estimate CONSERVATIVE/2 fee
lightningd(11337): Unable to estimate ECONOMICAL/4 fee
lightningd(11337): Unable to estimate ECONOMICAL/100 fee
lightningd(11337): Unable to estimate CONSERVATIVE/2 fee
lightningd(11337): Unable to estimate ECONOMICAL/4 fee
lightningd(11337): Unable to estimate ECONOMICAL/100 fee
lightningd(11337): Unable to estimate CONSERVATIVE/2 fee
lightningd(11337): Unable to estimate ECONOMICAL/4 fee
lightningd(11337): Unable to estimate ECONOMICAL/100 fee

Can someone please help in telling what exactly is happening and how to stop the process!

I am trying to make a transaction. But the process is not giving me time to write the commands .As the process is continuously happening within few seconds again and again.

Activity

  1. hkjn commented on Feb 5, 2018

    @hkjn

    @sid-01: This is probably offtopic for the issue tracker. Asking on IRC or Stackoverflow or something might be better next time.

    What's happening here is that you started the command in the background with &, where it's continuing to run and produce output. You can attach to it with fg and then issue Ctrl+C to interrupt the process, as I demonstrate below by sending sleep to the background, then bringing it back to the foreground and sending Ctrl+C to stop the command:

    $ sleep 60 &
    [1] 9325
    $ fg
    sleep 60
    ^C
    $
    

    You can also kill commands with e.g. pkill, whether your terminal is attached to your command or not:

    $ sleep 60 &
    [1] 9350
    $ pkill sleep
    [1]+  Terminated              sleep 60
    $
    
  2. cdecker commented on Feb 5, 2018

    @cdecker
    Member

    Closing as offtopic, stackoverflow is the way to go 😉

  3. 1 remaining item

  4. added a commit that references this issue on Mar 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions