Failing to start after installing

I installed openhab2 onto my ubuntu system. when I run the commands
sudo systemctl start openhab2.service
sudo systemctl status openhab2.service
its failing to start

Look at syslog while OH is starting to see if there is anything logged to tell you why OH won’t start, or try to start it manually by running:

sudo -u openhab /usr/share/openhab2/start.sh (I think, I run in Docker so am not certain about that path)

Does your system meet all the prerequisites?