

The following tutorial will be presenting the configuration of a new user interface in the Leo Rover system running on RPi (LeoOS). You can design your own UI on the basis of Create a custom UI tutorial. The tutorial will be based on the sample UI dedicated to controlling the additional relay module. We will show you all the needed steps to include a new interface and reconfigure the HTTP server. rw-rwx-+ 1 root root 0 Dec 16 23:34 /usr/local/nginx/conf/GUI-nginx-main.This tutorial describes how to include an additional UI to be running on the LeoRover. The corruption may be caused by ungraceful bin]# ls -ltr /usr/local/nginx/conf/nf So we checked the configuration file /usr/local/nginx/conf/nf and found file is corrupted with size as zero, this caused nginx-mgmt servcie failed to start up. etc/rc.d/init.d/functions daemon -pidfile /var/run/nginx-mgmt.pid /usr/local/n/nginx -c /usr/local/nginx/conf/nfĭec 16 23:34:34 EMS-SBCE su: (to nginx) root on noneĭec 16 23:34:34 EMS-SBCE su: pam_systemd(su-l:session): Failed to create session: File existĭec 16 23:34:34 EMS-SBCE su: pam_unix(su-l:session): session opened for user nginx by (uid=0ĭec 16 23:34:34 EMS-SBCE nginx-mgmt: Starting nginx: nginx: no "events" section in ctionĭec 16 23:34:34 EMS-SBCE nginx-mgmt: ĭec 16 23:34:34 EMS-SBCE systemd: rvice: control process exited, code=exited statusĭec 16 23:34:34 EMS-SBCE systemd: Failed to start LSB: Manages the EMS instance of nginx.ĭec 16 23:34:34 EMS-SBCE systemd: Unit rvice entered failed state.ĭec 16 23:34:34 EMS-SBCE systemd: rvice failed. Process: 20788 ExecStart=/etc/rc.d/init.d/nginx-mgmt start (code=exited, status=1/FAILURE)ĭec 16 23:34:34 EMS-SBCE sudo: root : TTY=unknown PWD=/ USER=root COMMAND=/bin/su -s /bin/bash -c. Loaded: loaded (/etc/rc.d/init.d/nginx-mgmt bad vendor preset: disabled)Īctive: failed (Result: exit-code) since Wed 23:34:34 +08 21s ago

rvice - LSB: Manages the EMS instance of nginx.When running "systemctl status rvice -l" ,we noticed it report "Starting nginx: nginx: no "events" section in configuration bin]# systemctl status rvice -l
