com.orientechnologies.orient.core.exception.OStorageException

Cannot open local storage '/home/ubuntu/orientdb-community-2.2.9-SNAPSHOT/databases/OSystem' with mode=rw DB name="OSystem"

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web4

  • via GitHub by kwoxer
    ,
  • via GitHub by kwoxer
    ,
  • Stack trace

    • com.orientechnologies.orient.core.exception.OStorageException: Cannot open local storage '/home/ubuntu/orientdb-community-2.2.9-SNAPSHOT/databases/OSystem' with mode=rw DB name="OSystem" at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.open(OAbstractPaginatedStorage.java:339) at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.open(ODatabaseDocumentTx.java:257) at com.orientechnologies.orient.server.OServer.openDatabaseBypassingSecurity(OServer.java:944) at com.orientechnologies.orient.server.OServer.openDatabase(OServer.java:911) at com.orientechnologies.orient.server.OServer.openDatabase(OServer.java:896) at com.orientechnologies.orient.server.OSystemDatabase.openSystemDatabase(OSystemDatabase.java:93) at com.orientechnologies.orient.server.OSystemDatabase.execute(OSystemDatabase.java:100) at com.orientechnologies.orient.server.security.ODefaultServerSecurity.getSystemUser(ODefaultServerSecurity.java:284) at com.orientechnologies.orient.server.security.authenticator.OSystemUserAuthenticator.isAuthorized(OSystemUserAuthenticator.java:96) at com.orientechnologies.orient.server.security.ODefaultServerSecurity.isAuthorized(ODefaultServerSecurity.java:311) at com.orientechnologies.orient.server.network.protocol.http.command.get.OServerCommandGetListDatabases.execute(OServerCommandGetListDatabases.java:56) at com.orientechnologies.orient.server.network.protocol.http.ONetworkProtocolHttpAbstract.service(ONetworkProtocolHttpAbstract.java:168) at com.orientechnologies.orient.server.network.protocol.http.ONetworkProtocolHttpAbstract.execute(ONetworkProtocolHttpAbstract.java:616) at com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:77) Caused by: com.orientechnologies.common.io.OIOException: You cannot access outside the file size (0 bytes). You have requested portion 0-4 bytes. File: File: database.ocf os-size=1024, stored=0 at com.orientechnologies.orient.core.storage.fs.OFileClassic.checkRegions(OFileClassic.java:550) at com.orientechnologies.orient.core.storage.fs.OFileClassic.readInt(OFileClassic.java:278) at com.orientechnologies.orient.core.storage.impl.local.OStorageConfigurationSegment.load(OStorageConfigurationSegment.java:95) at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.open(OAbstractPaginatedStorage.java:281) ... 13 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.