[SOLVED] Please help system stoped working after python install

i have some problems installed pyton on my pi 3 and now i get this .
i restarted the pi and could not acses openhab web interface.

tried to start openhab services.
and this is the status. wat can i do ?


 
  [11:00:15] openhabian@OPENHAB_PI:~$ sudo /bin/systemctl status openhab2.service
    ● openhab2.service - openHAB 2 - empowering the smart home
       Loaded: loaded (/usr/lib/systemd/system/openhab2.service; enabled; vendor preset: enabled)
       Active: deactivating (stop) (Result: exit-code) since Thu 2018-06-14 11:00:18 SAST; 344ms ago
         Docs: https://www.openhab.org/docs/
               https://community.openhab.org
      Process: 12742 ExecStart=/usr/share/openhab2/runtime/bin/karaf $OPENHAB_STARTMODE (code=exited, status=1/FAILURE)
     Main PID: 12742 (code=exited, status=1/FAILURE); Control PID: 12862 (karaf)
       CGroup: /system.slice/openhab2.service
               └─control
                 ├─12862 /bin/sh /usr/share/openhab2/runtime/bin/karaf stop
                 ├─12920 /bin/sh /usr/share/openhab2/runtime/bin/karaf stop
                 ├─12921 /usr/bin/java -version
                 ├─12922 grep -E "([0-9].[0-9]\..*[0-9]).*"
                 ├─12923 awk {print substr($3,2,length($3)-2)}
                 ├─12924 awk {print substr($1, 3, 3)}
                 └─12925 sed -e s;\.;;g

    Jun 14 11:00:17 OPENHAB_PI systemd[1]: Started openHAB 2 - empowering the smart home.
    Jun 14 11:00:18 OPENHAB_PI karaf[12742]: There is a Root instance already running with name openhab and pid 433
    Jun 14 11:00:18 OPENHAB_PI systemd[1]: openhab2.service: Main process exited, code=exited, status=1/FAILURE

In a openHABian installation, you don’t have to install pyton and to start openHAB separately.

Reboot the machine just to make sure we have a clear boot.

Then run sudo systemctl status openhab2. What does it say?

Then look at openhab.log. Are there any errors?

I restarted the system and all working now.

Hey there,
i’m still struggling with the same error and run “systemctl status openhab2”

here:
ESCOD
● openhab2.service - openHAB 2 - empowering the smart home
Loaded: loaded (/usr/lib/systemd/system/openhab2.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2019-10-27 01:00:06 CEST; 9min ago
Docs: https://www.openhab.org/docs/
https://community.openhab.org
Main PID: 507 (java)
Tasks: 126 (limit: 2319)
Memory: 360.4M
CGroup: /system.slice/openhab2.service
└─507 /usr/bin/java -Dopenhab.home=/usr/share/openhab2 -Dopenhab.conf=/etc/openhab2 -Dopenhab.runtime=/usr/share/openhab2/runtime -Dopenhab.userdata=/var/lib/openhab2 -Dopenhab.lo

Oct 27 01:00:06 openhab systemd[1]: Started openHAB 2 - empowering the smart home.

So everything seems to work fine, but when i try to log into openhab-cli i get this error:

[01:09:39] openhabian@openhab:~$ sudo openhab-cli start

A systemd service configuration exists…
Use ‘sudo /bin/systemctl start openhab2.service’ to start an openHAB service
Launching an instance in this terminal…
Launching the openHAB runtime…
There is a Root instance already running with name openhab and pid 507. If you know what you are doing and want to force the run anyway, export CHECK_ROOT_INSTANCE_RUNNING=false and re run the command.

Also tried multiple reboots, openhab-cli reset-ownershit / clean-cache but nothing helps.
OH runs fine, but i’m unable to get into cli
dont know what else i can do O.o

Im using openhabian on a raspberry 3B

Open a new thread. I doubt you are having he same issue ad somebody a year ago unless you are purposely running an ancient version. If you arr running a version that old, one of the main pieces of advice would be to upgrade.