Ubuntu Server 18.x crashes when shutting down the system

Hi all

seen this a few times. And this is what I’ve observed from the log file. I shut down the system to install a new binding manually in the add on folder and when I went to start it, the server rebooted.

Any ideas as to why?

Dec 20 10:08:33 openhab2 systemd[1]: Stopping openHAB 2 - empowering the smart home...
Dec 20 10:08:39 openhab2 karaf[1462]: Write action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errororg.osgi.framework.BundleException: Unable to acquire the state change lock for the module: osgi.identity; type="osgi.bundle"; version:Version="3.12.100.v20180210-1608"; osgi.identity="org.eclipse.osgi"; singleton:="true" [id=0] STOPPED [STOPPED]
Dec 20 10:08:39 openhab2 karaf[1462]: #011at org.eclipse.osgi.container.Module.lockStateChange(Module.java:337)
Dec 20 10:08:39 openhab2 karaf[1462]: #011at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.asyncStop(EquinoxBundle.java:156)
Dec 20 10:08:39 openhab2 karaf[1462]: #011at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle.stop(EquinoxBundle.java:262)
Dec 20 10:08:39 openhab2 karaf[1462]: #011at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle.stop(EquinoxBundle.java:267)
Dec 20 10:08:39 openhab2 karaf[1462]: #011at org.eclipse.osgi.launch.Equinox.stop(Equinox.java:123)
Dec 20 10:08:39 openhab2 karaf[1462]: #011at org.apache.karaf.main.Main$2.run(Main.java:354)
Dec 20 10:08:39 openhab2 karaf[1462]: Caused by: java.util.concurrent.TimeoutException: Timeout after waiting 5 seconds to acquire the lock.
Dec 20 10:08:39 openhab2 karaf[1462]: #011at org.eclipse.osgi.container.Module.lockStateChange(Module.java:334)
Dec 20 10:08:39 openhab2 karaf[1462]: #011... 5 more
Dec 20 10:08:51 openhab2 systemd[1]: Stopped openHAB 2 - empowering the smart home.
Dec 20 10:08:51 openhab2 snapd[1573]: udevmon.go:184: udev monitor observed remove event for unknown device "/sys/kernel/slab/:A-0000256/cgroup/filp(1038:openhab2.service)"
Dec 20 10:08:51 openhab2 snapd[1573]: udevmon.go:184: udev monitor observed remove event for unknown device "/sys/kernel/slab/sock_inode_cache/cgroup/sock_inode_cache(1038:openhab2.service)"
Dec 20 10:08:51 openhab2 snapd[1573]: udevmon.go:184: udev monitor observed remove event for unknown device "/sys/kernel/slab/:A-0002112/cgroup/mm_struct(1038:openhab2.service)"
Dec 20 10:08:51 openhab2 snapd[1573]: udevmon.go:184: udev monitor observed remove event for unknown device "/sys/kernel/slab/:A-0000704/cgroup/files_cache(1038:openhab2.service)"
Dec 20 10:08:51 openhab2 snapd[1573]: udevmon.go:184: udev monitor observed remove event for unknown device "/sys/kernel/slab/:A-0000208/cgroup/vm_area_struct(1038:openhab2.service)"
Dec 20 10:08:51 openhab2 snapd[1573]: udevmon.go:184: udev monitor observed remove event for unknown device "/sys/kernel/slab/:A-0001024/cgroup/signal_cache(1038:openhab2.service)"
Dec 20 10:08:51 openhab2 snapd[1573]: udevmon.go:184: udev monitor observed remove event for unknown device "/sys/kernel/slab/:A-0005824/cgroup/task_struct(1038:openhab2.service)"
Dec 20 10:08:51 openhab2 snapd[1573]: udevmon.go:184: udev monitor observed remove event for unknown device "/sys/kernel/slab/:A-0000064/cgroup/pid(1038:openhab2.service)"
Dec 20 10:08:51 openhab2 snapd[1573]: udevmon.go:184: udev monitor observed remove event for unknown device "/sys/kernel/slab/anon_vma/cgroup/anon_vma(1038:openhab2.service)"
Dec 20 10:08:51 openhab2 snapd[1573]: udevmon.go:184: udev monitor observed remove event for unknown device "/sys/kernel/slab/sighand_cache/cgroup/sighand_cache(1038:openhab2.service)"
Dec 20 10:08:52 openhab2 snapd[1573]: udevmon.go:184: udev monitor observed remove event for unknown device "/sys/kernel/slab/:0000192/cgroup/kmalloc-192(1038:openhab2.service)"
Dec 20 10:08:52 openhab2 snapd[1573]: udevmon.go:184: udev monitor observed remove event for unknown device "/sys/kernel/slab/:0001024/cgroup/kmalloc-1024(1038:openhab2.service)"
Dec 20 10:09:03 openhab2 systemd[1]: Started Session 28 of user kris.
Dec 20 10:09:53 openhab2 systemd[1]: Started Session 29 of user kris.
Dec 20 10:10:20 openhab2 systemd[1]: Started openHAB 2 - empowering the smart home.
Dec 20 10:11:10 openhab2 influxd[1284]: [httpd] 192.168.0.3 - - [20/Dec/2018:10:11:10 +1100] "GET /ping HTTP/1.1" 204 0 "-" "okhttp/2.4.0" 5f626271-03e3-11e9-8926-e02f6de0d414 137
Dec 20 10:11:13 openhab2 systemd[1]: Stopping openHAB 2 - empowering the smart home...
Dec 20 10:11:19 openhab2 systemd[1]: Stopping NFS status monitor for NFSv2/3 locking....
Dec 20 10:11:19 openhab2 systemd[1]: Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
Dec 20 10:11:19 openhab2 systemd[1]: Stopping User Manager for UID 1000...
Dec 20 10:11:19 openhab2 systemd[1]: Stopped target RPC Port Mapper.
Dec 20 10:11:19 openhab2 systemd[1]: Stopped target Cloud-init target.
Dec 20 10:11:19 openhab2 systemd[1]: Stopped target Remote File Systems (Pre).
Dec 20 10:11:19 openhab2 systemd[32501]: Stopped target Default.

Dec 20 10:08:39 openhab2 karaf[1462]: Write action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output errorWrite action failed! Input/output 

People would like to help you, but you make it hard for us…

All we know its Ubuntu Server 18.X, we don’t know the openHAB Version just that is’s 2.X

Sorry. The version is 2.4 release

In which log do you see these errors?

This was in the /var/log/syslog file

Does the server reboot unexpectedly in other situations as well or just this one?

Hi Freddy, just this one.

So, you are running OH v2.4.
Which OS are you running?
What addon where you trying to install?

Yes, 2.4. 18.x Server, Bionic Beaver.

The binding was the latest Amazon echo binding

What steps did you do to install the Amazon echo binding manually?
I’m guessing you didn’t install it via the Paper UI?

Just copy the jar into the folder. Nothing special and nothing I havent done in the past.

I installed OH 2.4 from the stable channel yesterday and via the Paper UI I installed the same binding without problem. I didn’t have to copy the jar file manually so I’m wondering why you had to.

I installed it from the paper UI and now have the same problem.

I made copies of my config and purged the apt install. After resetting it up everything seems to be coming up properly. I did more than setup Alexa bindings last time so it could be something else. I’m working on replicating my entire configuration one step at a time. I’ll report back if I can identify what caused it for me.

1 Like

Well not the answer I like to give but a complete rebuild didnt display the issue.