Welcome to Dream.In.Code
Getting Help is Easy!

Join 132,603 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 932 people online right now. Registration is fast and FREE... Join Now!




Error::EACCES with Mongrel

 
Reply to this topicStart new topic

Error::EACCES with Mongrel, Mongrel dies with permission denied

jeromir
post 7 Jul, 2008 - 12:50 AM
Post #1


New D.I.C Head

*
Joined: 26 Jun, 2008
Posts: 1


My Contributions


Hi all,

I am interested in learning Ruby (package: InstantRails). I installed the instantRails package with no problems. But when I want to start the Mongrel_rails from the InstantRails menu Mongrel dies with error::EACCES. This is obviously a question of acces rules (permission denied). Can anyone tell me where to make which changes in order to get Mongrel and Ruby running (environment: Windows XP) ?

Here are the error messages which can be seen after trying to start Mongrel_rails from the command line:
CODE
C:\Entwicklung\InstantRails-2.0-win\rails_apps\demo_app>mongrel_rails start
** Starting Mongrel listening at 0.0.0.0:3000
C:/Entwicklung/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x8
6-mswin32/bin/../lib/mongrel/tcphack.rb:13:in `listen': Permission denied - list
en(2) (Errno::EACCES)
        from C:/Entwicklung/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mon
grel-1.1.2-x86-mswin32/bin/../lib/mongrel/tcphack.rb:13:in `initialize'
        from C:/Entwicklung/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mon
grel-1.1.2-x86-mswin32/bin/../lib/mongrel.rb:93:in `new'
        from C:/Entwicklung/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mon
grel-1.1.2-x86-mswin32/bin/../lib/mongrel.rb:93:in `initialize'
        from C:/Entwicklung/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mon
grel-1.1.2-x86-mswin32/bin/../lib/mongrel/configurator.rb:139:in `new'
        from C:/Entwicklung/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mon
grel-1.1.2-x86-mswin32/bin/../lib/mongrel/configurator.rb:139:in `listener'
        from C:/Entwicklung/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mon
grel-1.1.2-x86-mswin32/bin/mongrel_rails:99:in `cloaker_'
        from C:/Entwicklung/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mon
grel-1.1.2-x86-mswin32/bin/../lib/mongrel/configurator.rb:50:in `call'
        from C:/Entwicklung/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mon
grel-1.1.2-x86-mswin32/bin/../lib/mongrel/configurator.rb:50:in `initialize'
        from C:/Entwicklung/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mon
grel-1.1.2-x86-mswin32/bin/mongrel_rails:84:in `new'
        from C:/Entwicklung/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mon
grel-1.1.2-x86-mswin32/bin/mongrel_rails:84:in `run'
        from C:/Entwicklung/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mon
grel-1.1.2-x86-mswin32/bin/../lib/mongrel/command.rb:212:in `run'
        from C:/Entwicklung/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mon
grel-1.1.2-x86-mswin32/bin/mongrel_rails:281
        from C:/Entwicklung/InstantRails-2.0-win/ruby/bin/mongrel_rails:19:in `l
oad'
        from C:/Entwicklung/InstantRails-2.0-win/ruby/bin/mongrel_rails:19


Thanks in advance for your help !
Jeromir
User is offlineProfile CardPM

Go to the top of the page

MitkOK
post 7 Jul, 2008 - 01:06 AM
Post #2


D.I.C Regular

Group Icon
Joined: 9 Aug, 2007
Posts: 314



Thanked 12 times

Dream Kudos: 250
My Contributions


I don't know how it's done with Instant Rails, but why don't you install Ruby, and then Rails gem which comes with WEBrick server ? If you want Mongrel, get it after that using rubygems.

This post has been edited by MitkOK: 7 Jul, 2008 - 01:07 AM
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/23/08 02:16AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month