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

Go Back   LiteSpeed Support Forums > External Applications > Ruby/Rails > 503 Service Unavailable - Can't access my Rails app

Reply
 
Thread Tools Display Modes
  #21  
Old 10-24-2006, 09:11 AM
Granny Smith Granny Smith is offline
Member
 
Join Date: Oct 2006
Posts: 28
I created the new user and reinstalled LiteSpeed, but the problem is the same.
Which rights does the user have to have? Or what settings?

(Just to keep in mind: I'm running Suse 9.3)
Reply With Quote
  #22  
Old 10-24-2006, 12:33 PM
xing xing is offline
LiteSpeed Staff
 
Join Date: Oct 2003
Location: Los Angeles, California
Posts: 380
This is another classic case of "the solution is so obviously you would slap yourself afterwardss".

1) First of all, the distro is the not the problem.

2) You created a new user just for LiteSpeed.

3) Reinstalled LiteSpeed and entered the new user as the desired user, and user group when asked by installer.

4) Executed "chown -R lsws:lsws myrubyappfolder".

5) Start litespeed as root.

Check to see if you did all above and let me know what errors are logged in log/ folder if any. Also check log folder under ruby app folder.
Reply With Quote
  #23  
Old 10-25-2006, 01:01 PM
Granny Smith Granny Smith is offline
Member
 
Join Date: Oct 2006
Posts: 28
Stupid me!
I just forgot to reinstall the Ruby LSAPI:

Quote:
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- lsapi (MissingSourceFile)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in `require'
from /opt/lsws/fcgi-bin/RailsRunner.rb:6
A simple hello world app now works. But I think more complex apps will work after having configured them.
Reply With Quote
  #24  
Old 10-25-2006, 01:38 PM
xing xing is offline
LiteSpeed Staff
 
Join Date: Oct 2003
Location: Los Angeles, California
Posts: 380
Good to know your install problem has been fixed.

Almost 100% of the time when the problem become so complex, it usually the most obvious thing that we overlooked. =)
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 04:24 PM.



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