Bitcoin Forum
February 23, 2020, 05:51:22 AM *
News: Latest Bitcoin Core release: 0.19.0.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: ElectrumX install trouble  (Read 98 times)
alomar
Member
**
Offline Offline

Activity: 178
Merit: 10


View Profile
November 28, 2019, 07:04:59 PM
 #1

getting this.  any suggestions?:

Code:
user@user:~/src/electrumx$ :file:`setup.py`
setup.py: command not found
:file:: command not found


1582437082
Hero Member
*
Offline Offline

Posts: 1582437082

View Profile Personal Message (Offline)

Ignore
1582437082
Reply with quote  #2

1582437082
Report to moderator
1582437082
Hero Member
*
Offline Offline

Posts: 1582437082

View Profile Personal Message (Offline)

Ignore
1582437082
Reply with quote  #2

1582437082
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1582437082
Hero Member
*
Offline Offline

Posts: 1582437082

View Profile Personal Message (Offline)

Ignore
1582437082
Reply with quote  #2

1582437082
Report to moderator
1582437082
Hero Member
*
Offline Offline

Posts: 1582437082

View Profile Personal Message (Offline)

Ignore
1582437082
Reply with quote  #2

1582437082
Report to moderator
BitCryptex
Hero Member
*****
Offline Offline

Activity: 854
Merit: 1248


Write @BitCryptex or quote my post to notify me


View Profile WWW
November 28, 2019, 07:12:15 PM
 #2

user@user:~/src/electrumx$ :file:`setup.py`

That's a wrong command. Assuming you have installed python, run python3 setup.py install . You might need to use sudo if it refuses to install due to no permissions.

alomar
Member
**
Offline Offline

Activity: 178
Merit: 10


View Profile
November 28, 2019, 07:14:56 PM
 #3

user@user:~/src/electrumx$ :file:`setup.py`

That's a wrong command. Assuming you have installed python, run python3 setup.py install . You might need to use sudo if it refuses to install due to no permissions.

thanks.  that did it (not a python user).  now let's see if i can finish the rest.
alomar
Member
**
Offline Offline

Activity: 178
Merit: 10


View Profile
January 14, 2020, 02:19:21 AM
 #4

anyone have a sample electrumx.conf file for a node and NOT a server?
RapTarX
Sr. Member
****
Offline Offline

Activity: 392
Merit: 505



View Profile WWW
January 14, 2020, 06:40:27 AM
 #5

anyone have a sample electrumx.conf file for a node and NOT a server?
Are you looking for this?- https://github.com/kyuupichan/electrumx/blob/master/contrib/systemd/electrumx.conf
alomar
Member
**
Offline Offline

Activity: 178
Merit: 10


View Profile
January 14, 2020, 03:38:19 PM
 #6

anyone have a sample electrumx.conf file for a node and NOT a server?
Are you looking for this?- https://github.com/kyuupichan/electrumx/blob/master/contrib/systemd/electrumx.conf

ah, interesting.  what user:password does one use for the daemon URL?
alomar
Member
**
Offline Offline

Activity: 178
Merit: 10


View Profile
January 14, 2020, 05:19:55 PM
 #7

anyone have a sample electrumx.conf file for a node and NOT a server?
Are you looking for this?- https://github.com/kyuupichan/electrumx/blob/master/contrib/systemd/electrumx.conf

ah, interesting.  what user:password does one use for the daemon URL?

well, using rpcuser and rpcpassword seems to have started the electrumx.service Smiley

strange that i don't see it running using "top" but do see it running in my ubuntu System Monitor.  is that b/c it's running inside systemd?

how do i know when it's "finished" indexing?
alomar
Member
**
Offline Offline

Activity: 178
Merit: 10


View Profile
January 16, 2020, 04:29:26 PM
Last edit: January 16, 2020, 10:09:02 PM by alomar
 #8

is the  "DB_DIRECTORY = /home/user/.electrumx" automatically generated upon activation of the server?  i don't see a *.electrumx file having been created.


can anyone see a problem here in my two config files?

here's my electrumx.conf:

Code:

# default /etc/electrumx.conf for systemd

# REQUIRED
USERNAME = user
DB_DIRECTORY = /home/user/.electrumx
# Bitcoin Node RPC Credentials
DAEMON_URL = http://x:x@127.0.0.1:8332/
COIN = BitcoinCash
# See http://electrumx.readthedocs.io/en/latest/environment.html for
# information about other configuration settings you probably want to consider.
DB_ENGINE=leveldb
BANNER_FILE=/etc/electrumx/banner.txt


and service file:

Code:
[Unit]
Description=Electrumx
After=network.target
[Service]
EnvironmentFile=/etc/electrumx.conf
ExecStart=/usr/local/bin/electrumx_server
User=user
LimitNOFILE=8192
TimeoutStopSec=30min
[Install]
WantedBy=multi-user.target
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!