[SOLVED] OpenHabian 1.3 (with Openhab 2.1) - Karaf consol does not start

Hi,
I’ve just installed Openhabian 1.3 and I cannot start Karaf console.
When I login to Openhabian I try to start console:

[12:32:42] openhabian@openHABianPi:~$ ssh openhab@localhost -p 8101
Received disconnect from 127.0.0.1: 2: Session has timed out waiting for authentication after 120000 ms.

I wanted to change logging level. Any suggestion?

Michal

My configuration

################# openHABianPi ############ 7.05.170509 
##   Release = Raspbian GNU/Linux 8 (jessie)
##    Kernel = Linux 4.9.28-v7+
##  Platform = Raspberry Pi 2 Model B Rev 1.1
# openHAB 2.1.0-1

Is the openHAB2 process running?

sudo systemctl status openhab2
sudo netstat -atn |grep 8080
sudo netstat -atn |grep 8101

Did you try connecting more than once?

Note: On slower systems, such as Raspberry Pi or Pine64, this first SSH connection may even time out. If this happens, simply try connecting again until successful.

1 Like

I’ve tried to connect more than once after some time it works! You are right it takes a while :slight_smile:

I think that came up a while ago - upon first start, karaf generates the certificates for sshd, that takes quite a while on a raspi as mine (something like 5 minutes).

1 Like

Exactly what the documentation says, was that not clear enough? :smiley:

Shortly before openHAB 2.0 we already did look at a way to solve this “issue” but ran into a few other similarly unwanted constellations: https://github.com/openhab/openhab-linuxpkg/issues/15