vince
August 17, 2007, 6:24pm
1
I’m having an odd issue with mongrel cluster 1.0.2 on ubuntu feisty
which I could sure use a hand with:
I’m starting the cluster like this and get no errors
mongrel_rails cluster::start -v
starting port 8000
mongrel_rails start -d -e production -a 127.0.0.1 -c /var/www/cc1 --user
www-data --group www-data -p 8000 -P log/mongrel.8000.pid -l
log/mongrel.8000.log
starting port 8001
mongrel_rails start -d -e production -a 127.0.0.1 -c /var/www/cc1 --user
www-data --group www-data -p 8001 -P log/mongrel.8001.pid -l
log/mongrel.8001.log
starting port 8002
mongrel_rails start -d -e production -a 127.0.0.1 -c /var/www/cc1 --user
www-data --group www-data -p 8002 -P log/mongrel.8002.pid -l
log/mongrel.8002.log
Despite no errors, no mongrels are running:
ps aux | grep mongrel
root 8198 0.0 0.1 3856 584 pts/0 S+ 12:21 0:00 grep
mongrel
Here’s my mongrel_cluster.yml file:
cwd: /var/www/cc1
port: 8000
environment: production
group: www-data
user: www-data
address: 127.0.0.1
pid_file: log/mongrel.pid
servers: 3
/var/www/cc1 is chowned for www-data:www-data
Also, FWIW, mongrel_rails start in my app directory does work…
Thanks in advance…
vince
August 17, 2007, 6:28pm
2
Vince W. wrote:
I’m having an odd issue with mongrel cluster 1.0.2 on ubuntu feisty
which I could sure use a hand with:
[snip]
Despite no errors, no mongrels are running:
ps aux | grep mongrel
root 8198 0.0 0.1 3856 584 pts/0 S+ 12:21 0:00 grep
mongrel
Anything in the log files?
John
vince
August 17, 2007, 6:34pm
3
On 17 Aug 2007, at 17:24, Vince W. wrote:
www-data --group www-data -p 8000 -P log/mongrel.8000.pid -l
log/mongrel.8002.log
port: 8000
environment: production
group: www-data
user: www-data
address: 127.0.0.1
pid_file: log/mongrel.pid
servers: 3
/var/www/cc1 is chowned for www-data:www-data
Also, FWIW, mongrel_rails start in my app directory does work…
With all the same modifiers at the command line?
vince
August 17, 2007, 6:37pm
4
Yikes, the log says it works and all of a sudden it does:
ps aux | grep mongrel
www-data 8239 0.5 9.7 118928 51092 ? S 12:30 0:01
/usr/bin/ruby /usr/bin/mongrel_rails start -d -e production -a
127.0.0.1 -c /var/www/cc1 --user www-data --group www-data -p 8000 -P
log/mongrel.8000.pid -l log/mongrel.8000.log
www-data 8242 0.5 9.3 116852 48980 ? S 12:30 0:01
/usr/bin/ruby /usr/bin/mongrel_rails start -d -e production -a
127.0.0.1 -c /var/www/cc1 --user www-data --group www-data -p 8001 -P
log/mongrel.8001.pid -l log/mongrel.8001.log
www-data 8245 0.5 9.3 116856 48924 ? S 12:30 0:01
/usr/bin/ruby /usr/bin/mongrel_rails start -d -e production -a
127.0.0.1 -c /var/www/cc1 --user www-data --group www-data -p 8002 -P
log/mongrel.8002.pid -l log/mongrel.8002.log
root 8253 0.0 0.1 3856 580 pts/1 S+ 12:35 0:00 grep
mongrel
I must be going insane… sorry for the disturbance and thanks for the
quick responses!
-Vince
On 8/17/07, James McCarthy [email protected] wrote:
starting port 8002
–
support independent business – http://www.buyindie.net/