You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having an issue with running the solana_mc.service
It looks like the service cannot locate my config.toml when the execution begins.
here's the error:
Apr 12 18:10:13 solana2 solana-mc[219813]: time="2022-04-12T18:10:13Z" level=fatal msg="error while reading config.toml: Config File "config" Not Found in "[/ /home/$USER/.solana-mc/config]""
here's the systemd file located in /lib/systemd/system/solana_mc.service:
The script works just fine when i type "solana-mc" into the command prompt, and I see metrics in grafana via prometheus.
I examined the config.go file within the repos config directory and see where the error is coming from, but I am still unsure where & exactly what i need to do to fix the config path error.
Things i tried:
cp example.config.toml /home/$USER/config.toml -- to create config.toml in the /home/user location
export CONFIG_PATH="/home/$USER"
tried adding a --config flag to the exec function inside the systemd file
tried using the repo path for the exec "/home/monitoring/solana-mission-control/solana-mc"
used this when i built the go script "solana-=mc" inside this repo
Running Ubuntu 20.04 with a validator on Solana Devnet.
Any help is appreciated!
The text was updated successfully, but these errors were encountered:
Might be worth adding to the repo, def a little confusing trying to make sure the service can access the necessary config. I was not able to get 'export CONFIG_PATH="/home/$USER"' to work. I'm sure I'm missing something, but hopefully this helps others!
Having an issue with running the solana_mc.service
It looks like the service cannot locate my config.toml when the execution begins.
here's the error:
Apr 12 18:10:13 solana2 solana-mc[219813]: time="2022-04-12T18:10:13Z" level=fatal msg="error while reading config.toml: Config File "config" Not Found in "[/ /home/$USER/.solana-mc/config]""
here's the systemd file located in /lib/systemd/system/solana_mc.service:
Current solana-mc script was built using:
and my config.toml
The script works just fine when i type "solana-mc" into the command prompt, and I see metrics in grafana via prometheus.
I examined the config.go file within the repos config directory and see where the error is coming from, but I am still unsure where & exactly what i need to do to fix the config path error.
Things i tried:
Running Ubuntu 20.04 with a validator on Solana Devnet.
Any help is appreciated!
The text was updated successfully, but these errors were encountered: