Not able to restart stardog

1 view
Skip to first unread message

AJUSC

unread,
May 26, 2015, 1:47:02 AM5/26/15
to sta...@clarkparsia.com
I had my stardog server running when suddenly it got shutdown due to power running-out. Upon restarting i am getting the following exception and not able to restart the server. I am using 2.2.4:


com.complexible.stardog.index.disk.btree.impl.ArrayKeys <init>
WARNING: Invalid index metadata: 333 > 0
com.complexible.stardog.index.disk.btree.impl.ArrayKeys <init>
WARNING: Invalid index metadata: 1 > 0
com.complexible.stardog.index.disk.btree.impl.ArrayKeys <init>
WARNING: Invalid index metadata: 1 > 0
Exception in thread "main" java.lang.StackOverflowError
    at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:72)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    at com.complexible.common.memory.PlatformDependent0$BitsJDK7Or8.reserveMemory(PlatformDependent0.java:599)
    at com.complexible.common.memory.Memory.malloc(Memory.java:43)
    at com.complexible.common.memory.MemoryPools$MemoryPoolImpl.malloc(MemoryPools.java:377)
    at com.complexible.common.memory.MemoryPools$MemoryPoolImpl.calloc(MemoryPools.java:291)
    at com.complexible.common.memory.buffer.LongByteBuffers.offHeap(LongByteBuffers.java:112)
    at com.complexible.common.memory.buffer.LongByteBuffers.offHeap(LongByteBuffers.java:88)
    at com.complexible.common.memory.buffer.LongByteBuffers.offHeap(LongByteBuffers.java:74)
    at com.complexible.stardog.dht.impl.OffHeapCompactPage.<init>(OffHeapCompactPage.java:53)
    at com.complexible.stardog.dht.impl.OffHeapFixedKeyPage.<init>(OffHeapFixedKeyPage.java:57)
    at com.complexible.stardog.dht.impl.OffHeapFixedKeyPage$Factory.create(OffHeapFixedKeyPage.java:36)
    at com.complexible.stardog.dht.impl.OffHeapFixedKeyPage$Factory.create(OffHeapFixedKeyPage.java:22)
    at com.complexible.stardog.dht.impl.PagedDiskHashTable.createPage(PagedDiskHashTable.java:892)
    at com.complexible.stardog.dht.impl.PagedDiskHashTable.readOverflowPage(PagedDiskHashTable.java:787)
    at com.complexible.stardog.dht.impl.PagedDiskHashTable.readPage(PagedDiskHashTable.java:782)
    at com.complexible.stardog.dht.impl.PagedDiskHashTable.readOverflowPage(PagedDiskHashTable.java:788)
    at com.complexible.stardog.dht.impl.PagedDiskHashTable.readPage(PagedDiskHashTable.java:782)
    at com.complexible.stardog.dht.impl.PagedDiskHashTable.readOverflowPage(PagedDiskHashTable.java:788)
    at com.complexible.stardog.dht.impl.PagedDiskHashTable.readPage(PagedDiskHashTable.java:782)
......

Michael Grove

unread,
May 26, 2015, 6:43:44 AM5/26/15
to stardog
Without seeing the entire stacktrace, it's hard to say for sure, but you can try repairing the system catalog:  `stardog-admin db repair system`

Cheers,

Mike

--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+u...@clarkparsia.com
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en

Reply all
Reply to author
Forward
0 new messages