Coder Social home page Coder Social logo

Comments (4)

SomberNight avatar SomberNight commented on September 28, 2024

Is there a question? Or more context?
The second error message is quite clear.
And for the first one, more context would be needed. For example, all the environment variable that you had set.

from electrumx.

Master-Win avatar Master-Win commented on September 28, 2024

Hello SomberNight

can you tell me how to fix the error in DB_DIRECTORY thanks.

and here are the other settings git clone from https://github.com/spesmilo/electrumx.git

/etc/electrumx.conf

`COIN=Gold Mark
DB_DIRECTORY=/electrumdb/GMK
DAEMON_URL=http://gMarkrpc:[email protected]:4444/
SERVICES=tcp://:50001,ssl://:50002,wss://:50004,rpc://127.0.0.1
PEER_DISCOVERY=self
MAX_SESSIONS=1000
MAX_SEND=2000000
INITIAL_CONCURRENT=50
MAX_SEND=2000000
BANDWIDTH_UNIT_COST=10000

DB_ENGINE=leveldb
EVENT_LOOP_POLICY=uvloop

Required for WSS or SSL services
SSL_CERTFILE=/etc/letsencrypt/live/electrum1.goldmark.com/fullchain.pem
SSL_KEYFILE=/etc/letsencrypt/live/electrum1.goldmark.com/privkey.pem`

/etc/systemd/system/electrumx.service

[Unit]
Description=Electrumx
After=network.target
[Service]
User=elex
EnvironmentFile=/etc/electrumx.conf
ExecStart=/home/elex/electrumx/electrumx_server
Restart=always
TimeoutSec=120
RestartSec=30
[Install]
WantedBy=multi-user.target

from electrumx.

cipig avatar cipig commented on September 28, 2024

this problem is very common... your electrum runs as user "elex" and that user has no access to /etc/letsencrypt/live/electrum1.goldmark.com/fullchain.pem file or directory... i perśonally put the cert/key in some other place, eg the home dir of the user that runs electrumx, in your case "elex"

from electrumx.

Master-Win avatar Master-Win commented on September 28, 2024

Thanks elex is fix and all work

from electrumx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.