# OpenHAB suddenly stopped working

**URL:** <https://community.openhab.org/t/openhab-suddenly-stopped-working/39205>\
**Category:** Runtime\
**Tags:** raspberrypi1\
**Created:** [January 24, 2018, 5:32pm UTC](https://community.openhab.org/t/openhab-suddenly-stopped-working/39205 "2018-01-24T17:32:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JTuplin](https://community.openhab.org/letter_avatar_proxy/v4/letter/j/91b2a8/32.png) [@JTuplin](https://community.openhab.org/u/JTuplin)\
**Post date:** [January 24, 2018, 5:32pm UTC](https://community.openhab.org/t/openhab-suddenly-stopped-working/39205/1 "2018-01-24T17:32:24Z")

</div>

OpenHAB has been running fine for the last few weeks. Suddenly I have lost OpenHAB (everything on port 8080, myOpenHAB etc). This is the second time that it has happened now, the last time i completely reinstalled OpenHABian. I am running on a raspberry pi 2 and can still ssh etc.

There is an error message in the log which says:

```auto
2018-01-24 17:31:26.572 [SEVERE] [org.apache.karaf.main.Main] - Could not launch framework

java.lang.RuntimeException: Error initializing storage.

	at org.eclipse.osgi.internal.framework.EquinoxContainer.<init>(EquinoxContainer.java:68)

	at org.eclipse.osgi.launch.Equinox.<init>(Equinox.java:31)

	at org.eclipse.osgi.launch.EquinoxFactory.newFramework(EquinoxFactory.java:24)

	at org.apache.karaf.main.Main.launch(Main.java:256)

	at org.apache.karaf.main.Main.main(Main.java:179)

Caused by: java.io.UTFDataFormatException: malformed input around byte 13

	at java.io.DataInputStream.readUTF(DataInputStream.java:634)

	at java.io.DataInputStream.readUTF(DataInputStream.java:564)

	at org.eclipse.osgi.storage.Storage.loadGenerations(Storage.java:1208)

	at org.eclipse.osgi.storage.Storage.<init>(Storage.java:134)

	at org.eclipse.osgi.storage.Storage.createStorage(Storage.java:88)

	at org.eclipse.osgi.internal.framework.EquinoxContainer.<init>(EquinoxContainer.java:66)

	... 4 more

```

I would be grateful for any help to get it running again.

---

<div class="post-metadata">

**Author:** ![Moxified](https://community.openhab.org/user_avatar/community.openhab.org/moxified/32/1669_2.png) [@Moxified](https://community.openhab.org/u/Moxified)\
**Post date:** [January 24, 2018, 8:18pm UTC](https://community.openhab.org/t/openhab-suddenly-stopped-working/39205/2 "2018-01-24T20:18:01Z")

</div>

> [@JTuplin](#):
>
> Error initializing storage

Seeing this and that you are using a pi, I assume SD Cards are involved… they are notorious for causing odd failures. Probably time for a new card. Reinstalling might help as it will avoid the now bad sectors but more will pop up causing this to repeat as you are seeing.
