'chirpstack-concentratord' service showing "does not exist"

Hello,

I’ve just installed the RAK831 gateway and its showing “does not exist” for the “chirpstack-concentratord” service. Its installed on a Raspberry Pi using the chirpstack gateway image and I selected RAK831 during the configuration. I know all the connections are working as I have inserted a TTN SDcard (in the same Raspberry and RAK831 in same configuration) and can receive LORAWan packets fine to the things network. Any ideas of where to look to resolve the issue with chirpstack?

The message is below:

Process ‘chirpstack-concentratord’
status Does not exist
monitoring status Monitored
monitoring mode active
on reboot start
data collected Sat, 25 Jul 2020 20:02:40

Many thanks

The first step to debug these kind of issues is to see what errors are in the logs :slight_smile:

https://www.chirpstack.io/gateway-os/use/log-files/

Many thanks for your post. I think i know the issue, the reset pin on I’ve wired in on the raspberry pi side is pin 27. On the chirpstack log files it says its looking for the reset pin on 17. How can i change the chirpstack to look at pin 27 instead of 17?

Here’s the log file, it says I can’t add the rest as I can only add 2 links.

raspberrypi3:~$ sudo tail -f /var/log/messages | grep chirpstack-concentratord
Aug 01 16:33:25 raspberrypi3 user.info chirpstack-concentratord-sx1301[741]: Configuring multi-SF LoRa channel, channel: 5, enabled: true, freq: 867500000, rf_chain: 0, if_freq: 0
Aug 01 16:33:25 raspberrypi3 user.info chirpstack-concentratord-sx1301[741]: Configuring multi-SF LoRa channel, channel: 6, enabled: true, freq: 867700000, rf_chain: 0, if_freq: 200000
Aug 01 16:33:25 raspberrypi3 user.info chirpstack-concentratord-sx1301[741]: Configuring multi-SF LoRa channel, channel: 7, enabled: true, freq: 867900000, rf_chain: 0, if_freq: 400000
Aug 01 16:33:25 raspberrypi3 user.info chirpstack-concentratord-sx1301[741]: Configuring Std LoRa channel, enabled: true, freq: 868300000, rf_chain: 1, if_freq: -200000
Aug 01 16:33:25 raspberrypi3 user.info chirpstack-concentratord-sx1301[741]: Configuring FSK channel, enabled: true, freq: 868800000, rf_chain: 1, if_freq: 300000
Aug 01 16:33:25 raspberrypi3 user.info chirpstack-concentratord-sx1301[741]: Starting the concentrator
Aug 1 16:33:35 raspberrypi3 user.err monit[471]: ‘chirpstack-concentratord’ process is not running
Aug 1 16:33:35 raspberrypi3 user.info monit[471]: ‘chirpstack-concentratord’ trying to restart
Aug 1 16:33:35 raspberrypi3 user.info monit[471]: ‘chirpstack-concentratord’ start: ‘/etc/init.d/chirpstack-concentratord start’
Aug 01 16:33:35 raspberrypi3 user.info chirpstack-concentratord-sx1301[748]: Configuring reset pin, pin: 17
Aug 01 16:33:35 raspberrypi3 user.info chirpstack-concentratord-sx1301[748]: Starting Concentratord SX1301 (version: 3.0.0-test.10, docs: https://www.chirpstack.io/concentratord/)
Aug 01 16:33:35 raspberrypi3 user.info chirpstack-concentratord-sx1301[748]: Triggering concentrator reset
Aug 01 16:33:36 raspberrypi3 user.info chirpstack-concentratord-sx1301[748]: Setting spi device path, spidev_path: /dev/spidev0.0
Aug 01 16:33:36 raspberrypi3 user.info chirpstack-concentratord-sx1301[748]: Setting board configuration, lorawan_public: true, clock_source: 1
Aug 01 16:33:36 raspberrypi3 user.info chirpstack-concentratord-sx1301[748]: Setting up concentrator radios
Aug 01 16:33:36 raspberrypi3 user.info chirpstack-concentratord-sx1301[748]: Configuring radio, radio: 0, enabled: true, center_freq: 867500000, type: SX1257
Aug 01 16:33:36 raspberrypi3 user.info chirpstack-concentratord-sx1301[748]: Configuring radio, radio: 1, enabled: true, center_freq: 868500000, type: SX1257
Aug 01 16:33:36 raspberrypi3 user.info chirpstack-concentratord-sx1301[748]: Setting up concentrator channels
Aug 01 16:33:36 raspberrypi3 user.info chirpstack-concentratord-sx1301[748]: Configuring multi-SF LoRa channel, channel: 0, enabled: true, freq: 868100000, rf_chain: 1, if_freq: -400000
Aug 01 16:33:36 raspberrypi3 user.info chirpstack-concentratord-sx1301[748]: Configuring multi-SF LoRa channel, channel: 1, enabled: true, freq: 868300000, rf_chain: 1, if_freq: -200000
Aug 01 16:33:36 raspberrypi3 user.info chirpstack-concentratord-sx1301[748]: Configuring multi-SF LoRa channel, channel: 2, enabled: true, freq: 868500000, rf_chain: 1, if_freq: 0
Aug 01 16:33:36 raspberrypi3 user.info chirpstack-concentratord-sx1301[748]: Configuring multi-SF LoRa channel, channel: 3, enabled: true, freq: 867100000, rf_chain: 0, if_freq: -400000
Aug 01 16:33:36 raspberrypi3 user.info chirpstack-concentratord-sx1301[748]: Configuring multi-SF LoRa channel, channel: 4, enabled: true, freq: 867300000, rf_chain: 0, if_freq: -200000
Aug 01 16:33:36 raspberrypi3 user.info chirpstack-concentratord-sx1301[748]: Configuring multi-SF LoRa channel, channel: 5, enabled: true, freq: 867500000, rf_chain: 0, if_freq: 0
Aug 01 16:33:36 raspberrypi3 user.info chirpstack-concentratord-sx1301[748]: Configuring multi-SF LoRa channel, channel: 6, enabled: true, freq: 867700000, rf_chain: 0, if_freq: 200000
Aug 01 16:33:36 raspberrypi3 user.info chirpstack-concentratord-sx1301[748]: Configuring multi-SF LoRa channel, channel: 7, enabled: true, freq: 867900000, rf_chain: 0, if_freq: 400000
Aug 01 16:33:36 raspberrypi3 user.info chirpstack-concentratord-sx1301[748]: Configuring Std LoRa channel, enabled: true, freq: 868300000, rf_chain: 1, if_freq: -200000
Aug 01 16:33:36 raspberrypi3 user.info chirpstack-concentratord-sx1301[748]: Configuring FSK channel, enabled: true, freq: 868800000, rf_chain: 1, if_freq: 300000

resolved the issue by running “sudo gateway-config” and then selected edit chirpstack concentratord, then selecting the pin:

"# Reset pin.

Note: most model configurations come with a pre-defined reset_pin, in which

case the setting below will be ignored.

reset_pin=27"

Many thanks for your help.

Did you make any modifications with regards to the pin mapping? I believe when using the RAK shield which you can put on top of the Pi, the reset pin is 17. Anyway, it is defined here:

resolved the issue by running “sudo gateway-config” and then selected edit chirpstack concentratord, then selecting the pin:

Reset pin.

Note: most model configurations come with a pre-defined reset_pin, in which

case the setting below will be ignored.

reset_pin=27"

Many thanks for your help.

Thanks for getting back to me @brocaar. I don’t think I have resolved the issue the first time. I’m not using the hat that sits between the pi and the RAK831. I’ve connected the wires from the pi directly to the rak831.

I see your link to the github and see the RAK2245_eu868.rs is set to pin 17 in line 154 “reset_pin: Some(17),”

How do I change the reset to pin 22 on ChirpStack Gateway OS? physical pin 17 on the raspberry pi is a 3v pin which doesn’t sound right to me. I’ve not see a .rs file before? it looks very simular to a json.

Many thanks

I believe GPIO17 is mapped to pin number 11 :slight_smile:

Brill, thanks for getting back to me so quick. Do you know what the other pin mappings are? Are they as in the picture below? Is there somewhere i can check within the software or some documentation?

image

Have you seen?