My OH 1.7 didn’t show the graphs anymore… therefore I tried a reboot!
Now I cannot start the service anymore!!!
usually I use these lines to start the service manually after reboot and check status,
sudo /etc/init.d/openhab start
sudo /etc/init.d/openhab status
top u openhab
but now the status returns:
pi@OHpi:~ $ sudo /etc/init.d/openhab status
● openhab.service - Starts and stops the openHAB Home Automation Bus
Loaded: loaded (/usr/lib/systemd/system/openhab.service; disabled)
Active: inactive (dead)
Docs: http://www.openhab.org
Jul 25 10:48:30 OHpi openhab.sh[2036]: at sun.reflect.NativeMethodAccessorI…)
Jul 25 10:48:30 OHpi openhab.sh[2036]: at sun.reflect.NativeMethodAccessorI…)
Jul 25 10:48:30 OHpi openhab.sh[2036]: at sun.reflect.DelegatingMethodAcces…)
Jul 25 10:48:30 OHpi openhab.sh[2036]: at java.lang.reflect.Method.invoke(M…)
Jul 25 10:48:30 OHpi openhab.sh[2036]: at org.eclipse.equinox.launcher.Main…)
Jul 25 10:48:30 OHpi openhab.sh[2036]: at org.eclipse.equinox.launcher.Main…)
Jul 25 10:48:30 OHpi openhab.sh[2036]: at org.eclipse.equinox.launcher.Main…)
Jul 25 10:48:30 OHpi openhab.sh[2036]: at org.eclipse.equinox.launcher.Main…)
Jul 25 10:48:30 OHpi openhab.sh[2036]: Invalid Configuration Location…
Jul 25 10:48:30 OHpi openhab.sh[2036]: Unable to create lock manager.
Hint: Some lines were ellipsized, use -l to show in full.
There are not too many people left still running 1.7. It is now more than three major releases behind.
My suggestions:
run the openhab.sh start script manually to see the full output or look in /var/syslog to see what the root of that error is.
check your file permissions on all of your relevant files
if you are running off of an SD card, it may have started to fail in which case you need to migrate to a new SD card
another potential cause could be your file system filled up and there is no more room for the system to run
Upgrading to at least the latest 1.8 would probably be warranted, though I would recommend upgrading to 2.1. The number of people with recent enough experience with even version 1.8 is rapidly shrinking and the number of people who have recent experience with versions before that is vanishingly small. Unfortunately, when one chooses not to upgrade and keep up with the development of the software, they must take on the responsibility for maintaining and debugging it themselves as the rest of the community moves on to the newer versions because the community rapidly loses knowledge about the older versions.
Seems to me, you did an update/upgrade for raspbian?
'cause
sudo /etc/init.d/openhab status
is init-Style, but is executed by systemd:
openhab.service - Starts and stops the openHAB Home Automation Bus
Loaded: loaded (/usr/lib/systemd/system/openhab.service; disabled)
Active: inactive (dead)
It’s been a while, since I did some changes, I cannot remember what exactly I did…
But “systemd” remembers my that I tried to config a static IP and a automatic start of openhab Service…
By the way, I was running OH 1.8!!
In the meanwhile I deployed a new installation with old configuration and items etc. It is running well again!
But I’ve still to start the service manually and myopenhab.org is offline.
I remember that I had to do something special to get it work:
deploy a snap-shot of myopenhab-addon (already done!)
install new version of java (already done!)
update uuid and secret on myopenhab.org (already done!)
…but something is still not ready, cause still i’m offline!!