Service can not start

I have tried WEBrick.

[[email protected] ltw]# ruby script/server WEBrick
=> Booting WEBrick
=> Rails 2.3.3 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2009-08-13 23:55:14] INFO WEBrick 1.3.1
[2009-08-13 23:55:14] INFO ruby 1.8.6 (2008-03-03) [i686-linux]
[2009-08-13 23:55:14] WARN TCPServer Error: Address already in use -
bind(2)
[2009-08-13 23:55:14] INFO WEBrick::HTTPServer#start: pid=4233
port=3000

and no any error. port 3000 is ok. I still got this even I use another
port .

[[email protected] ltw]# ruby script/server WEBrick -p 3213
=> Booting WEBrick
=> Rails 2.3.3 application starting on http://0.0.0.0:3213
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2009-08-14 00:05:21] INFO WEBrick 1.3.1
[2009-08-14 00:05:21] INFO ruby 1.8.6 (2008-03-03) [i686-linux]
[2009-08-14 00:05:21] WARN TCPServer Error: Address already in use -
bind(2)
[2009-08-14 00:05:21] INFO WEBrick::HTTPServer#start: pid=4255
port=3213

and I have tried Mongrel, and got this:

[[email protected] ltw]# mongrel_rails start -p 8000
** Starting Mongrel listening at 0.0.0.0:8000
** Starting Rails with development 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 0.0.0.0:8000
** Use CTRL-C to stop.

both of above can not got the page. Nothing got in the log.

rails 2.3.3
ruby 1.8.6 (2008-03-03 patchlevel 114) [i686-linux]
Linux version 2.6.18-128.4.1.el5PAE ([email protected])
(gcc version 4.1.2 20080704 (Red Hat 4.1.2-44))
mysql Ver 14.12 Distrib 5.0.45, for redhat-linux-gnu (i686) using
readline 5.0
Apache/2.2.3

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs