503 Service Unavailable - Can't access my Rails app

Discussion in 'Ruby/Rails' started by Granny Smith, Oct 17, 2006.

  1. Granny Smith

    Granny Smith Active Member

    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)
  2. xing

    xing LiteSpeed Staff

    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.
  3. Granny Smith

    Granny Smith Active Member

    Stupid me!
    I just forgot to reinstall the Ruby LSAPI:

    A simple hello world app now works. But I think more complex apps will work after having configured them.
  4. xing

    xing LiteSpeed Staff

    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. =)

Share This Page