Author

Topic: ElectrumX install trouble (Read 180 times)

member
Activity: 178
Merit: 10
January 16, 2020, 12:29:26 PM
#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:[email protected]: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
member
Activity: 178
Merit: 10
January 14, 2020, 01: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?
member
Activity: 178
Merit: 10
January 14, 2020, 11:38:19 AM
#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?
hero member
Activity: 1358
Merit: 850
January 14, 2020, 02: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
member
Activity: 178
Merit: 10
January 13, 2020, 10:19:21 PM
#4
anyone have a sample electrumx.conf file for a node and NOT a server?
member
Activity: 178
Merit: 10
November 28, 2019, 03: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.
legendary
Activity: 1876
Merit: 3131
November 28, 2019, 03: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.
member
Activity: 178
Merit: 10
November 28, 2019, 03: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


Jump to: