Skip to content

Instantly share code, notes, and snippets.

@gabeodess
Created April 20, 2010 20:42
Show Gist options
  • Save gabeodess/373044 to your computer and use it in GitHub Desktop.
Save gabeodess/373044 to your computer and use it in GitHub Desktop.
** Daemonized, any open files are closed. Look at log/mongrel.8000.pid and log/mongrel.8000.log for info.
** Starting Mongrel listening at 0.0.0.0:8000
** Initiating groups for "mongrel":"mongrel".
** Changing group to "mongrel".
** Changing user to "mongrel".
** Starting Rails with production environment...
/usr/lib/ruby/1.8/open-uri.rb:88:in `initialize': Permission denied - /var/www/wwwcom/log/production.log (Errno::EACCES)
from /usr/lib/ruby/1.8/open-uri.rb:88:in `open'
from /usr/lib/ruby/1.8/logger.rb:527:in `open_logfile'
from /usr/lib/ruby/1.8/logger.rb:496:in `initialize'
from /usr/lib/ruby/1.8/logger.rb:272:in `initialize'
from /var/www/www.dailymugshot.com/config/environment.rb:29
from /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:47:in `run'
from /var/www/wwwcom/config/environment.rb:26
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:147:in `rails'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:113:in `cloaker_'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/configurator.rb:149:in `listener'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:99:in `cloaker_'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/configurator.rb:50:in `initialize'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:84:in `run'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/command.rb:212:in `run'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281
from /usr/bin/mongrel_rails:19
##appone@App1:/var/www/wwwcom$ cat config/mongrel_cluster.yml
---
user: mongrel
cwd: /var/www/wwwcom
log_file: log/mongrel.log
port: "8000"
environment: production
group: mongrel
#address: 127.0.0.1
pid_file: log/mongrel.pid
servers: 8
##appone@App1:/var/www/wwwcom$ sudo mongrel_rails cluster::start
** Ruby version is not up-to-date; loading cgi_multipart_eof_fix
starting port 8000
** Ruby version is not up-to-date; loading cgi_multipart_eof_fix
starting port 8001
** Ruby version is not up-to-date; loading cgi_multipart_eof_fix
starting port 8002
** Ruby version is not up-to-date; loading cgi_multipart_eof_fix
starting port 8003
** Ruby version is not up-to-date; loading cgi_multipart_eof_fix
starting port 8004
** Ruby version is not up-to-date; loading cgi_multipart_eof_fix
starting port 8005
** Ruby version is not up-to-date; loading cgi_multipart_eof_fix
starting port 8006
** Ruby version is not up-to-date; loading cgi_multipart_eof_fix
starting port 8007
** Ruby version is not up-to-date; loading cgi_multipart_eof_fix
##appone@App1:/var/www/wwwcom$ ps aux | grep mongrel
appone 5380 0.0 0.0 2708 536 pts/0 S+ 21:15 0:00 grep mongrel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment