From lists at ruby-forum.com Wed May 13 04:07:05 2009 From: lists at ruby-forum.com (Gokul Cv) Date: Wed, 13 May 2009 10:07:05 +0200 Subject: [Mongrel] Unabe to restart mongrel Message-ID: <0abb74f11469368363ca49d6cd51ae16@ruby-forum.com> Hello, I have upgraded my Redmine installation for my ite using SVN. After that i have restarted mongrel and it failed. It is never starting again. ====================== I used this command -- mongrel_rails start -d The error reported is :-- !!! Path to log file not valid: log/mongrel.log !!! PID file log/mongrel.pid does not exist. Not running? The mongrel.log file and mongrel.pid file are present in :-- /home/cwleader/redmine-0.8/log/ So, pid file do exist. My port where mongrel is acting up is 3000. =========================== ------------- I also used the exhaustive command -- mongrel_rails start -e production -p 3000 -d -l /home/cwleader/redmine-0.8/log ------------- It specifies the port and full path of pid and mongrel log. Still error appears. Iam stuck now. Please advice. Thank you. Regards, Gokul -- Posted via http://www.ruby-forum.com/. From lists at ruby-forum.com Thu May 14 13:54:26 2009 From: lists at ruby-forum.com (Ryan Glover) Date: Thu, 14 May 2009 19:54:26 +0200 Subject: [Mongrel] mongrel server core dump on Sun Solaris In-Reply-To: <5801C7961B62634F9D3513FBFC860C6C03073901@CCHSCLEXMB55.cc.ad.cchs.net> References: <5801C7961B62634F9D3513FBFC860C6C03073901@CCHSCLEXMB55.cc.ad.cchs.net> Message-ID: Liao, Did you ever figure this out? I am having this same issue and can not figure it out. -- Posted via http://www.ruby-forum.com/. From wyhaines at gmail.com Thu May 14 14:20:59 2009 From: wyhaines at gmail.com (Kirk Haines) Date: Thu, 14 May 2009 12:20:59 -0600 Subject: [Mongrel] mongrel server core dump on Sun Solaris In-Reply-To: References: <5801C7961B62634F9D3513FBFC860C6C03073901@CCHSCLEXMB55.cc.ad.cchs.net> Message-ID: On Thu, May 14, 2009 at 11:54 AM, Ryan Glover wrote: > Liao, > > Did you ever figure this out? I am having this same issue and can not > figure it out. Use gdb to get a stack trace and see where the code is at when it crashes. If this happens reliably, you might also use strace to trace what is happening right before it dumps core. Kirk Haines From lists at ruby-forum.com Fri May 15 08:03:12 2009 From: lists at ruby-forum.com (Ryan Glover) Date: Fri, 15 May 2009 14:03:12 +0200 Subject: [Mongrel] mongrel server core dump on Sun Solaris In-Reply-To: References: <5801C7961B62634F9D3513FBFC860C6C03073901@CCHSCLEXMB55.cc.ad.cchs.net> Message-ID: Kirk Haines wrote: > On Thu, May 14, 2009 at 11:54 AM, Ryan Glover > wrote: >> Liao, >> >> Did you ever figure this out? I am having this same issue and can not >> figure it out. > > Use gdb to get a stack trace and see where the code is at when it > crashes. > > If this happens reliably, you might also use strace to trace what is > happening right before it dumps core. > > > Kirk Haines When I do mongrel_rails start the first request to the server goes off w/o a hitch. However, the second request to the server seems to time out and core dumps. Running truss mongrel_rails start results in the same behaviour and truss output ends with Incurred fault #6, FLTBOUNDS %pc = 0xFEE7EE96 siginfo: SIGSEGV SEGV_MAPERR addr=0x8A24EE70 Received signal $11, SIGSEGV [caught] siginfo: SIGSEGV SEGV_MAPERR addr=0x8A24E270 -- Posted via http://www.ruby-forum.com/. From lists at ruby-forum.com Fri May 15 09:29:53 2009 From: lists at ruby-forum.com (Ryan Glover) Date: Fri, 15 May 2009 15:29:53 +0200 Subject: [Mongrel] mongrel server core dump on Sun Solaris In-Reply-To: References: <5801C7961B62634F9D3513FBFC860C6C03073901@CCHSCLEXMB55.cc.ad.cchs.net> Message-ID: <3a3d27cd2ac97948fc4dc16cb1f7853b@ruby-forum.com> Ryan Glover wrote: > When I do mongrel_rails start the first request to the server goes off > w/o a hitch. However, the second request to the server seems to time out > and core dumps. > > Running truss mongrel_rails start results in the same behaviour and > truss output ends with > > Incurred fault #6, FLTBOUNDS %pc = 0xFEE7EE96 > siginfo: SIGSEGV SEGV_MAPERR addr=0x8A24EE70 > Received signal $11, SIGSEGV [caught] > siginfo: SIGSEGV SEGV_MAPERR addr=0x8A24E270 #pstack core ends with these lines fee85c45 rb_f_load (1, 8047750, 80903b4, fee7e4a4) + 5ad fee7ed9a rb_call0 (80916b0, 80903b4, 25c1, 25c1, 1, 8047750) + 916 fee7fade rb_call1 (80916b0, 80903b4, 25c1, 1, 8047750, 1) + 346 fee6e12 rb_eval (80903b4, 8080770, fed6b090, fee665b5) + 2270 fee666bb ruby_run (29, fed6ed18, 80507f7, feffa840, 8047c78, feffa840) + 117 080507e9 ???????? (3, 8047cbc, 8047ccc, fed6c6c0) 0805071d _start (3, 8047d8c, 8047da4, 0, 8047dcb) + 7d -- Posted via http://www.ruby-forum.com/. From dsusco at gmail.com Wed May 20 12:17:16 2009 From: dsusco at gmail.com (David Susco) Date: Wed, 20 May 2009 12:17:16 -0400 Subject: [Mongrel] using the mongrel_cluster init.d script with camping apps? Message-ID: <1bd79b4a0905200917j4806c460p911e4100edd2f700@mail.gmail.com> Can the init.d file (mongrel_cluster-1.0.5/resources/mongrel_cluster) be used to launch Camping apps as well? It looks like it just gets the yaml files from the conf directory and starts up the mongrels using those. All of my server config is in my camping postamble though, so I'm a little confused on how to get the two to work together if they can. Simply put, I want to automate the starting of my camping apps. Thanks, Dave From lists at ruby-forum.com Thu May 21 08:29:18 2009 From: lists at ruby-forum.com (Narayan Barua) Date: Thu, 21 May 2009 14:29:18 +0200 Subject: [Mongrel] Mongrel pids disappearing? Message-ID: I reinstalled mongrel on my Sun Solaris box and the problem disappeared. -- Posted via http://www.ruby-forum.com/. From lists at ruby-forum.com Sat May 30 07:23:18 2009 From: lists at ruby-forum.com (Michael ..) Date: Sat, 30 May 2009 13:23:18 +0200 Subject: [Mongrel] mongrel cluster with prefix Message-ID: If i try to start mongrel_cluster with a prefix a receive this error message. /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:440:in `load_missing_constant': uninitialized constant ActionController::AbstractRequest (NameError) Without a prefix Mongrel Cluster works fine. Can anyone help me. thanks Michael -- Posted via http://www.ruby-forum.com/. From nicholson.roy at gmail.com Sun May 31 08:33:53 2009 From: nicholson.roy at gmail.com (Roy Nicholson) Date: Sun, 31 May 2009 08:33:53 -0400 Subject: [Mongrel] mongrel cluster with prefix In-Reply-To: References: Message-ID: <4A227931.7020907@gmail.com> On 5/30/09 7:23 AM, Michael .. wrote: > If i try to start mongrel_cluster with a prefix a receive this error > message. > > /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:440:in > `load_missing_constant': uninitialized constant > ActionController::AbstractRequest (NameError) > > Without a prefix Mongrel Cluster works fine. > > Can anyone help me. > > thanks > Michael > Michael, I had the same problem awhile back too when I upgraded an app to rails 2.2.2 from 2.1.0. To fix it I applied this patch - http://mongrel.rubyforge.org/attachment/ticket/45/fix_relative_url_root_rails_2.1.1.patch to mongrel in order to get it to work with the --patch option. -Roy