-
Notifications
You must be signed in to change notification settings - Fork 2
Troubleshooting
If Runtime doesn't start up or exit properly, check to make sure there are no residual objects from the previous run of Runtime. After cleaning up any residual objects from the previous run of Runtime, start up Runtime by either starting up all the services again:
service shm_start start
service net_handler start
service dev_handler start
service executor start
or by using the run.sh
shell script with ./run.sh
in the terminal from the top-level Runtime directory.
Check for residual processes or services:
ps -efH -u pi
lists all processes owned by the pi
user on the Raspberry Pi. If you see anything Runtime-related, for example:
pi 23623 1 0 11:41 pts/1 00:00:00 ./net_handler
kill the process by sending it SIGINT with kill -INT 23623
where you replace the 23623
with whatever the process ID of the residual process is.
Check that the challenge socket and the log FIFO are reset by removing them if they exist. Do:
ls /tmp
and if you see either challenge.sock
or log-fifo
in the output, remove them with rm /tmp/challenge.sock
and rm /tmp/log-fifo
, respectively.
Check that the shared memory is removed if it exists. Do:
ls /dev/shm
and if you see a whole bunch of files there, remove them with rm /dev/shm/*
.
- Important
- Advanced/Specific