Hey, my esix suddenly shut down recently, and when i started my VM where i have ubuntu and unimus installed, i cannot open it on web interface anymore, i can ping ip all fine. Is there any troubleshooting guide for that ? I have put lot of devices there and i need to have access to them and to add more in future.
Thanks
[Solved] Unimus is active but i cannot open web interface?
I would start with some basic debugging commands:
If running as .jar:
If running in Tomcat:
That should tell you if Unimus is running, and if its actually listening on its web port.
How does the output of those look like?
If running as .jar:
Code: Select all
ps aux | egrep '[Uu]nimus'
ps aux | grep java
netstat -na | grep 8085
Code: Select all
ps aux | egrep '[Tt]omcat'
ps aux | grep java
netstat -na | grep 8080
How does the output of those look like?
Tomas wrote:I would start with some basic debugging commands:
If running as .jar:If running in Tomcat:Code: Select all
ps aux | egrep '[Uu]nimus' ps aux | grep java netstat -na | grep 8085
That should tell you if Unimus is running, and if its actually listening on its web port.Code: Select all
ps aux | egrep '[Tt]omcat' ps aux | grep java netstat -na | grep 8080
How does the output of those look like?
- Attachments
-
- unimus.jpg (166.64 KiB) Viewed 11020 times
It seems Unimus is not actually running.
You have to run it with 'java -jar Unimus.jar'.
UPDATE:
We have an installer which will help install in Ubuntu/Debian:
https://wiki.unimus.net/pages/viewpage. ... eId=950330
You have to run it with 'java -jar Unimus.jar'.
UPDATE:
We have an installer which will help install in Ubuntu/Debian:
https://wiki.unimus.net/pages/viewpage. ... eId=950330
ah i see, i was wondering if that could be made auto start if server reboots it self.Tomas wrote:It seems Unimus is not actually running.
You have to run it with 'java -jar Unimus.jar'.
Still the same after running ( java -jar Unimus.jar ) web interface is not operational
What did it say in console when you ran it?
Did it properly start?
I recommend running Unimus in screen:
List all active screens
You can then connect to the screen by
To disconnect from the screen
This will keep Unimus running in a screen instance, so even when you disconnect from the Linux, it will still work.
This means you can SSH into the and/or disconnect from the SSH at any time, but to get back to Unimus, just do 'screen -r'.
Just make sure to not close it inside the screen session
Did it properly start?
I recommend running Unimus in screen:
Code: Select all
screen -md 'java -jar Unimus.jar'
Code: Select all
screen -ls
Code: Select all
screen -r
Code: Select all
Control+a
d
This means you can SSH into the and/or disconnect from the SSH at any time, but to get back to Unimus, just do 'screen -r'.
Just make sure to not close it inside the screen session
From the output of 'netstat -na | grep 8085' we see that Unimus is not listening on its web-port, it means it didnt start successfuly.
Try to run 'java -jar Unimus.jar' in your main shell.
It should start logging to the console, and it should tell you why it failed to start.
Please post the logs of the startup here.
Try to run 'java -jar Unimus.jar' in your main shell.
It should start logging to the console, and it should tell you why it failed to start.
Please post the logs of the startup here.
These are some warring i could catch, i try rebooting VM and starting unimus again only with java -jar Unimus.jar but still the same. Nothing is listening on 8085 port as well, i wouldn't like to reinstall it as i have around 50 devices added already ..
- Attachments
-
- un2.jpg (188.19 KiB) Viewed 10998 times
-
- un1.jpg (204.29 KiB) Viewed 10998 times
Error is related to permission issues on the HSQL database files.
I see you are running Unimus as the 'unimus' user.
Any chance you were running it as root previously?
Try 'sudo java -jar Unimus.jar' - or just 'sudo su' to switch to root and then run it normally.
I see you are running Unimus as the 'unimus' user.
Any chance you were running it as root previously?
Try 'sudo java -jar Unimus.jar' - or just 'sudo su' to switch to root and then run it normally.