Coda File System

Re: RPC2_init failed on cygwin

From: Jan Harkes <>
Date: Mon, 17 May 2004 15:22:34 -0400
On Sat, May 15, 2004 at 04:03:22AM +0100, Fasihullah Askiri wrote:
> I am a newbie to coda... I am working on windowsXP..
> and I use cygwin to run coda. However I could not get
> CODA up.. The auth2 server does not run.

> It gives the following error:
> --------------------------------------------------
> $ cat AuthLog
> [20:05:32]Main Process:
> "/coda/project/releases/sources/coda-5.2.4/coda-src/rpc2
> /rpc2b.c", line 116:    RPC2_Init(): Couldn't create
> socket
> Date: Fri 05/14/104
> 20:05:32 RPC2_Init failed with RPC2_BADSERVER (F)

That error is generated when we're unable to bind the created socket to
the requested address and the reason is not that the port is already in

On a Unix system I would say that maybe you need administrator
priviledges to bind to the port as the codaauth2 port is below the 1024
limit, but I thought windows didn't have those restrictions. Most of the
other errors simply seem improbable (wrong address format and such).

> I dont seem to have RPC installed... I dont know how
> to check it. I downloaded the java version of rpc in
> coda tools directory.. But I still get the same error

I would say it is installed, otherwise you wouldn't get an error from
the RPC2 library. We don't use the Java version for anything, I'm not
even sure if it is still compatible.

Received on 2004-05-17 15:24:32