Permission Denied to Access ChirpStack Network Server

Good day y’all!
I am experiencing difficulty with accessing my Network Config file, and so my gateway is not connecting to the ChirpStack server created.
When I try to access it, it says access denied.
/etc/chirpstack-network-server/chirpstack-network-server configfile > chirpstack-network-se rver.toml

Any and all help is APPRECIATED

I think it has something to do with this problem"

When I enter:

journalctl -u chirpstack-gateway-bridge -f -n 50

It has problems connecting, then it is connected as seen below:

Nov 19 00:14:04 ip-172-31-41-91 chirpstack-gateway-bridge[17796]: time=“2020-11-19T00:14:04Z” level=info msg=“backend/semtechudp: starting gateway udp listener” addr=“0.0.0.0:1700”
Nov 19 00:14:04 ip-172-31-41-91 chirpstack-gateway-bridge[17796]: time=“2020-11-19T00:14:04Z” level=info msg=“integration/mqtt: connected to mqtt broker”
Nov 20 00:30:48 ip-172-31-41-91 systemd[1]: Stopping ChirpStack Gateway Bridge…***
Nov 20 00:30:48 ip-172-31-41-91 chirpstack-gateway-bridge[17796]: time=“2020-11-20T00:30:48Z” level=info msg=“signal received” signal=terminated
Nov 20 00:30:48 ip-172-31-41-91 chirpstack-gateway-bridge[17796]: time=“2020-11-20T00:30:48Z” level=warning msg=“shutting down server”
Nov 20 00:30:48 ip-172-31-41-91 systemd[1]: Stopped ChirpStack Gateway Bridge.
Nov 20 00:30:48 ip-172-31-41-91 systemd[1]: Started ChirpStack Gateway Bridge.
Nov 20 00:30:48 ip-172-31-41-91 chirpstack-gateway-bridge[15781]: time=“2020-11-20T00:30:48Z” level=info msg=“starting ChirpStack Gateway Bridge” docs=“https://www.chirpstack.io/gateway-bridge/” version=3.9.2
Nov 20 00:30:48 ip-172-31-41-91 chirpstack-gateway-bridge[15781]: time=“2020-11-20T00:30:48Z” level=info msg=“backend/semtechudp: starting gateway udp listener” addr=“0.0.0.0:1700”
Nov 20 00:30:48 ip-172-31-41-91 chirpstack-gateway-bridge[15781]: time=“2020-11-20T00:30:48Z” level=info msg=“integration/mqtt: connected to mqtt broker”

My main problem could be I have the wrong config file (.toml), do you think that is the problem?

  1. you trying to run non executable file .toml
  2. you trying to access to the directory with superuser permissions (use with sudo)
  3. after generate the corresponding .toml files edit them with right parameters and put them to corresponding /etc/chirpstack* directories.
    after that you can run the binaries with systemctl

P.S. all steps are fully documented and described at official chirpstack site

2 Likes

Thank you was able to use
$ sudo su nano