You can probably turn off the ssh debugging -- it makes it hard to see where the error messages are, and is rarely helpful in troubleshooting issues like this. From what I can decipher, though, it looks like the command finished successfully, though with warnings. Make sure your mongrel processes are running before you try to cap deploy, otherwise the restart command has nothing to restart. In general, you'll either want to cold start your mongrels manually, or try and use cap deploy:cold.

- Jamis

On May 14, 2008, at 8:26 AM, nico10gbb wrote:


When I execute : cap deploy:setup it works fine.

But when I execute : cap deploy I have the error with the pid files :

* executing `deploy:restart'
 * executing `mongrel:cluster:restart'
 * executing "mongrel_rails cluster::restart -C /var/www/CoreSong/
current/config/mongrel_cluster.yml"
   servers: ["herd.ida.liu.se"]
D, [2008-05-14T16:17:10.264143 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
queueing packet nr 21 type 90 len 44
D, [2008-05-14T16:17:10.264601 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
sent 120 bytes
D, [2008-05-14T16:17:10.265486 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
read 52 bytes
D, [2008-05-14T16:17:10.266038 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
received packet nr 31 type 91 len 28
I, [2008-05-14T16:17:10.266390 #9621]  INFO --
net.ssh.connection.session[..fdbc0891e]: channel_open_confirmation: 5
1 0 32768
   [herd.ida.liu.se] executing command
I, [2008-05-14T16:17:10.266715 #9621]  INFO --
net.ssh.connection.channel[..fdbbf6372]: sending channel request
"exec"
D, [2008-05-14T16:17:10.267183 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
queueing packet nr 22 type 98 len 124
D, [2008-05-14T16:17:10.267688 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
sent 148 bytes
D, [2008-05-14T16:17:10.289849 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
read 52 bytes
D, [2008-05-14T16:17:10.291432 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
received packet nr 32 type 93 len 28
I, [2008-05-14T16:17:10.292044 #9621]  INFO --
net.ssh.connection.session[..fdbc0891e]: channel_window_adjust: 5
+131072
D, [2008-05-14T16:17:11.204917 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
read 116 bytes
D, [2008-05-14T16:17:11.205252 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
read 52 bytes
D, [2008-05-14T16:17:11.205654 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
received packet nr 33 type 95 len 92
I, [2008-05-14T16:17:11.205905 #9621]  INFO --
net.ssh.connection.session[..fdbc0891e]: channel_extended_data: 5 1
64b
*** [err :: herd.ida.liu.se] ** Ruby version is not up-to-date;
loading cgi_multipart_eof_fix
D, [2008-05-14T16:17:11.206344 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
received packet nr 34 type 95 len 28
I, [2008-05-14T16:17:11.206580 #9621]  INFO --
net.ssh.connection.session[..fdbc0891e]: channel_extended_data: 5 1 1b
*** [err :: herd.ida.liu.se]
D, [2008-05-14T16:17:12.686565 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
read 116 bytes
D, [2008-05-14T16:17:12.687137 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
received packet nr 35 type 95 len 92
I, [2008-05-14T16:17:12.687396 #9621]  INFO --
net.ssh.connection.session[..fdbc0891e]: channel_extended_data: 5 1
64b
*** [err :: herd.ida.liu.se] ** Ruby version is not up-to-date;
loading cgi_multipart_eof_fix
D, [2008-05-14T16:17:12.687671 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
read 52 bytes
D, [2008-05-14T16:17:12.687996 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
received packet nr 36 type 95 len 28
I, [2008-05-14T16:17:12.688230 #9621]  INFO --
net.ssh.connection.session[..fdbc0891e]: channel_extended_data: 5 1 1b
*** [err :: herd.ida.liu.se]
D, [2008-05-14T16:17:13.181973 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
read 116 bytes
D, [2008-05-14T16:17:13.182319 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
read 52 bytes
D, [2008-05-14T16:17:13.182742 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
received packet nr 37 type 95 len 92
I, [2008-05-14T16:17:13.183009 #9621]  INFO --
net.ssh.connection.session[..fdbc0891e]: channel_extended_data: 5 1
68b
*** [err :: herd.ida.liu.se] !!! PID file tmp/pids/mongrel.8000.pid
does not exist.  Not running?
D, [2008-05-14T16:17:13.183302 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
read 184 bytes
D, [2008-05-14T16:17:13.183635 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
received packet nr 38 type 95 len 28
I, [2008-05-14T16:17:13.183872 #9621]  INFO --
net.ssh.connection.session[..fdbc0891e]: channel_extended_data: 5 1 1b
*** [err :: herd.ida.liu.se]
D, [2008-05-14T16:17:13.184283 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
received packet nr 39 type 95 len 108
I, [2008-05-14T16:17:13.184519 #9621]  INFO --
net.ssh.connection.session[..fdbc0891e]: channel_extended_data: 5 1
80b
*** [err :: herd.ida.liu.se] mongrel::stop reported an error. Use
mongrel_rails mongrel::stop -h to get help.
D, [2008-05-14T16:17:13.184926 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
received packet nr 40 type 95 len 28
I, [2008-05-14T16:17:13.185158 #9621]  INFO --
net.ssh.connection.session[..fdbc0891e]: channel_extended_data: 5 1 1b
*** [err :: herd.ida.liu.se]
D, [2008-05-14T16:17:14.180304 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
read 116 bytes
D, [2008-05-14T16:17:14.180641 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
read 52 bytes
D, [2008-05-14T16:17:14.181041 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
received packet nr 41 type 95 len 92
I, [2008-05-14T16:17:14.181294 #9621]  INFO --
net.ssh.connection.session[..fdbc0891e]: channel_extended_data: 5 1
64b
*** [err :: herd.ida.liu.se] ** Ruby version is not up-to-date;
loading cgi_multipart_eof_fix
D, [2008-05-14T16:17:14.181720 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
received packet nr 42 type 95 len 28
I, [2008-05-14T16:17:14.181951 #9621]  INFO --
net.ssh.connection.session[..fdbc0891e]: channel_extended_data: 5 1 1b
*** [err :: herd.ida.liu.se]
D, [2008-05-14T16:17:14.673565 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
read 116 bytes
D, [2008-05-14T16:17:14.674150 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
received packet nr 43 type 95 len 92
I, [2008-05-14T16:17:14.674426 #9621]  INFO --
net.ssh.connection.session[..fdbc0891e]: channel_extended_data: 5 1
68b
*** [err :: herd.ida.liu.se] !!! PID file tmp/pids/mongrel.8001.pid
does not exist.  Not running?
D, [2008-05-14T16:17:14.674704 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
read 236 bytes
D, [2008-05-14T16:17:14.675036 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
received packet nr 44 type 95 len 28
I, [2008-05-14T16:17:14.675277 #9621]  INFO --
net.ssh.connection.session[..fdbc0891e]: channel_extended_data: 5 1 1b
*** [err :: herd.ida.liu.se]
D, [2008-05-14T16:17:14.675726 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
received packet nr 45 type 95 len 108
I, [2008-05-14T16:17:14.675966 #9621]  INFO --
net.ssh.connection.session[..fdbc0891e]: channel_extended_data: 5 1
80b
*** [err :: herd.ida.liu.se] mongrel::stop reported an error. Use
mongrel_rails mongrel::stop -h to get help.
D, [2008-05-14T16:17:14.676379 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
received packet nr 46 type 95 len 28
I, [2008-05-14T16:17:14.676611 #9621]  INFO --
net.ssh.connection.session[..fdbc0891e]: channel_extended_data: 5 1 1b
*** [err :: herd.ida.liu.se]
D, [2008-05-14T16:17:15.593497 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
read 116 bytes
D, [2008-05-14T16:17:15.594081 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
received packet nr 47 type 95 len 92
I, [2008-05-14T16:17:15.594340 #9621]  INFO --
net.ssh.connection.session[..fdbc0891e]: channel_extended_data: 5 1
64b
*** [err :: herd.ida.liu.se] ** Ruby version is not up-to-date;
loading cgi_multipart_eof_fix
D, [2008-05-14T16:17:15.594615 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
read 52 bytes
D, [2008-05-14T16:17:15.594956 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
received packet nr 48 type 95 len 28
I, [2008-05-14T16:17:15.595188 #9621]  INFO --
net.ssh.connection.session[..fdbc0891e]: channel_extended_data: 5 1 1b
*** [err :: herd.ida.liu.se]
D, [2008-05-14T16:17:17.135323 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
read 116 bytes
D, [2008-05-14T16:17:17.135664 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
read 52 bytes
D, [2008-05-14T16:17:17.136063 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
received packet nr 49 type 95 len 92
I, [2008-05-14T16:17:17.136320 #9621]  INFO --
net.ssh.connection.session[..fdbc0891e]: channel_extended_data: 5 1
64b
*** [err :: herd.ida.liu.se] ** Ruby version is not up-to-date;
loading cgi_multipart_eof_fix
D, [2008-05-14T16:17:17.136748 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
received packet nr 50 type 95 len 28
I, [2008-05-14T16:17:17.136986 #9621]  INFO --
net.ssh.connection.session[..fdbc0891e]: channel_extended_data: 5 1 1b
*** [err :: herd.ida.liu.se]
D, [2008-05-14T16:17:17.788851 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
read 116 bytes
D, [2008-05-14T16:17:17.789414 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
received packet nr 51 type 94 len 92
I, [2008-05-14T16:17:17.789668 #9621]  INFO --
net.ssh.connection.session[..fdbc0891e]: channel_data: 5 78b
** [out :: herd.ida.liu.se] stopping port 8000
** [out :: herd.ida.liu.se]
** [out :: herd.ida.liu.se] stopping port 8001
** [out :: herd.ida.liu.se]
** [out :: herd.ida.liu.se] starting port 8000
** [out :: herd.ida.liu.se] starting port 8001
D, [2008-05-14T16:17:17.793079 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
read 140 bytes
D, [2008-05-14T16:17:17.793492 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
received packet nr 52 type 98 len 44
I, [2008-05-14T16:17:17.793746 #9621]  INFO --
net.ssh.connection.session[..fdbc0891e]: channel_request: 5 exit-
status false
D, [2008-05-14T16:17:17.794096 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
received packet nr 53 type 96 len 12
I, [2008-05-14T16:17:17.794287 #9621]  INFO --
net.ssh.connection.session[..fdbc0891e]: channel_eof: 5
D, [2008-05-14T16:17:17.794614 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
received packet nr 54 type 97 len 12
I, [2008-05-14T16:17:17.794806 #9621]  INFO --
net.ssh.connection.session[..fdbc0891e]: channel_close: 5
D, [2008-05-14T16:17:17.795170 #9621] DEBUG -- tcpsocket[..fdbc116c2]:
queueing packet nr 23 type 97 len 28
   command finished


I'm sorry but I am a total beginner in Ruby and Ruby on rails. I try
to follow tutorials on the web but sometimes I don't understand
everything.
I have a question : What is the URL to test the web application from
any machine ?
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to