Thanks for the workaround. This should be helpful to people. I'll look
into the source of the issue soon, hopefully we can get it fixed and
checked in.

On Apr 1, 2:45 pm, Mr_Tibs <[email protected]> wrote:
> It's been a week and nobody replied. I found out that there is a
> problem in bootloader.rb. See 
> post:http://groups.google.com/group/merb/t/86bc9828a1d7e60c
>
> Until I find out what the problem is, here is my capistrano stop
> recipe for those who have the same problem (I did see at least another
> post on the same issue):
>
> desc 'stop merb cluster'
> task :stop_merb do
>   master_pid_filename = "#{latest_release}/log/merb.main.pid"
>   master_pid = nil
>   if file_exists?(master_pid_filename)
>     run "cat #{latest_release}/log/merb.main.pid" do |channel, stream,
> data|
>       master_pid = data
>     end
>   end
>
>   # graceful stop
>   run "cd #{latest_release}; bin/merb -K all"
>
>   run "kill -9 #{master_pid}" if master_pid
> end
>
> def file_exists?(filename)
>   begin
>     run "ls #{filename}"
>     return true
>   rescue
>     return false
>   end
> end
>
> Tiberiu Motoc
>
> On Mar 27, 5:14 pm, Mr_Tibs <[email protected]> wrote:
>
> > Hi,
>
> > I can't get the "merb -K all" command to work on my production server
> > (CentOS 5.2). It does work on my development machine (Ubuntu Gutsy). I
> > am using the same user to start&stop.
> > What problem could it be?
>
> > Thanks,
> > Tiberiu
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to