I had not seen that there are two levels of users - thanks for that 
information.  It is working now that I'm using the database credentials and 
not the server credentials.

Thanks.



On Friday, January 29, 2016 at 5:45:06 PM UTC-7, Scott Dunbar wrote:
>
> I've seen several topics like this online but no resolution.  I'm trying 
> to backup a 2.0.9 database under Max OS/X 10.10.5, Java 1.8.0_66.  I have 
> done:
>
> 1) Connect to database using remote protocol:
>
> orientdb> connect remote:localhost/dbname root password
> Connecting to database [remote:localhost/dbname] with user 'root'...OK
>
> 2) Connect to database using plocal protocol with the server running:
>
> orientdb> connect plocal:../databases/dbname root password
> Connecting to database [plocal:../databases/dbname] with user 'root'...
> Error: com.orientechnologies.orient.core.exception.OStorageException: 
> Cannot open local storage '../databases/dbname' with mode=rw
> Error: 
> com.orientechnologies.orient.core.exception.OSerializationException: Cannot 
> load database's configuration. The database seems to be corrupted.
> Error: com.orientechnologies.common.concur.lock.OLockException: File 
> '../databases/dbname/database.ocf' is locked by another process, maybe the 
> database is in use by another process. Use the remote mode with a OrientDB 
> server to allow multiple access to the same database.
>
> 3) Connect to database with plocal protocol without the server running:
> orientdb> connect plocal:../databases/dbname root password
>
> Connecting to database [plocal:../databases/dbname] with user 'root'...
> Error: 
> com.orientechnologies.orient.core.exception.OSecurityAccessException: User 
> or password not valid for database: 'dbname'
>
> 4) Ok, use the backup.sh script instead:
>
> $ ./backup.sh  plocal:../databases/dbname root password /tmp/blah.zip
>
>
> Error: 
> com.orientechnologies.orient.core.exception.OSecurityAccessException: User 
> or password not valid for database: 'dbname'
>
>
> In short, is there no way to do a database backup? 
>

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to