503 Service Unavailable - Can't access my Rails app

#21
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)
 

xing

LiteSpeed Staff
#22
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.
 
#23
Stupid me!
I just forgot to reinstall the Ruby LSAPI:

/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.
 

xing

LiteSpeed Staff
#24
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. =)
 
Top