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 -
#<Errno::ECONNREFUSED: Connection refused - “connect(2)”>
(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:ineach’
(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:ininitialize’
(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:inopen’
(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:inbase_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:indefault_url’
/usr/lib/site_ruby/1.6/rwiki/cgiapp.rb:405:in requestError' /usr/lib/site_ruby/1.6/rwiki/cgiapp.rb:305:inexec_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:instart’
/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 :frowning:

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

This was a system problem - the hostname was set improperly. Now it
works ok :slight_smile:

···

On 14 May 2003 11:34:58 GMT, Marek Janukowicz wrote:

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.


Marek Janukowicz