-
Notifications
You must be signed in to change notification settings - Fork 1
Restart System
Once you have installed everything properly as per the instructions given here, follow the instructions below to restart the services and run SensorAct again:
On Host machine
Restarting MongoDB
On Windows:
To restart mongodb service, at the command prompt with the running instance of the service, type the following commands
-
Ctrl + C
to stop the mongod service -
C:\mongodb\bin\mongod.exe
to start the mongod service (Assuming you have installed mongodb in C:\mongodb)On Linux:
To restart mongodb service, at the terminal, type the following commands -
Ctrl + C
to stop the mongod service -
mongod
to start the mongod service
On Virtual Machine
Restarting Virtual Machine (VM)
On VM with stripped down version of Linux:
At the terminal, type reboot
.
On VM with full version of Linux:
- Inside the guest OS in the VM, locate the power icon on the extreme top-right of the window
- Select Shut Down
- In the window displayed, click the Restart button on the left of the window.
OR
At the terminal, typesudo reboot
.
Make sure you don't have any unsaved changes on SensorAct. Shut down SensorAct before you reboot.
Starting SensorAct
- After rebooting the VM, verify that the host machine's IP has not changed since the previous configuration of SensorAct. If it has, then run
source configSA
at the terminal and set the host machine's IP again.
(If using VM with full version of Linux, useCtrl+Alt+T
to open the terminal) - Start sensoract:
At the terminal, typesource sensoract start
. - Use
source sensoract find
, to get the URL to access the application from the host machine.
For other commands to manage SensorAct, see Controlling SensorAct System