LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > Ruby/Rails > Debugging an app running via LSAPI

Reply
 
Thread Tools Display Modes
  #1  
Old 02-09-2007, 08:10 PM
benlm benlm is offline
New Member
 
Join Date: Feb 2007
Posts: 2
Default Debugging an app running via LSAPI

Hi,

We've been deploying a bunch of rails apps via LSAPI, and until now things have went smoothly.

However, there's one aplication that doesn't seem to work. After setting it up, I attempt to bring up the website and it just times out. I've checked the LSWS vhost log and the rails production.log, neither of which show anything at all.

Running the application in mongrel works fine, and loading it up in the console shows no errors.

I'm sure it's something relatively simple, but I can't even get any log output. I tried setting the log levels to debug, but it didn't make a difference.

Any ideas?
Reply With Quote
  #2  
Old 02-09-2007, 08:15 PM
benlm benlm is offline
New Member
 
Join Date: Feb 2007
Posts: 2
Hah. Not a minute after posting that I found the stderr.log file which shows the exact information I need. I've now found the problem and can fix it.

So an FYI for anyone else in a similar position:

# tail -f /opt/lsws/logs/stderr.log

(assuming LSWS is installed in /opt/lsws)
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:13 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.