集思博客

集思博客,(www.gisblogs.net)用心记录我的成长历程,留下技术的沉淀……

« PowerShell是什么? PowerShell简介PHP与JAVA开发的AO系统优缺点比较分析 »

mongrel启动错误

公司的web服务器要变更。

把原来的网站转移到另一台服务器上,配置好nginx的nginx.conf文件,到web目录启动mongrel

正常启动,但是访问不了,检查日志里PID文件,说明没有生成

停止mongrel

发生如下错误

www# mongrel_rails cluster::stop
ps: Process environment requires procfs(5)
ps: Process environment requires procfs(5)
already stopped port 8030
ps: Process environment requires procfs(5)
ps: Process environment requires procfs(5)
already stopped port 8031
ps: Process environment requires procfs(5)
ps: Process environment requires procfs(5)
already stopped port 8032
ps: Process environment requires procfs(5)
ps: Process environment requires procfs(5)
already stopped port 8033
 

后来一查,是转移的目录所有权是root:wheel

把目录的权限改为mongrel:mongrel

再启动没有问题

以其也遇到过这样的问题,自己忘了,今天特地写下来。

  • 相关文章:

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

日历

最新评论及回复

最近发表

Powered By Z-Blog 1.8 Spirit Build 80605 Code detection by Codefense  theme by BokeZhuti

Copyright 2007-2008 集思博客 www.gisblogs.net 备案号:粤ICP备07051728号 联系QQ:6390514