bforpc
(bforpc)
September 17, 2018, 8:52am
1
Hi,
it looks like, that after an update last Saturday, openhab is running, buit not listening on port 8080:
systemctl status openhab2
● openhab2.service - openHAB 2 - empowering the smart home
Loaded: loaded (/usr/lib/systemd/system/openhab2.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2018-09-17 09:06:20 CEST; 1h 45min ago
Docs: https://www.openhab.org/docs/
https://community.openhab.org
Process: 3613 ExecStop=/usr/share/openhab2/runtime/bin/karaf stop (code=exited, status=0/SUCCESS)
Main PID: 3765 (java)
Tasks: 37 (limit: 4915)
CGroup: /system.slice/openhab2.service
└─3765 /usr/bin/java -Dopenhab.home=/usr/share/openhab2 -Dopenhab.conf=/etc/openhab2 -
Dopenhab.runtime=/usr/share/openhab2/runtime -Dopenhab.userdata=/var/lib/openhab2 -
Dopenhab.logdir=/var/log/openha
and the log looks thorws lot of java errors:
2018-09-17 09:06:21.512 [ERROR] [url.mvn.internal.AetherBasedResolver] - invalid repository URLs
java.net.MalformedURLException: no protocol: system/
...
Jan
Maybe there is another daemon blocking port 8080?
bforpc
(bforpc)
September 18, 2018, 5:21am
3
Hi,
no, there is nobody else. netstat -tulpen show this:
Aktive Internetverbindungen (Nur Server)
Proto Recv-Q Send-Q Local Address Foreign Address State Benutzer Inode PID/Program name
tcp 0 0 192.168.1.105:7373 0.0.0.0:* LISTEN 112 14678 840/homegear
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 12447 686/sshd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 0 13552 16635/master
tcp6 0 0 127.0.0.1:45031 :::* LISTEN 108 11755 647/java
tcp6 0 0 :::2001 :::* LISTEN 112 14668 840/homegear
tcp6 0 0 :::2002 :::* LISTEN 112 14673 840/homegear
tcp6 0 0 :::8083 :::* LISTEN 109 14513 641/influxd
tcp6 0 0 :::8086 :::* LISTEN 109 12518 641/influxd
tcp6 0 0 :::22 :::* LISTEN 0 12449 686/sshd
tcp6 0 0 :::3000 :::* LISTEN 113 12579 644/grafana-server
tcp6 0 0 :::8088 :::* LISTEN 109 13394 641/influxd
tcp6 0 0 :::25 :::* LISTEN 0 13553 16635/master
tcp6 0 0 127.0.0.1:8101 :::* LISTEN 108 12693 647/java
udp 0 0 239.255.255.250:1900 0.0.0.0:* 112 14679 840/homegear
udp 0 0 192.168.1.105:123 0.0.0.0:* 0 13504 771/ntpd
udp 0 0 127.0.0.1:123 0.0.0.0:* 0 13502 771/ntpd
udp 0 0 0.0.0.0:123 0.0.0.0:* 0 13498 771/ntpd
udp6 0 0 fe80::7c42:89ff:fee:123 :::* 0 13508 771/ntpd
udp6 0 0 ::1:123 :::* 0 13506 771/ntpd
udp6 0 0 :::123 :::* 0 13495 771/ntpd
Also there are a lot of java errors in openhab.log.
Jan
Well, either show openhab.log or (maybe much easier) reinstall openHAB2
MikeH
(MikeH)
September 18, 2018, 4:49pm
5
Is it related to this post?
I tried to find a solution and found this thread:
But it seams this is something else, so I created a new one.
Information and logs are in the other thread (do not want to post it twice)
What do I have?:
Pasperry Pi 3
installed clean from Version 2.1 via installation
What did i do?
update via openhabian-config to version 2.2
What did happen?
Update runs without error
No access to Web UI (Port 8080)
What did I tried:
Reboot
read logs
openhab-cli info
Fix Permissions via openhabian…
bforpc
(bforpc)
September 19, 2018, 5:42am
6
I have already reinstall openhab2. And also this cannot be the solution. If something breaks, reinstall the software.
After long search i found the problem with a part of the configuration (what was’nt change).
It looks like, that openhab has change some neccessary parts of the cfg’s.
Thats disappointing.
Jan
basovink
(Bas Ovink)
September 28, 2018, 9:03am
7
Can you explain what it was? I have the same error message and cannot find the problem. :-\
Thanks for nothing! If you find the solution F*** share it!
mancer
(Alexander)
March 16, 2019, 11:42pm
9
Anyone ever got an info here…?