Coda File System

Beginner having trouble using coda, two actually

From: Omen Wild <Omen.Wild_at_Dartmouth.EDU>
Date: Thu, 10 Apr 2003 22:41:02 -0400
First problem is that I cannot start coda from the init script.  This
is under Debian/unstable with the newest coda packages from
http://www.coda.cs.cmu.edu/pub/coda/linux.  I get the following error:

----- Begin venus.err -----
Coda Venus, version 5.3.20

Date: Wed 04/09/2003

22:52:15 fatal error -- SigInit: setpgid failed (1)
----- End venus.err -----

If I run venus by hand, then it runs just fine.  I found a Debian bug
entry which describes what is going on:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=152268

The second problem is much more fun.  :-)

Basically, I cannot access the server from a remote client (call it A),
through a VPN (more info later).  Client A can successfully connect to
the coda test server, and another client inside the firewall can access
the server just fine, so it must be the connection between the two.
clog, ctoken, 'cfs lv /coda', 'rpc2ping server', and 'getvolinfo server
vol' all work fine from A.

I have a very strict firewall at the server, but I have a FreeS/WAN VPN
tunneling all traffic between the two, and onto the internal network
behind the server.  I can directly access the coda server (which is
also the firewall box) from A through the VPN, so there shouldn't be
any problems with data transfer.

The setup that fails its naks is when I set rootservers to be the
external IP of the firewall/coda server.  If I set
rootservers="192.168.1.1" (accessed through the VPN) then I get the
following error: 
22:06:57 GetRootVolume: can't get root volume name!

However, 'rpc2ping 192.168.1.1', and 'getvolinfo 192.168.1.1 vol' work
just fine.

I can ssh directly to 192.168.1.1 so I'm pretty sure the VPN is doing
the right thing.  The internal server that can connect to coda uses
rootservers=192.168.1.1 and works just fine, so coda is obviously
listening on that IP.

Any insights on any of this?  I would be happy to provide any/all
logs/traces/captures that could help narrow this down.

Output from various logs below.

----- Begin failed command -----
0 > dir /coda
ls: /coda: Resource temporarily unavailable
----- End failed command -----

----- Begin Venus output -----
0 > sudo venus -init 

Date: Wed 04/09/2003

22:47:10 /var/lib/coda/LOG size is 25830050 bytes
22:47:10 /var/lib/coda/DATA size is 103320200 bytes
22:47:10 Initializing RVM data...
22:47:10 ...done
22:47:10 Loading RVM data
22:47:10 starting VDB scan
22:47:10        1 volume replicas
22:47:10        0 replicated volumes
22:47:10        0 CML entries allocated
22:47:10        0 CML entries on free-list
22:47:12 starting FSDB scan (41666, 1000000) (25, 75, 4)
22:47:12        0 cache files in table (0 blocks)
22:47:12        41666 cache files on free-list
22:47:24 starting HDB scan
22:47:24        0 hdb entries in table
22:47:24        0 hdb entries on free-list
22:47:24 Initial LRDB allocation
22:47:24 Getting Root Volume information...
22:47:24 Venus starting...
22:47:24 /coda now mounted.

22:48:04 fuzzy nak'ed
22:48:24 fuzzy nak'ed
22:48:49 fuzzy nak'ed
22:48:49 MaxRetries exceeded...returning EWOULDBLOCK
----- End Venus output -----

----- Begin codamon -----
connection::bandwidth my-network.com 22984 41540 215610 ( 22:47:30 )
NewConnectFS fuzzy ( 22:47:44 )
BackProbe my-network.com ( 22:47:44 )
ValidateAttrs (0x7f000000.0x1.0x1) [0] ( 22:47:44 )
Fetch (0x7f000000.0x1.0x1) [2] ( 22:47:44 )
progress::fetching () 0x ( 22:47:44 )
ValidateAttrs (0x7f000000.0x1.0x1) [0] ( 22:47:44 )
connection::bandwidth my-network.com 26904 47263 194250 ( 22:47:49 )
NewConnectFS fuzzy ( 22:48:04 )
BackProbe my-network.com ( 22:48:04 )
ValidateAttrs (0x7f000000.0x1.0x1) [0] ( 22:48:04 )
Fetch (0x7f000000.0x1.0x1) [2] ( 22:48:04 )
progress::fetching () 0x ( 22:48:04 )
ValidateAttrs (0x7f000000.0x1.0x1) [0] ( 22:48:05 )
connection::bandwidth my-network.com 31186 53775 195045 ( 22:48:09 )
NewConnectFS fuzzy ( 22:48:26 )
BackProbe my-network.com ( 22:48:26 )
ValidateAttrs (0x7f000000.0x1.0x1) [0] ( 22:48:26 )
Fetch (0x7f000000.0x1.0x1) [2] ( 22:48:26 )
progress::fetching () 0x ( 22:48:26 )
connection::bandwidth my-network.com 35915 61184 206398 ( 22:48:29 )
ValidateAttrs (0x7f000000.0x1.0x1) [0] ( 22:48:30 )
----- End codamon -----

However, commands like clog, ctokens, and cfs lv /coda work just fine.
The last has this codamon output:
----- Begin codamon -----
connection::bandwidth my-network.com 25936 46607 229568 ( 22:03:58 )
NewConnectFS fuzzy ( 22:04:13 )
BackProbe my-network.com ( 22:04:13 )
GetVolStat my-network ( 22:04:13 )
----- End codamon -----

Thanks,
   Omen
	
-- 
A decision occurs when one abandons the obvious for the possible.

Received on 2003-04-10 22:44:38