English 中文(简体)
Nginx + Thin 套接字权限错误
原标题:Nginx + Thin socket permission error == Bad Gateway

我有过Nginx & amp; Thin 在 Ubuntu 10. 04 上很好地播放了几年。 我在 / etc/ init. d 中有一个脚本, 以 / etc/ int. 中的一些.yml 文件开始显示 Thin 。

突然重新启动丁因任何原因导致Nginx的许可被拒绝错误。

丁字在 / tmp 中的几个插座上运行, 由 root 拥有。 我不知道是否总是这样... 但如果我把插座的主人换成 www- data (Nginx 使用) 一切正常。 所以我写了另一个脚本来处理它 。

丁正在运行 v1.2.7, Nginx 是 0.7.65 。 也没有改变 。 我从 1.9. 2 p290 升至 Ruby 1.9. 3p194 。

还有谁有这个问题吗? 你有没有找到比"手工"更新许可 更合理的解决办法?

最佳回答

升级到1.3.1解决了这个问题。我本应该马上尝试的,但我和一个中转服务器有问题。

总之 也许这能帮别人

问题回答

暂无回答




相关问题
Not authorized to write to this feed

I am calling service.insert(new URL(getContentFeedUrl()), newAttachment); for Google sites file upload using MediaStreamSource in servlet and get following exception com.google.gdata.util....

php javascript permissions problem

Kind of a weird problem... not something ive ever run into before. So, i am using CKeditor, and am creating the upload and browse functions for users to upload and use images in the rich text editor. ...

Limiting Access by Permission

thanks for viewing this. I have a db that has users, roles & user_roles. What I am trying to achieve is a login that will select users who have Admin or Associate permissions. The login then uses ...

SQL Agent not kicking off an SSIS package

I have a server that has a SQL Agent job setup to run a two part datawarehouse build and Analysis Services cube build. The job ran successfully until there was a problem with Management Studio and ....

SharePoint : web service permission error

I have a sharepoint site, and I am calling a standard sharepoint web service. I create the web service request like this : wsDws.Url = this.SiteAddress + @"/_vti_bin/Dws.asmx"; When I use ...

热门标签