openhab / openhab-syno-spk

openHAB Synology SPK Install Package
Eclipse Public License 2.0
161 stars 42 forks source link

karaf console not running on OH2 #51

Closed gorzan14 closed 7 years ago

gorzan14 commented 7 years ago

Karaf console does not start and is not reachable. Everything is doing well on OH2.

2017-01-28 12:57:40.437 [WARN ] [org.apache.karaf.shell.ssh.Activator] - Exception caught while starting SSH server java.net.BindException: Address already in use at sun.nio.ch.Net.bind0(Native Method)[:1.8.0_92] at sun.nio.ch.Net.bind(Net.java:433)[:1.8.0_92] at sun.nio.ch.Net.bind(Net.java:425)[:1.8.0_92] at sun.nio.ch.AsynchronousServerSocketChannelImpl.bind(AsynchronousServerSocketChannelImpl.java:162)[:1.8.0_92] at org.apache.sshd.common.io.nio2.Nio2Acceptor.bind(Nio2Acceptor.java:66)[61:org.apache.sshd.core:0.14.0] at org.apache.sshd.common.io.nio2.Nio2Acceptor.bind(Nio2Acceptor.java:74)[61:org.apache.sshd.core:0.14.0] at org.apache.sshd.SshServer.start(SshServer.java:287)[61:org.apache.sshd.core:0.14.0] at org.apache.karaf.shell.ssh.Activator.doStart(Activator.java:117)[56:org.apache.karaf.shell.ssh:4.0.8] at org.apache.karaf.util.tracker.BaseActivator.run(BaseActivator.java:246)[56:org.apache.karaf.shell.ssh:4.0.8] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_92] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_92] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_92] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_92] at java.lang.Thread.run(Thread.java:745)[:1.8.0_92]

cniweb commented 7 years ago

Address already in use you have run a another process with port binding!

gorzan14 commented 7 years ago

Netstat does Not schow any of the karaf Ports 8081, 5005, 44444 in use.

I use homematic1, astro1, Hue, prowl1 Bindung.

Von meinem iPhone gesendet

Am 29.01.2017 um 23:55 schrieb Christian Häussler notifications@github.com:

Address already in use you have run a another process with port binding!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

cniweb commented 7 years ago

2017-01-28 12:57:40.437 [WARN ] [org.apache.karaf.shell.ssh.Activator] - Exception caught while starting SSH server java.net.BindException: Address already in use Default port = 8101 See docu: http://docs.openhab.org/administration/console.html

gorzan14 commented 7 years ago

Thanks for the Docs.

When I stop all packages in my syno karaf works. Up to know i couldnt find which one is the bad one and which port it uses that karaf wants.

Am 30.01.2017 um 21:50 schrieb Christian Häussler notifications@github.com:

2017-01-28 12:57:40.437 [WARN ] [org.apache.karaf.shell.ssh.Activator] - Exception caught while starting SSH server java.net.BindException: Address already in use Default port = 8101 See docu: http://docs.openhab.org/administration/console.html

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

gorzan14 commented 7 years ago

By try and error (stop OH, stop one package, start OH) i found after a while the bad package: DVBLink Server. It was possible to change the port 8101 on both DVBLink (at web config page) and OH (at karaf config file). Both where successfull after manually restarting the package.

Thanks for help. @cniweb you can close this issue.