Hi,
this is the first time i try to set up a testserver mainly following
this great tutorial “Debian On Rails : Apache 2.2 + MySQL + Ruby +
Rails + PHP + Mongrel + Mongrel_cluster + Subversion + Trac +
Capistrano” at
http://www.stoneageblog.com/articles/2007/01/11/debian-on-rails-apache-2-2-mysql-ruby-rails-php-mongrel-mongrel_cluster-subversion-trac-capistrano/
So far I ve got everything working up to the “cap setup” commmand and am
now having big, big trouble with “cap deploy” and am allways ending up
with:
- executing task restart
- executing “sudo /var/rails/xyz/current/script/process/reaper”
servers: [“xyz.com”]
[xyz.com] executing command
** [out :: xyz.com] sudo:
** [out :: xyz.com] /var/rails/xyz/current/script/process/reaper:
command not found
command finished
command “sudo /var/rails/xyz/current/script/process/reaper” failed on
xyz.com
Ok, so far I can tell:
ls -la on that file results in:
-rw-rw-r-- 1 matthi matthi 108 2007-04-30 02:57
/var/rails/xyz/current/script/process/reaper
Trying…
/var/rails/servipuja/current/script/process/reaper results in -bash:
/var/rails/servipuja/current/script/process/reaper: Permission denied
chmod 755 /var/rails/servipuja/current/script/process/reaper and trying
to run this manually results in:
Couldn’t find any pid file in ‘/var/rails/xyz/current/tmp/pids’ matching
‘dispatch.[0-9]*.pid’
(also looked for processes matching
“/var/rails/xyz/current/public/dispatch.fcgi”)
SO, by no means I am an unixprof nor anything, but first question is,
why isnt the reaper executable when cap is “creating” it and should it
be at all or do I have another problem ??
I tried to explain this as detailed as I can and hope someone came
across this stuff and can help me out
best regards
matthi