Hi ,
I am a newbie to RoR. When I start mongrel_rails , I can access my app.
on
http://localhost:3000 fine. However, when I start the mongrelcluster,
I cannot access it on http://localhost:3001 (which is what ideally be
the
case?). I don’t see any errors in the logs as well:
/opt/blog/log]# ps -aef|grep mong
root 5043 11457 0 22:26:53 ? 0:01 /opt/local/bin/ruby18
/opt/local/bin/mongrel_rails start -d
root 4728 11457 0 22:24:52 ? 0:01 /opt/local/bin/ruby18
/opt/local/bin/mongrel_rails start -d -e production -a 12
root 4725 11457 0 22:24:52 ? 0:02 /opt/local/bin/ruby18
/opt/local/bin/mongrel_rails start -d -e production -a 12
opt/blog/log]# ll
total 50
-rw-rw-rw- 1 root root 16786 Jun 24 22:29 development.log
-rw-rw-rw- 1 root root 1079 Jun 24 22:24 mongrel.3000.log
-rw-rw-rw- 1 root root 1079 Jun 24 22:24 mongrel.3001.log
-rw-rw-rw- 1 root root 1023 Jun 24 22:26 mongrel.log
-rw-r–r-- 1 root root 4 Jun 24 22:26 mongrel.pid
-rw-rw-rw- 1 root root 0 Jun 24 21:40 production.log
-rw-rw-rw- 1 root root 0 Jun 24 21:40 server.log
-rw-rw-rw- 1 root root 0 Jun 24 21:40 test.log
/opt/blog/log]# tail -f mongrel.3001.log
** TERM signal received.
** Daemonized, any open files are closed. Look at
tmp/pids/mongrel.3001.pid
and log/mongrel.3001.log for info.
** Starting Mongrel listening at 127.0.0.1:3001
** Starting Rails with production environment…
** Rails loaded.
** Loading any Rails specific GemPlugins
** Signals ready. TERM => stop. USR2 => restart. INT => stop (no
restart).
** Rails signals registered. HUP => reload (without restart). It might
not
work well.
** Mongrel 1.1.5 available at 127.0.0.1:3001
** Writing PID file to tmp/pids/mongrel.3001.pid
Can you please suggest what I am doing wrong?
Thanks,
Sri