Unifi Controller on Ubuntu 16

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
LVL 2
Leigh KalbliAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Leigh KalbliAuthor Commented:
Capture.PNG
0
Leigh KalbliAuthor 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
0
Leigh KalbliAuthor Commented:
when running sudo journalctl -p err -b it lookgs like the output is nearly the same.  Capture.PNG
0
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

Leigh KalbliAuthor 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.
0
Leigh KalbliAuthor Commented:
Capture.PNG
0
Prabhin MPEngineer-TechOPSCommented:
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
0
Leigh KalbliAuthor Commented:
I would like to stay clear of installing the older version. Thanks .
0
Leigh KalbliAuthor 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
0
Leigh KalbliAuthor 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.
0
Leigh KalbliAuthor Commented:
Yes it was installed.

Capture.PNG
0
Leigh KalbliAuthor 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.
0
Leigh KalbliAuthor Commented:
Separate note, i am going to create a second VM as well.
0
Leigh KalbliAuthor 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
0
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
https://help.ubnt.com/hc/en-us/articles/115003151108-UniFi-How-to-Configure-a-Debian-Ubuntu-Controller-to-use-Oracle-Java good overview. Click links in this doc for more detail.

Be sure the correct JRE version is installed + setup in Unifi config files (per article).
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Leigh KalbliAuthor Commented:
David,

Thank you for the link.  I get this:

Capture.PNG
0
Leigh KalbliAuthor 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.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.