Discussion:
[orientdb] unable to connect plocal database
Vishnu Tammi
2014-11-28 00:41:14 UTC
Permalink
"
orientdb> connect remote:localhost/test admin admin

Connecting to database [remote:localhost/test] with user 'admin'...
Error: com.orientechnologies.orient.core.exception.OStorageException:
Cannot open local storage 'D:/Working
Folder/Database/OrientDB/git/releases/orientdb-community-1.7/databases/test'
with mode=rw

Error: com.orientechnologies.orient.core.exception.OSerializationException:
Cannot load database's configuration. The database seems to be corrupted.

Error: java.io.IOException: The process cannot access the file because
another process has locked a portion of the file
"

It won't happen when i shutdown, and restart server. I often happen daily.

Any help will be very appreciated!
--
---
You received this message because you are subscribed to the Google Groups "OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orient-database+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Curtis Mosters' via OrientDB
2014-11-28 07:45:50 UTC
Permalink
Hi, so you started OrientDB via server.bat?

And after that directly connected via console.bat?

When did you create the database?
Post by Vishnu Tammi
"
orientdb> connect remote:localhost/test admin admin
Connecting to database [remote:localhost/test] with user 'admin'...
Cannot open local storage 'D:/Working
Folder/Database/OrientDB/git/releases/orientdb-community-1.7/databases/test'
with mode=rw
com.orientechnologies.orient.core.exception.OSerializationException: Cannot
load database's configuration. The database seems to be corrupted.
Error: java.io.IOException: The process cannot access the file because
another process has locked a portion of the file
"
It won't happen when i shutdown, and restart server. I often happen daily.
Any help will be very appreciated!
--
---
You received this message because you are subscribed to the Google Groups "OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orient-database+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Vishnu Tammi
2014-11-28 16:54:57 UTC
Permalink
After running server.bat I connected via console.bat and created the
database. Even I have created the database using studio, after running
server and console, but after some time when I am trying to log in in to
studio it is saying invaild username and password though I used the same
user name and password from config file.
Post by 'Curtis Mosters' via OrientDB
Hi, so you started OrientDB via server.bat?
And after that directly connected via console.bat?
When did you create the database?
Post by Vishnu Tammi
"
orientdb> connect remote:localhost/test admin admin
Connecting to database [remote:localhost/test] with user 'admin'...
Cannot open local storage 'D:/Working
Folder/Database/OrientDB/git/releases/orientdb-community-1.7/databases/test'
with mode=rw
com.orientechnologies.orient.core.exception.OSerializationException: Cannot
load database's configuration. The database seems to be corrupted.
Error: java.io.IOException: The process cannot access the file because
another process has locked a portion of the file
"
It won't happen when i shutdown, and restart server. I often happen daily.
Any help will be very appreciated!
--
---
You received this message because you are subscribed to the Google Groups "OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orient-database+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Curtis Mosters' via OrientDB
2014-11-29 09:28:41 UTC
Permalink
The error message is way bad yes. Look here, the same issue:
https://github.com/orientechnologies/orientdb-studio/issues/204

But your issue should be that you are using a really old version

Connecting to database [remote:localhost/test] with user 'admin'...
Error: com.orientechnologies.orient.core.exception.OStorageException:
Cannot open local storage 'D:/Working
Folder/Database/OrientDB/git/releases/orientdb-community-1.7/databases/test'
with mode=rw


So try to update OrientDB and you task should work.
Post by Vishnu Tammi
After running server.bat I connected via console.bat and created the
database. Even I have created the database using studio, after running
server and console, but after some time when I am trying to log in in to
studio it is saying invaild username and password though I used the same
user name and password from config file.
Post by 'Curtis Mosters' via OrientDB
Hi, so you started OrientDB via server.bat?
And after that directly connected via console.bat?
When did you create the database?
Post by Vishnu Tammi
"
orientdb> connect remote:localhost/test admin admin
Connecting to database [remote:localhost/test] with user 'admin'...
Cannot open local storage 'D:/Working
Folder/Database/OrientDB/git/releases/orientdb-community-1.7/databases/test'
with mode=rw
com.orientechnologies.orient.core.exception.OSerializationException: Cannot
load database's configuration. The database seems to be corrupted.
Error: java.io.IOException: The process cannot access the file because
another process has locked a portion of the file
"
It won't happen when i shutdown, and restart server. I often happen daily.
Any help will be very appreciated!
--
---
You received this message because you are subscribed to the Google Groups "OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orient-database+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...