-
Notifications
You must be signed in to change notification settings - Fork 1
Troubleshooting
manaswis edited this page Mar 8, 2013
·
5 revisions
-
Error while running
source configSA
:
After you log in to the virtual machine, if you find the following error screen:Type the following commands in the terminal:
sudo rm /etc/udev/rules.d/70-persistent-net.rules
- Reboot the virtual machine :
reboot
- Run
source configSA
again after you log in.
-
Error while starting SensorAct:
When you runsource sensoract start
for the first time after booting up the VM and get the following message:
This means SensorAct server was closed incorrectly. To resolve this, type the following commands on the terminal:rm $SENSORACT_HOME/server.pid
rm $SENSORACTAPP_HOME/server.pid
-
rm $SENSORACTBROKER_HOME/server.pid
and then start SensorAct usingsource sensoract start
OR
If you are using the VM with full version of Linux, usesource sensoract repair
and then runsource sensoract start
.
This error is caused due to incorrect closing of SensorAct or an abrupt shutdown of the VM. Thus, it results into the web application to be inaccessible. Make sure that you always stop SensorAct using source sensoract stop
before you power off/reboot the VM.
- Login error while using SensorAct Application :
If you get the above error, then -
- First, check if mongod service on the host machine has been started. If not, then start mongod service:
On host machine using Windows :
In a command prompt window, enterC:\mongodb\bin\mongod.exe
(assuming mongodb had been extracted to C:\mongodb)
On host machine using Linux :
In a terminal window, entermongod
- If mongod service has been started and the error still persists, reconfigure SensorAct using
source configSA
to enter the correct IP of the host machine.
Make sure your host machine is connected to the Internet. Use the host machine’s IP address of the interface (e.g. eth0 for Ethernet LAN/wlan0 for WiFi etc.) you are using to connect to the Internet. To know your host machine’s IP address, runipconfig
in the command prompt of a host machine with Windows OS andifconfig
in the terminal of a host machine with Linux OS.