I''m getting 500 errors on my production server running Passenger. I cannot, for the life of me, find out what the problem is. Everything works fine on my local machine. However, on my production machine, I can''t even get logs since I don''t know where Passenger keeps the logs. So I''m scrolling through the production.log on the production server, which seems to be endless. Is there an easier way to find out what went wrong?
Use tail command to see the last line changes of your production.log file. "tail -f log/production.log" Reproduce the error again. Now you can see the actual error in the log file. On Tue, May 5, 2009 at 11:30 AM, Mike C <snibble-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I''m getting 500 errors on my production server running Passenger. I > cannot, for the life of me, find out what the problem is. Everything > works fine on my local machine. However, on my production machine, I > can''t even get logs since I don''t know where Passenger keeps the logs. > So I''m scrolling through the production.log on the production server, > which seems to be endless. Is there an easier way to find out what > went wrong? > > >-- With regards, Arunkumar B. 9789980534. http://thinkingrails.blogspot.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
What platform/OS are you using for production? What database. Inquiring minds want to know. :) Cheers-- Charles On Tue, May 5, 2009 at 1:00 AM, Mike C <snibble-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I''m getting 500 errors on my production server running Passenger. I > cannot, for the life of me, find out what the problem is. Everything > works fine on my local machine. However, on my production machine, I > can''t even get logs since I don''t know where Passenger keeps the logs. > So I''m scrolling through the production.log on the production server, > which seems to be endless. Is there an easier way to find out what > went wrong? > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi, the problem has been fixed but I was basically shooting in the dark and happened to get a hit. I''m using Debian 5.0 with MySQL 5 for my production. How does Passenger keep its logs, if any? On May 5, 7:20 am, Charles Johnson <gm.johns...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> What platform/OS are you using for production? What database. Inquiring > minds want to know. :) > Cheers-- > > Charles > > On Tue, May 5, 2009 at 1:00 AM, Mike C <snib...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > I''m getting 500 errors on my production server running Passenger. I > > cannot, for the life of me, find out what the problem is. Everything > > works fine on my local machine. However, on my production machine, I > > can''t even get logs since I don''t know where Passenger keeps the logs. > > So I''m scrolling through the production.log on the production server, > > which seems to be endless. Is there an easier way to find out what > > went wrong?
Try your apache error logs, as well as your system logs. Cheers-- Charles On Tue, May 5, 2009 at 12:35 PM, Mike C <snibble-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hi, the problem has been fixed but I was basically shooting in the > dark and happened to get a hit. I''m using Debian 5.0 with MySQL 5 for > my production. How does Passenger keep its logs, if any? > > On May 5, 7:20 am, Charles Johnson <gm.johns...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > What platform/OS are you using for production? What database. Inquiring > > minds want to know. :) > > Cheers-- > > > > Charles > > > > On Tue, May 5, 2009 at 1:00 AM, Mike C <snib...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > I''m getting 500 errors on my production server running Passenger. I > > > cannot, for the life of me, find out what the problem is. Everything > > > works fine on my local machine. However, on my production machine, I > > > can''t even get logs since I don''t know where Passenger keeps the logs. > > > So I''m scrolling through the production.log on the production server, > > > which seems to be endless. Is there an easier way to find out what > > > went wrong? > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I did take a look in my apache logs and it only seemed to log warnings; I didn''t see anything that pertained to the error or exception I got. On May 5, 12:36 pm, Charles Johnson <gm.johns...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Try your apache error logs, as well as your system logs. > Cheers-- > > Charles > > On Tue, May 5, 2009 at 12:35 PM, Mike C <snib...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Hi, the problem has been fixed but I was basically shooting in the > > dark and happened to get a hit. I''m using Debian 5.0 with MySQL 5 for > > my production. How does Passenger keep its logs, if any? > > > On May 5, 7:20 am, Charles Johnson <gm.johns...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > What platform/OS are you using for production? What database. Inquiring > > > minds want to know. :) > > > Cheers-- > > > > Charles > > > > On Tue, May 5, 2009 at 1:00 AM, Mike C <snib...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > I''m getting 500 errors on my production server running Passenger. I > > > > cannot, for the life of me, find out what the problem is. Everything > > > > works fine on my local machine. However, on my production machine, I > > > > can''t even get logs since I don''t know where Passenger keeps the logs. > > > > So I''m scrolling through the production.log on the production server, > > > > which seems to be endless. Is there an easier way to find out what > > > > went wrong?
Try the Phusion site and see if the online docs are helpful. I have always been able to diagnose problems with the rails log files coupled with the apache logs. Sorry. :( Cheers-- Charles On Tue, May 5, 2009 at 3:02 PM, Mike C <snibble-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I did take a look in my apache logs and it only seemed to log > warnings; I didn''t see anything that pertained to the error or > exception I got. > > On May 5, 12:36 pm, Charles Johnson <gm.johns...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Try your apache error logs, as well as your system logs. > > Cheers-- > > > > Charles > > > > On Tue, May 5, 2009 at 12:35 PM, Mike C <snib...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > Hi, the problem has been fixed but I was basically shooting in the > > > dark and happened to get a hit. I''m using Debian 5.0 with MySQL 5 for > > > my production. How does Passenger keep its logs, if any? > > > > > On May 5, 7:20 am, Charles Johnson <gm.johns...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > What platform/OS are you using for production? What database. > Inquiring > > > > minds want to know. :) > > > > Cheers-- > > > > > > Charles > > > > > > On Tue, May 5, 2009 at 1:00 AM, Mike C <snib...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > I''m getting 500 errors on my production server running Passenger. I > > > > > cannot, for the life of me, find out what the problem is. > Everything > > > > > works fine on my local machine. However, on my production machine, > I > > > > > can''t even get logs since I don''t know where Passenger keeps the > logs. > > > > > So I''m scrolling through the production.log on the production > server, > > > > > which seems to be endless. Is there an easier way to find out what > > > > > went wrong? > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---