Bitcoin Forum
May 06, 2024, 06:16:35 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: ElectrumX install trouble  (Read 180 times)
alomar (OP)
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


1715019395
Hero Member
*
Offline Offline

Posts: 1715019395

View Profile Personal Message (Offline)

Ignore
1715019395
Reply with quote  #2

1715019395
Report to moderator
1715019395
Hero Member
*
Offline Offline

Posts: 1715019395

View Profile Personal Message (Offline)

Ignore
1715019395
Reply with quote  #2

1715019395
Report to moderator
"In a nutshell, the network works like a distributed timestamp server, stamping the first transaction to spend a coin. It takes advantage of the nature of information being easy to spread but hard to stifle." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715019395
Hero Member
*
Offline Offline

Posts: 1715019395

View Profile Personal Message (Offline)

Ignore
1715019395
Reply with quote  #2

1715019395
Report to moderator
1715019395
Hero Member
*
Offline Offline

Posts: 1715019395

View Profile Personal Message (Offline)

Ignore
1715019395
Reply with quote  #2

1715019395
Report to moderator
1715019395
Hero Member
*
Offline Offline

Posts: 1715019395

View Profile Personal Message (Offline)

Ignore
1715019395
Reply with quote  #2

1715019395
Report to moderator
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3131



View Profile
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 (OP)
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 (OP)
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
Hero Member
*****
Offline Offline

Activity: 1358
Merit: 850



View Profile
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 (OP)
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 (OP)
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 (OP)
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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!