Hi All,

Trying to get a Sails.js application hosted in AWS Elastic Beanstalk to 
connect/create a database on a private EC2 AMI instance with OrientDb.

I keep getting the error message below.  I have set the Sails Model Migrate 
to create, safe and alter without any luck.  

It is using https://www.npmjs.com/package/sails-orientdb for connecting.

Any suggestion on why this is happening or where to look would be helpful.

Regards

Richard....


A hook (`orm`) failed to load!
OrientDB.RequestError: Cannot create new storage 
'plocal:/opt/orientdb-community-2.1.2/databases/srp3' because it is not closed
    at Operation.parseError 
(/var/app/current/node_modules/orientjs/lib/transport/binary/protocol28/operation.js:879:13)
    at Operation.consume 
(/var/app/current/node_modules/orientjs/lib/transport/binary/protocol28/operation.js:469:35)
    at Connection.process 
(/var/app/current/node_modules/orientjs/lib/transport/binary/connection.js:380:17)
    at Connection.handleSocketData 
(/var/app/current/node_modules/orientjs/lib/transport/binary/connection.js:281:17)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
    at readableAddChunk (_stream_readable.js:146:16)
    at Socket.Readable.push (_stream_readable.js:110:10)
    at TCP.onread (net.js:523:20) { [OrientDB.RequestError: Cannot create new 
storage 'plocal:/opt/orientdb-community-2.1.2/databases/srp3' because it is not 
closed]
  name: 'OrientDB.RequestError',
  message: 'Cannot create new storage 
\'plocal:/opt/orientdb-community-2.1.2/databases/srp3\' because it is not 
closed',
  data: {},
  previous: 
   [ { [OrientDB.RequestError: Cannot create database 'srp3']
       name: 'OrientDB.RequestError',
       message: 'Cannot create database \'srp3\'',
       data: {},
       type: 'com.orientechnologies.orient.core.exception.ODatabaseException' } 
],
  id: 1,
  type: 'com.orientechnologies.orient.core.exception.OStorageException',
  hasMore: 1 }

-- 

--- 
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