1

我正在尝试在基于云的 IDE Cloud9上设置 PostgreSQL,但在启动 postgreSQL 服务器、数据库和角色时遇到了麻烦。

Cloud9 文档有名为“设置 PostgreSQL ”的说明,但遵循它们会产生如下所示的错误。

我在一个新的 c9 工作区工作,但我可能在 c9 中做了一些事情(比如升级 pg,在其他工作区启动 pg 服务器等),这也把事情搞砸了。

有人有想法么?

我希望能够很好地设置 pg 的基础知识,以便使用 postgreSQL使用rails_composer设置rails 4.2应用程序。

[my c9 username]:~/workspace $ sudo service postgresql start
 * Starting PostgreSQL 9.3 database server
 * The PostgreSQL server failed to start. Please check the log output:

2015-11-08 13:10:11 UTC FATAL:  could not access private key file  "/etc/ssl/private/ssl-cert-snakeoil.key": Permission denied

   ...fail!

[my c9 username]:~/workspace $ 
4

1 回答 1

1

Got it working! Or I should say, "It's working now."

I'm embarrassed to say that I think the problem is related to having an open browser on my desktop with the same name as the new workspaces I was creating to get this working on my laptop.

I'll leave this question and answer up in case someone else has the same rare scenario and generates the same error message.

于 2015-11-09T23:35:58.160 回答