- Hyper-V running Ubuntu 1904 on Win 10 Intel JDK 8
Latest stable version Linux install
Immediately after starting Openhab
Immediately after starting Openhab
It’s running, is it not?
It is in a starting loop? Have you checked any openHAB logs to see what it is complaining about?
No - no process running.
● openhab2.service - openHAB 2 - empowering the smart home
Loaded: loaded (/lib/systemd/system/openhab2.service; disabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Tue 2019-11-12 14:23:09 CST; 3s ago
Docs: https://www.openhab.org/docs/
https://community.openhab.org
Process: 16321 ExecStart=/usr/share/openhab2/runtime/bin/karaf $OPENHAB_STARTMODE (code=exited, status=1/FAILURE)
Main PID: 16321 (code=exited, status=1/FAILURE)
jeff@ubuntu-19:/var/log/openhab2$ tail -f /var/log/openhab2/openhab.logtail -f /var/log/openhab2/openhab.log -f /var/log/openhab2/events.log
tail: cannot open '/var/log/openhab2/openhab.logtail' for reading: No such file or directory
tail: cannot open '/var/log/openhab2/openhab.log' for reading: No such file or directory
tail: cannot open '/var/log/openhab2/events.log' for reading: No such file or directory
tail: no files remaining
Does journalctl
give any insight?.
Respose to journalctl is"
Failed to add match ‘opehan2.service’ : Invalid arguement
Should I try reloading again? Seems like it dies before it ever starts. I have a clean checkpoint that I can go back to before installing
Actually looking at the guide - I did not create a user before the wget…
Seems I was looking at another install process - wrong move but re-installing anyway
No page loading at 192.168.163.55 after 15 minutes (this is the IP of the VM)
I
A typo? Should be openhab2.service
yes - I am also fighting a screen resolution from the Hyper-V so using Win for the browser. I’ll watch that closer
AfterI restored the checkpoint and reinstalled again I loaded the daemon and enabled the service as described in the install log that was displayed:
Nothing in browser at http://192.168.163.55:8080 (ip address of the VM)
I waited a bit longer and then restarted the Vmachine.
Still have the same issue
eff@ubuntu-19:~$ sudo systemctl daemon-reload
jeff@ubuntu-19:~$ systemctl enable openhab2.service
Synchronizing state of openhab2.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable openhab2
jeff@ubuntu-19:~$ sudo systemctl start openhab2.service
jeff@ubuntu-19:~$ systemctl status openhab2.service
● openhab2.service - openHAB 2 - empowering the smart home
Loaded: loaded (/lib/systemd/system/openhab2.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Tue 2019-11-12 15:40:09 CST; 1s ago
Docs: https://www.openhab.org/docs/
https://community.openhab.org
Process: 6091 ExecStart=/usr/share/openhab2/runtime/bin/karaf $OPENHAB_STARTMODE (code=exited, status=1/FAILURE
Main PID: 6091 (code=exited, status=1/FAILURE)
Which install guide/instructions did you use? And which openHAB version, 2.4.0?
As a hint, here is the official documentation.
By the way, my main OpenHAB installation is running on Hyper-V with a Debian VM downloaded from Microsoft, I believe.
Yes - I’ve had it runniung for a year and was ready to start clean and build what I hoped would be the base for putting a few things into use. Only difference was Ubunto 19 instead of 18 and whatever the previous issue was with the repo server and auth signing. I am also using the quick install that MS prebuilt.
The Linux section for Debian / Ubuntu
Yes same here as well
I admin I am lazy and use the Linux instructions for openHABian and let those scripts handle some of the magic behind the curtain.
I install the Ubuntu vers 18 and patches to version 10. Openhabian installed and started in no more than a minute. I will try to do the Linux install but at this point I feel fairly certain that there is a problem with Ubuntu 19 possibly with the customization the MS does to the install. Anyway appreciate your help again today. Off to add some improvements and then get ready for my black Friday shopping list.