Coda File System

Re: Coda won't start. RPC2 Problem?

From: Jon Tyler <jon_at_tagfl.com>
Date: Wed, 6 Nov 2002 14:21:19 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jan,

thanks for trying to help me get this sorted out. I feel like a newbie again 
(sometimes that can be a good thing :).

As you'll see below, entries on /etc/services and ports are open.
`/etc/init.d/codasrv.init start` begins, `startserver` and `codasrv` show up 
in the process list then mysteriously disappear. OK not mysteriously, RPC2 
faults out, but I don't know why.

As I mentioned before, this is a small test server (P100, 16MB RAM). Is it 
possible coda just won't load under something that small?

- -- Jon

On Wednesday 06 November 2002 01:54 pm, Jan Harkes wrote:
> On Wed, Nov 06, 2002 at 12:38:43PM -0500, Jon Tyler wrote:
> > coda:~# cat /vice/srv/SrvErr
> > [10:56:11]Main Process: "rpc2b.c", line 120:    RPC2_Init(): Couldn't
> > create socket
> > Assertion failed: RPC2_Init(RPC2_VERSION, 0, &port1, retrycnt, &to) ==
> > RPC2_SUCCESS, file "srv.cc", line 483
> > EXITING! Bye!
>
> Either you are missing the codasrv and codasrv-se entries in
> /etc/services. But Debian should have those in there by default
> as they are IANA registered.

coda:~# cat /etc/services | grep coda
codaauth2       370/tcp
codaauth2       370/udp                         # Coda authentication server
venus           2430/tcp                        # codacon port
codasrv         2432/tcp                        # not used
codasrv         2432/udp                        # server port
codasrv-se      2433/tcp                        # tcp side effects
codasrv-se      2433/udp                        # udp sftp side effect

>
> The other possibility is that some other process already has udp ports
> 2432 and/or 2433 open so that we can't bind to them.
>
> netstat -a should show all open ports, if 2432/udp or 2433/udp seems to
> be in use you can check which process has it open with 'lsof -i udp:2432'

coda:~# netstat -a -n
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 192.168.1.25:22         192.168.1.10:3005       
ESTABLISHED
tcp        0      0 192.168.1.25:22         192.168.1.20:1162       
ESTABLISHED
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:37              0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:13              0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:9               0.0.0.0:*               LISTEN
udp        0      0 0.0.0.0:1032            0.0.0.0:*
udp        0      0 0.0.0.0:1031            0.0.0.0:*
udp        0      0 0.0.0.0:1030            0.0.0.0:*
udp        0      0 0.0.0.0:1029            0.0.0.0:*
udp        0      0 0.0.0.0:369             0.0.0.0:*
udp        0      0 0.0.0.0:9               0.0.0.0:*
udp        0      0 0.0.0.0:370             0.0.0.0:*
raw        0      0 0.0.0.0:1               0.0.0.0:*               7
raw        0      0 0.0.0.0:6               0.0.0.0:*               7
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node Path
unix  1      [ ]         DGRAM                    71     /dev/log
unix  0      [ ]         DGRAM                    75
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9yWuv4P9rQLXbOvsRArxUAKDc4IoWn+ep8AHtclVmzP1UiLYRhgCgso4L
dWCROcggXoQIGTs1kD8Ryx8=
=cG7Z
-----END PGP SIGNATURE-----
Received on 2002-11-06 14:22:40