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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > uid, gid warnings, and vhosts not showing up in panel

Reply
 
Thread Tools Display Modes
  #1  
Old 11-19-2006, 07:23 PM
djsodom djsodom is offline
Member
 
Join Date: Sep 2006
Posts: 37
Default uid, gid warnings, and vhosts not showing up in panel

Hi,

I'm experimenting with running litespeed on Amazon's EC2. I have a couple of basic questions.

Preliminary Stuff:

I installed litespeed (as root I believe) and was able to create a virtual host using the EasyRailswithSuEXEC. I was able to get to the welcome screen of my rails app.

Now some EC2 stuff. I bundled my AMI image so I could keep using it. Saved it to s3, registered it, and then restarted it. No problems.

When I restart my EC2 instance and restart litespeed, I can still access the admin panel and my rails app. I'm logged in as root.

Problems:
1. I am getting a couple of warnings that my uid and gid are smaller than minimum. I tried changing it from 11 & 10 to 0, but got error messages saying its got to be at least 11 and 10. How can I satisfy this error message?

2. though I successfully created my virtual host using the EasyRailsWithSuEXEC, I don't see it anywhere under server configuration nor do I see the listener. Is this normal?

3. Forgive me. I'm a noob regarding permissions. Should I have installed litespeed as a non-root account and then run it under that account? I've searched the forums and wiki and just got more confused.

thanks very much,

Steve
Reply With Quote
  #2  
Old 11-20-2006, 10:30 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
It will be the best, if you create a dedicate user/group like "lsws/lsws" for running just LiteSpeed Web Server. Makde sure the UID and GID is greater than 10. This may fix your 1st and 3rd problem.

Please pay attention to the UID/GID of public/ folder of you rails app, should not owned by root, should be owned by a normal user. This may be related to you first question.

For creating vhost through template, if you want to see the vhost config and listener mapping, you can instantiate the vhost.
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:07 PM.



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