Re: [Rabbit-proxy-users] Rabbit error
Brought to you by:
ernimril
From: Robert O. <d9...@na...> - 2004-01-22 21:08:51
|
On Wed, 21 Jan 2004, Dave MacKinnon wrote: > Hello, > > I am running a FreeBSD 5.2 system to test the rabbit proxy. I am running > java version "1.4.2-p5". If I run the "jr" script that comes with the > program, I get the following output: > .... > ./jr: cannot create : No such file or directory Ok, jr is a simple shell script that works with the linux and solaris boxes I have used, if it causes problems for you either fix it (patches are welcome) or start rabbit with the "java rabbit.proxy.Proxy" command. That jr outputs some errors may not mean that rabbit has not started.... > If I just run the following command directly from the command line: > > /usr/local/jdk1.4.2/bin/java -classpath $CLASSPATH rabbit.proxy.Proxy $* & > > I get the following in the error logs:> > [Failed to open serversocket on port 9666] Odd, That happens very early in the setup and is a thing that should not break (unless another application is listening on that port already). Have you tried another port? you can set the port in rabbit.conf. Do you have another application that uses that port or an already started RabbIT? > Any idea on how I can get this working on this system? I have re-compiled > the rabbit source, but it doesn't seem to make any difference. I assume that you are trying to run rabbit/2.0.29? If so can you add a line to the catch-block in line 308-311 in Proxy.java, so that it looks like: catch (IOException e) { logError (FATAL, "Failed to open serversocket on port " + port); e.printStackTrace (); System.exit (-1); } Are you runing with the linux emulation layer or is this jdk a freebsd native port? /robo |