Hi,
When I installed lsws I told it to start on reboot. However, I'm experimenting with Amazon's ec2 and lsws does not start when I launch an instance.
I'm trying to use a capistrano script to start the lsws server. Here is my part of that task:
When it tries to start lswsctrl it returns the error:
"Can't determine the Home of LiteSpeed Web Server, exit!"
It seems like a permission problem. My capistrano user is "steveodom". Litespeed was set up to run as user "lsws". user "steveodom" has full sudo permissions.
Any suggestions of how I can allows 'steveodom" to start/stop lsws.
Thanks,
Steve
When I installed lsws I told it to start on reboot. However, I'm experimenting with Amazon's ec2 and lsws does not start when I launch an instance.
I'm trying to use a capistrano script to start the lsws server. Here is my part of that task:
desc "Patch the EC2 instance with any updates"
task atch_server, :roles => :app do
sudo <<-CMD
/sbin/service mysqld start && /opt/lsws/bin/lswsctrl start
CMD
task atch_server, :roles => :app do
sudo <<-CMD
/sbin/service mysqld start && /opt/lsws/bin/lswsctrl start
CMD
"Can't determine the Home of LiteSpeed Web Server, exit!"
It seems like a permission problem. My capistrano user is "steveodom". Litespeed was set up to run as user "lsws". user "steveodom" has full sudo permissions.
Any suggestions of how I can allows 'steveodom" to start/stop lsws.
Thanks,
Steve