# Service can not start

**URL:** <https://www.ruby-forum.com/t/service-can-not-start/173714>\
**Category:** Rails\
**Created:** [August 13, 2009, 6:18pm UTC](https://www.ruby-forum.com/t/service-can-not-start/173714 "2009-08-13T18:18:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jasonwold](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e36b37/32.png) [@jasonwold](https://www.ruby-forum.com/u/jasonwold)\
**Post date:** [August 13, 2009, 6:18pm UTC](https://www.ruby-forum.com/t/service-can-not-start/173714/1 "2009-08-13T18:18:22Z")

</div>

I have tried WEBrick.

[root@localhost ltw]# ruby script/server WEBrick  
=\> Booting WEBrick  
=\> Rails 2.3.3 application starting on [http://0.0.0.0:3000](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 .

[root@localhost ltw]# ruby script/server WEBrick -p 3213  
=\> Booting WEBrick  
=\> Rails 2.3.3 application starting on [http://0.0.0.0:3213](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:

[root@localhost 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 (removed\_email\_address@domain.invalid)  
(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
