All of a sudden one day, we are getting "The website cannot display the page" message in our browser. It was working previously, and I have no clue why this is happening. I suspect some corruption. I have tried upgrading Ruby and Instiki. Upon running the instiki.bat file (ruby c:\instiki\instiki.rb), I get the following: C:\Documents and Settings\pele\Desktop>ruby c:\reference_wiki\instiki.rb => Instiki started on http://0.0.0.0:2500 => Ctrl-C to shutdown; call with --help for options [2007-04-24 13:50:40] INFO WEBrick 1.3.1 [2007-04-24 13:50:40] INFO ruby 1.8.6 (2007-03-13) [i386-mswin32] [2007-04-24 13:50:40] WARN TCPServer Error: Bad file descriptor - bind(2) c:/ruby/lib/ruby/1.8/webrick/utils.rb:73:in `initialize'': Bad file descriptor - bind(2) (Errno::EBADF) from c:/ruby/lib/ruby/1.8/webrick/utils.rb:73:in `new'' from c:/ruby/lib/ruby/1.8/webrick/utils.rb:73:in `create_listeners'' from c:/ruby/lib/ruby/1.8/webrick/utils.rb:70:in `each'' from c:/ruby/lib/ruby/1.8/webrick/utils.rb:70:in `create_listeners'' from c:/ruby/lib/ruby/1.8/webrick/server.rb:75:in `listen'' from c:/ruby/lib/ruby/1.8/webrick/server.rb:63:in `initialize'' from c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:24:in `initialize'' from c:/reference_wiki/script/../config/../vendor/rails/railties/lib/web rick_server.rb:61:in `new'' from c:/reference_wiki/script/../config/../vendor/rails/railties/lib/web rick_server.rb:61:in `dispatch'' from c:/reference_wiki/script/server:49 from c:/reference_wiki/instiki.rb:2:in `load'' from c:/reference_wiki/instiki.rb:2 Is anyone able to decipher this and help me out? Simon Heres Biola University Library
hello simon; this looks like a ruby related issue -- on which os are you, windows XP? please try reinstalling with the ruby one-click installer for windows, this might solve your issues: http://rubyforge.org/projects/rubyinstaller/ On 4/24/07, Simon Heres <simon.heres at biola.edu> wrote:> All of a sudden one day, we are getting "The website cannot display the > page" message in our browser. It was working previously, and I have no > clue why this is happening. I suspect some corruption. > > I have tried upgrading Ruby and Instiki. Upon running the instiki.bat file > (ruby c:\instiki\instiki.rb), I get the following: > > C:\Documents and Settings\pele\Desktop>ruby c:\reference_wiki\instiki.rb > => Instiki started on http://0.0.0.0:2500 > => Ctrl-C to shutdown; call with --help for options > [2007-04-24 13:50:40] INFO WEBrick 1.3.1 > [2007-04-24 13:50:40] INFO ruby 1.8.6 (2007-03-13) [i386-mswin32] > [2007-04-24 13:50:40] WARN TCPServer Error: Bad file descriptor - bind(2) > c:/ruby/lib/ruby/1.8/webrick/utils.rb:73:in `initialize'': Bad file > descriptor - > bind(2) (Errno::EBADF) > from c:/ruby/lib/ruby/1.8/webrick/utils.rb:73:in `new'' > from c:/ruby/lib/ruby/1.8/webrick/utils.rb:73:in `create_listeners'' > from c:/ruby/lib/ruby/1.8/webrick/utils.rb:70:in `each'' > from c:/ruby/lib/ruby/1.8/webrick/utils.rb:70:in `create_listeners'' > from c:/ruby/lib/ruby/1.8/webrick/server.rb:75:in `listen'' > from c:/ruby/lib/ruby/1.8/webrick/server.rb:63:in `initialize'' > from c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:24:in `initialize'' > from > c:/reference_wiki/script/../config/../vendor/rails/railties/lib/web > rick_server.rb:61:in `new'' > from > c:/reference_wiki/script/../config/../vendor/rails/railties/lib/web > rick_server.rb:61:in `dispatch'' > from c:/reference_wiki/script/server:49 > from c:/reference_wiki/instiki.rb:2:in `load'' > from c:/reference_wiki/instiki.rb:2 > > Is anyone able to decipher this and help me out? > > Simon Heres > Biola University Library > > _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users >
> C:\Documents and Settings\pele\Desktop>ruby c:\reference_wiki\instiki.rb > => Instiki started on http://0.0.0.0:2500 > => Ctrl-C to shutdown; call with --help for options > [2007-04-24 13:50:40] INFO WEBrick 1.3.1 > [2007-04-24 13:50:40] INFO ruby 1.8.6 (2007-03-13) [i386-mswin32] > [2007-04-24 13:50:40] WARN TCPServer Error: Bad file descriptor - bind(2) > c:/ruby/lib/ruby/1.8/webrick/utils.rb:73:in `initialize'': Bad file > descriptor - > bind(2) (Errno::EBADF)Some other process is already bound to port 2500. Find out what it is with TCPView or just restart the machine may help. HTH, Assaph