[Solved] Karaf apparently "not listening"

Hi there!

Im totally noob with OpenHAB2 for the first time, with a clean Debian 8.6 installation at local SoHo LAN, following all the apt-get Linux Instructions for offline snapshot installation, and karaf is apparently not opening any ports to “listen” (nmap tested).

The debug window is not showing apparently any error either.

Here’s the ./start-debug.sh output:

Launching the openHAB runtime...
Listening for transport dt_socket at address: 5005

                          __  _____    ____      
  ____  ____  ___  ____  / / / /   |  / __ )     
 / __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __  | 
/ /_/ / /_/ /  __/ / / / __  / ___ |/ /_/ /      
\____/ .___/\___/_/ /_/_/ /_/_/  |_/_____/     
    /_/                        2.0.0-SNAPSHOT
                               Build #587   

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown openHAB.

openhab> log:tail
18:47:24.429 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
18:47:24.793 [INFO ] [assic.internal.servlet.WebAppServlet] - Started Classic UI at /classicui/app
18:47:25.058 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /ui
18:47:25.311 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at /start

All ownership of OpenHAB subdirectories have been checked for openhab:openhab permissions.

And last but not least, htop report’s me lot’s of this parent process:

root     16319  1.8 23.2 2842952 238004 pts/0  Sl+  18:47   0:46 /usr/lib/jvm/java-8-oracle/bin/java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 -Dopenhab.home=/usr/share/openhab2 -Dopenhab.conf=/etc/openha

Thanks for this great project. Im exciting to look it working on!

:smiley:

Whats the output of netstat -anp | grep java?

With a fresh rebooted system:

netstat -anp | grep java
tcp6       0      0 :::8443                 :::*                    LISTEN      626/java        
tcp6       0      0 127.0.0.1:8101          :::*                    LISTEN      626/java        
tcp6       0      0 127.0.0.1:58053         :::*                    LISTEN      626/java        
tcp6       0      0 :::8080                 :::*                    LISTEN      626/java        
udp6       0      0 192.168.1.1:33370       :::*                                626/java        
udp6       0      0 :::5353                 :::*                                626/java        
udp6       0      0 :::1900                 :::*                                626/java        
unix  3      [ ]         STREAM     CONNECTED     11841    626/java            
unix  3      [ ]         STREAM     CONNECTED     13090    626/java            
unix  2      [ ]         STREAM     CONNECTED     12766    626/java            
unix  3      [ ]         STREAM     CONNECTED     13447    626/java            
unix  3      [ ]         STREAM     CONNECTED     13448    626/java            
unix  3      [ ]         STREAM     CONNECTED     13091    626/java            
unix  3      [ ]         STREAM     CONNECTED     13471    626/java            
unix  3      [ ]         STREAM     CONNECTED     13470    626/java            
unix  2      [ ]         STREAM     CONNECTED     12382    626/java            
unix  3      [ ]         STREAM     CONNECTED     12207    626/java            
unix  3      [ ]         STREAM     CONNECTED     11843    626/java            
unix  3      [ ]         STREAM     CONNECTED     12206    626/java            
unix  3      [ ]         STREAM     CONNECTED     11842    626/java            
unix  3      [ ]         STREAM     CONNECTED     11840    626/java            
unix  3      [ ]         STREAM     CONNECTED     11985    626/java            
unix  3      [ ]         STREAM     CONNECTED     11986    626/java

Thanks!

My Mistake… Not aware that the debian 8 installation came with a netfilter-persistent rules activated by default… Now I can see openhab2 web configurator :smiley: