.OStorageException: Cannot open local storage OSystem' with mode=rw at first run

116 views
Skip to first unread message

Alessandro Depase

unread,
Jul 15, 2017, 9:37:21 AM7/15/17
to OrientDB
Hi all,
I just installed OrientDB to test it and I got the following exception, just after opening the Web studio (http://myIPAddress:2480/studio/index.html#/)

2017-07-15 11:16:23:621 INFO  OrientDB Server is active v2.2.23 (build 1318ca25b3927d22d6a7d5316000e20cb3d9329c). [OServer]$ANSI{green {db=OSystem}} Exception `01F1F6FC` in storage `OSystem`
com.orientechnologies.orient.core.exception.OStorageException: Cannot open local storage 'C:/orientdb-teleporter-community-2.2.23/databases/OSystem' with mode=rw
        DB name="OSystem"
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.open(OAbstractPaginatedStorage.java:299)
        at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.open(ODatabaseDocumentTx.java:258)
        at com.orientechnologies.orient.server.OServer.openDatabaseBypassingSecurity(OServer.java:980)
        at com.orientechnologies.orient.server.OServer.openDatabase(OServer.java:947)
        at com.orientechnologies.orient.server.OServer.openDatabase(OServer.java:932)
        at com.orientechnologies.orient.server.OSystemDatabase.openSystemDatabase(OSystemDatabase.java:92)
        at com.orientechnologies.orient.server.OSystemDatabase.execute(OSystemDatabase.java:99)
        at com.orientechnologies.orient.server.security.ODefaultServerSecurity.getSystemUser(ODefaultServerSecurity.java:284)
        at com.orientechnologies.orient.server.security.authenticator.OSystemUserAuthenticator.isAuthorized(OSystemUserAuthenticator.java:93)
        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:169)
        at com.orientechnologies.orient.server.network.protocol.http.ONetworkProtocolHttpAbstract.execute(ONetworkProtocolHttpAbstract.java:621)
        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:517)
        at com.orientechnologies.orient.core.storage.fs.OFileClassic.readInt(OFileClassic.java:250)
        at com.orientechnologies.orient.core.storage.impl.local.OStorageConfigurationSegment.load(OStorageConfigurationSegment.java:103)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.open(OAbstractPaginatedStorage.java:240)
        ... 13 more

also without performing any login (it seems that the login page calls the backend every few seconds).
This is the first run and I didn't installed any service (however I controlled, there are no services). 
It's just the first run, so I don't have any client which can lock the file or similar.

I'm an optimist and I tried to login anyway, but without success (both as root with the just set password and as admin with password admin).
Can you help me, please?
Thank you in advance
Best Regards
    Alessandro
Reply all
Reply to author
Forward
0 new messages