Hi all,
I have this issue and I don’t know how to fix, and so I’m asking your help.
Today I installed AmazonDash binding and did procedure described at this page:
http://docs.openhab.org/addons/bindings/amazondashbutton/readme.html
I installed libpcap-dev and then run command to enable capture:
sudo setcap ‘cap_net_raw,cap_net_admin=+eip cap_net_bind_service=+ep’ realpath /usr/bin/java
I don’t know if this is the root cause of my issue, because I do not reboot openhab since 2 weeks, but today it wont restart as service, and I have to run it from console with ./startup.sh and leave console open.
Running systemctl status, i got this:
root@OpenHab2:/usr/share/openhab2# systemctl enable openhab2
Synchronizing state for openhab2.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d openhab2 defaults
Executing /usr/sbin/update-rc.d openhab2 enable
root@OpenHab2:/usr/share/openhab2# systemctl start openhab2
root@OpenHab2:/usr/share/openhab2# systemctl status openhab2
● openhab2.service - openHAB 2 - empowering the smart home
Loaded: loaded (/usr/lib/systemd/system/openhab2.service; enabled)
Active: failed (Result: start-limit) since Sat 2016-11-26 01:18:41 CET; 873ms ago
Docs: http://docs.openhab.org
https://community.openhab.org
Process: 19602 ExecStop=/usr/share/openhab2/runtime/karaf/bin/stop (code=exited, status=127)
Process: 19530 ExecStart=/usr/share/openhab2/start.sh server (code=exited, status=127)
Main PID: 19530 (code=exited, status=127)
Nov 26 01:18:40 OpenHab2 systemd[1]: openhab2.service: control process exited, code=exited status=127
Nov 26 01:18:40 OpenHab2 systemd[1]: Unit openhab2.service entered failed state.
Nov 26 01:18:41 OpenHab2 systemd[1]: openhab2.service holdoff time over, scheduling restart.
Nov 26 01:18:41 OpenHab2 systemd[1]: Stopping openHAB 2 - empowering the smart home...
Nov 26 01:18:41 OpenHab2 systemd[1]: Starting openHAB 2 - empowering the smart home...
Nov 26 01:18:41 OpenHab2 systemd[1]: openhab2.service start request repeated too quickly, refusing to start.
Nov 26 01:18:41 OpenHab2 systemd[1]: Failed to start openHAB 2 - empowering the smart home.
Nov 26 01:18:41 OpenHab2 systemd[1]: Unit openhab2.service entered failed state.
Someone can help me?
Many Thanks
Marco