arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

View the Server Log and Restart Server

hashtag
About Server Logs

We use supervisorarrow-up-right to run and manage the logs for the eVOLVER server. eVOLVERs should come pre-configured with this.

We also provide a utility monitoring and restart script, evolvercron and server_monitor.sh. To use, add the crontab job line in evolvercron into your cron installation.

hashtag
View Server Logs

circle-info

To understand what you see in the server log, take a look at the information .

  1. Connect to your server via the following command (replace <eVOLVER_IP> with your eVOLVER's IP)

    1. ssh pi@<eVOLVER_IP>

  2. Enter the eVOLVER server's password

hashtag
[Option 1] View the server log live

  1. Enter the supervisor environment via the following command:

    1. sudo supervisorctl

  2. Use the following command to follow the eVOLVER server log:

hashtag
[Option 2] View the whole server log file

The stores the log file here: /var/log/supervisor/

You can either view there or move it to your computer for more analysis

hashtag
Restart the eVOLVER Server

  1. If you are currently following the eVOLVER server in supervisorctl, use ctrl+C to exit. Otherwise, follow steps to .

  2. Enter the following command:

tail -f evolver

  • Ctrl+C to exit

  • restart evolver
  • If you quickly follow the server via tail -f evolver you should see it restart

  • here
    server monitorarrow-up-right
    view server log