We help IT Professionals succeed at work.

Unifi Controller on Ubuntu 16

359 Views
Last Modified: 2018-09-10
Installed Ubuntu 16.04 LTS and trying to install Unifi Controller for our switches.

I get the following error. Still new to linux side.  Any thoughts?


Capture.PNG
Comment
Watch Question

Author

Commented:
Capture.PNG

Author

Commented:
Here is journalctl -p err -b.  For some reason it wont let me see logs.  Im logged in as the only admin.

Capture.PNG
log.PNG

Author

Commented:
when running sudo journalctl -p err -b it lookgs like the output is nearly the same.  Capture.PNG

Author

Commented:
I will have to look deeper into your last comment. Since I am unable to get to the path because of the permissions, I dont know the name of the log files that would be present there.

Author

Commented:
Capture.PNG
Prabhin MPDevOps Engineer
CERTIFIED EXPERT
Distinguished Expert 2018

Commented:
can you remove existing package and try to install in same manner which is explained in the following link
https://jcutrer.com/howto/networking/ubnt/install-unifi-controller-on-ubuntu-linux

Author

Commented:
I would like to stay clear of installing the older version. Thanks .

Author

Commented:
Martyn,
I prefer to diagnose the problem. Since the decision was made to run the Unifi Controller on Ubuntu, and i will be the one that has to support it, uninstalling and reinstalling does no good to me. I typed the above command. After that nothing is displayed.  Did i miss a step.

Capture.PNG

Author

Commented:
https://help.ubnt.com/hc/en-us/articles/220066768-UniFi-How-to-Install-Update-via-APT-on-Debian-or-Ubuntu  is what i followed.  Ironically, i install the Unifi Camera Server on Ubuntu 16.04 TLS with no issue.  I can, as you said try to uninstall or reinstall or even a new VM. We had already installed the Unifi Controller for switchers to a Server 2012 VM but decided to migrate it to Ubuntu. So, this is not mission or time critical.

Author

Commented:
Yes it was installed.

Capture.PNG

Author

Commented:
Yes the VM is running on Dell R630 Power Eddge servers on vCenter 6.7  I looked in /etc and see no folder for unifi or no standalone file.

Author

Commented:
Separate note, i am going to create a second VM as well.

Author

Commented:
After  running /usr/lib/unifi/bin/unifi.init start i get "starting ubiquiti contoller unifi cannot locate Java Home"  As you reference java being a problem, i thing this may be a critical piece linking the issue.  I will double check that java is correctly installed.  Thank you for your help
Fractional CTO
CERTIFIED EXPERT
Distinguished Expert 2019
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION

Author

Commented:
David,

Thank you for the link.  I get this:

Capture.PNG

Author

Commented:
I reached out to a friend who is more well versed than me and he was able to resolve the issue with Java that caused the problem.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions