我使用的是orientDB社区版本2.2.35和pyorient 1.5.5。
client.db_create(db_name, pyorient.DB_TYPE_GRAPH, pyorient.STORAGE_TYPE_PLOCAL)在启动服务器后,这在本地运行得很好。
但是当我在ec2机器上运行相同的代码时,它抛出了socket.timeout exception。
我最初以为这可能是CORS的问题,但事实并非如此。还有什么问题呢?
发布于 2018-08-14 19:04:59
使用sudo命令运行orientDB服务器已修复此问题。
db_create()试图修改OSystem/dirty.fl文件,但我在服务器日志上得到了权限被拒绝的异常。
FileNotFoundException: /home/ubuntu/orientdb-community-2.2.35/databases/OSystem/dirty.fl (Permission denied)https://stackoverflow.com/questions/51827384
复制相似问题