From: Marek Janukowicz Date: 2003-05-14T20:42:12+09:00 Subject: RWiki problem - connection refused I set up RWiki, but always got an error when accessing CGI script: "CGI exec failed" or "RWiki server seems to be down...". In RWiki log I have following exception: F, [2003-05-14T05:48:36.913514 #2721] FATAL -- RWikiCGIApp: Detected an exception. Stopping ... druby://mercola.com:53795 - # (DRb::DRbConnError) (druby://localhost:8470) /usr/lib/site_ruby/1.6/drb/drb.rb:170:in `open' (druby://localhost:8470) /usr/lib/site_ruby/1.6/drb/drb.rb:163:in `each' (druby://localhost:8470) /usr/lib/site_ruby/1.6/drb/drb.rb:163:in `open' (druby://localhost:8470) /usr/lib/site_ruby/1.6/drb/drb.rb:465:in `initialize' (druby://localhost:8470) /usr/lib/site_ruby/1.6/drb/drb.rb:448:in `new' (druby://localhost:8470) /usr/lib/site_ruby/1.6/drb/drb.rb:448:in `open' (druby://localhost:8470) /usr/lib/site_ruby/1.6/drb/drb.rb:404:in `method_missing' (druby://localhost:8470) /usr/lib/site_ruby/1.6/rwiki/rw-lib.rb:82:in `base_url' (druby://localhost:8470) /usr/lib/site_ruby/1.6/rwiki/rw-lib.rb:78:in `default_url' (druby://localhost:8470) /usr/lib/site_ruby/1.6/rwiki/rwiki.rb:632:in `default_url' /usr/lib/site_ruby/1.6/rwiki/cgiapp.rb:405:in `requestError' /usr/lib/site_ruby/1.6/rwiki/cgiapp.rb:305:in `exec_proc_get_view' /usr/lib/site_ruby/1.6/rwiki/cgiapp.rb:66:in `run' /usr/lib/site_ruby/1.6/devel/logger.rb:557:in `start' /var/www/cgi-bin/rw.cgi:12 I, [2003-05-14T05:48:36.913810 #2721] INFO -- RWikiCGIApp: End of RWikiCGIApp.(status: -1) Of course netstat shows ruby process running on port 8470. It looks like RWiki tries to open another port (besides the default 8470) and fails... I installed two different versions of Rwiki and all required stuff.I did it by hand as well using RWiki-installer - the exception is al.ways there :( I even copied the whole site_ruby directory from another machine (where Rwiki is running flawlessly) - to no avail. I am not sure whether this is not the system (not ruby or RWiki) issue - but I don't have any firewall running (or any other kind of stuff that can block ports). I'm using RedHat 8.0. Does anyone know how to deal with this issue? -- Marek Janukowicz