Checking that everything is running properly (remoteit package)

This command checks for remoteit related processes running immediately after you install the remoteit package (prior to adding any Services).

ps ax | grep remoteit | grep -v grep

Here's the expected output:

5245 ? Ssl 0:00 /usr/bin/remoteit run -verbose -config /etc/remoteit/config.json
5278 ? Ssl 0:03 /usr/bin/node /opt/remoteit-headless/build/index.js
5301 ? Ss 0:00 /usr/bin/avahi-publish -f -a -R remoteit.local 192.168.1.7

Check for remoteit related TCP listeners

sudo netstat -lpn | grep remoteit

Here's the expected response:

tcp 0 0 127.0.0.1:64000 0.0.0.0:* LISTEN 5245/remoteit
udp 0 0 127.0.0.1:5980 0.0.0.0:* 5245/remoteit
sudo netstat -lpn | grep node | grep 2999

You should see at least these two entries:

tcp 0 0 0.0.0.0:29998 0.0.0.0:* LISTEN 28090/node
tcp 0 0 0.0.0.0:29999 0.0.0.0:* LISTEN 28090/node

Check the startup service status

sudo systemctl status remoteit-headless

Expected output:

● remoteit-headless.service - Remoteit Headless Desktop
Loaded: loaded (/opt/remoteit-headless/scripts/remoteit-headless.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2020-07-25 11:23:23 PDT; 2min 45s ago
Main PID: 5278 (node)
Tasks: 11 (limit: 4915)
Memory: 28.5M
CGroup: /system.slice/remoteit-headless.service
└─5278 /usr/bin/node /opt/remoteit-headless/build/index.js

Jul 25 11:23:23 raspberrypi systemd[1]: Started Remoteit Headless Desktop.

After you have run the setup and added some services, run this command to check that the individual services appear to be running.  You should see one entry for the Device Name and one entry for each additional Service.

ps ax | grep connectd | grep -v grep

Expected output after adding the Device Name:

   5906 ? S 0:00 /usr/bin/connectd -i -e bWF4X2RlcHRoIDM1CmFwcGxpY2F0aW9uX3R5cGUgMzUKcHJveHlfZGVzdF9wb3J0IDY1NTM1CnByb3h5X2Rlc3RfaXAgMTI3LjAuMC4xCm1hbnVmYWN0dXJlX2lkIDAKcGxhdGZvcm1fdmVyc2lvbiAwCmFwcGxpY2F0aW9uX3R5cGVfb3ZlcmxvYWQgNDAKVUlEIDgwOjAwOjAwOjAwOjAwOjAwOjAwOjAwCnNlY3JldCA1RkE5QzEyMzE0NTYxODk0QTY5OTEwMzJGMDRDODQxNjhDRUY4CiMK

 Expected output after adding the Device Name and one Service:

 5906 ? S 0:00 /usr/bin/connectd -i -e bWF4X2RlcHRoIDM1CmFwcGxpY2F0aW9uX3R5cGUgMzUKcHJveHlfZGVzdF9wb3J0IDY1NTM1CnByb3h5X2Rlc3RfaXAgMTI3LjAuMC4xCm1hbnVmYWN0dXJlX2lkIDAKcGxhdGZvcm1fdmVyc2lvbiAwCmFwcGxpY2F0aW9uX3R5cGVfb3ZlcmxvYWQgNDAKVUlEIDgwOjAwOjAwOjAwOjAwOjAwOjAwOjAwCnNlY3JldCA1RkE5QzEyMzE0NTYxODk0QTY5OTEwMzJGMDRDODQxNjhDRUY4CiMK
5936 ? S 0:00 /usr/bin/connectd -i -e bWF4X2RlcHRoIDM1CmFwcGxpY2F0aW9uX3R5cGUgMjgKcHJveHlfZGVzdF9wb3J0IDIyCnByb3h5X2Rlc3RfaXAgMTI3LjAuMC4xCm1hbnVmYWN0dXJlX2lkIDAKcGxhdGZvcm1fdmVyc2lvbiAwClVJRCA4MDowMDowMDowMDowMTowNTo5NDpDRApzZWNyZXQgNjRBMDEyNDdGQThGMDZGOTBFOEM1NjQzRrtuZow9QzkwRTIzREQ4OAojCg==

 

Was this article helpful?
0 out of 0 found this helpful