Hey everyone,
I am trying to set my rails app up folowing the "From the beginning"
guide. So far I have been able to solve all problems that I
encountered, however now I don't really know what I am doing wrong. I
searched this group but could find anything that quite fitted my
problem:
I am at the point where I issue a "cap deploy:start" and receive the
output:
** [out :: myserver.net] => Starting mongrel dispatchers
** [out :: myserver.net] Checking if something is already running on
127.0.0.1:8000...NO
** [out :: myserver.net] Starting dispatcher on port: 127.0.0.1:8000
command finished
If I now log into my server via ssh and do a "ps aux | grep mongrel",
I can see that mongrel is not running.
I am running Ubuntu 8.04 LTS and installed mongrel via apt-get install
mongrel. I tried to run mongrel manually via "mongrel_rails start -d",
which complains about the paths for log and pid not being correct.
Could this be the problem for capistrano aswell? Do I understand
correctly that "cap deploy:start" should start mongrel, or do I have
to care about that aforehand?
I already did have quite some problems with the paths, as I used
generate_nginx_conf to configure my nginx webserver, but installed
nginx via "apt-get install nginx", which obviously installs into /etc/
nginx but leaves the config path set to /usr/local/nginx/conf, so I
had to manually change all relative paths in the nginx conf to their
correct absolute counterparts.
I also read a couple of time mongrel_cluster. Is this yet something
else than mongrel and should I have it installed? I tried to find it
via "apt-cache search mongrel" but there was just mongrel and a couple
others that did not have "cluster" in them.
Ok, my server setup is:
Ubuntu 8.04 LTS
nginx 0.5.33
Mongrel Web Server 1.1.5
ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]
Rails 2.2.2
git version 1.5.4.3
Capistrano
On my local machine runs:
OS X Leopard
Capistrano v2.5.5
If you need any more info, I'll gladly provide it.
Please be easy on me - this is the first server I have gotten my hands
on to...
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---