[comp.protocols.appletalk] CAP problems

kab@reed.UUCP (Kent Black) (01/22/88)

Hope this is the proper newsgroup for this:

We have just installed KIP & CAP this week and are having problems &
wondering if anybody out there has seen similar things or can point us
to our errors.  

VAX11/785, 4.3BSD, KFP, KIP, CAP.

Symptoms: everything works except atistest and pinger, both of which
apparently fail in nbp_register.

thanks muchly,
please respond to
..tektronix!reed!kab or ..tektronix!reed!root

---session follows---

$ cat /etc/atalk.local
#mynet mynode myzone
0.1 1 Ethernet
#bridgenet bridgenode bridgeIP
0.1 147 136.0.1.147
0.1 150 136.0.1.150
$ cat /etc/atalkatab
# Appletalk administration database table (atalkatab),
... comments elided.
#
0.1	N1	136.0.1.0	Ethernet	#values for Enet backbone

0.19	K	136.0.1.147	Test		#test gateway
	I136.0.1.255	I136.0.1.1		#ipbroad ipname
	I136.0.1.1	I136.0.1.1		#ipdebug ipfile
	L0 L0 L0 L0	S0 S0			#ipother unused unused
	LX0		S0	S0		#flags ipstatic ipdynamic
	S0.19	S0.1				#aneta anete

0.22	KC	136.0.1.150	Test		#test gw, core gw
	I136.0.1.255	I136.0.1.1
	I136.0.1.1	I136.0.1.1	
	L0 L0 L0 L0	S0 S0
	LX0		S0	S50		#50 dynamic addresses
	S0.22	S0.1
$ /usr/local/cap/atistest
abInit: [ddp: net   0.01, node 1] starting
debugging NBP
Registering "atis test:testing@*"
NBP SndNBP: sending
NBP nbp_timeout: 4 tick timeout on 2147477432, 3 remain
NBP SndNBP: sending
NBP nbp_timeout: 4 tick timeout on 2147477432, 2 remain
NBP SndNBP: sending
NBP nbp_timeout: 4 tick timeout on 2147477432, 1 remain
NBP SndNBP: sending
NBP nbp_timeout: 4 tick timeout on 2147477432, 0 remain
NBP SndNBP: sending
NBP nbp_timeout: 4 tick timeout on 2147477432, 3 remain
NBP SndNBP: sending
NBP nbp_timeout: 4 tick timeout on 2147477432, 2 remain
NBP SndNBP: sending
NBP nbp_timeout: 4 tick timeout on 2147477432, 1 remain
NBP SndNBP: sending
NBP nbp_timeout: 4 tick timeout on 2147477432, 0 remain
nbp register error because: couldn't register name - is atis running?
$ ps oroot | bm atis
15085 ?  I     0:00 /etc/atis
$ /usr/local/cap/look
abInit: [ddp: net   0.01, node 1] starting
Looking for =:=@* ...
01 - 136.0.1.182:IPADDRESS@*                  [Net:  0.22 Node: 38 Skt: 72]
02 - 136.0.1.147:IPGATEWAY@*                  [Net:  0.19 Node:220 Skt: 72]
03 - 136.0.1.150:IPGATEWAY@*                  [Net:  0.22 Node:220 Skt: 72]
04 - P-24 IRC ImageWriter:ImageWriter@*       [Net:  0.22 Node:197 Skt:138]
05 - Phy 100 Lab:ImageWriter@*                [Net:  0.22 Node: 10 Skt:100]
06 - P-24 LaserWriter:LaserWriter@*           [Net:  0.22 Node:247 Skt:186]
07 - Reynolds:MacUser@*                       [Net:  0.22 Node: 10 Skt:100]
08 - Physics100:xlDisk@*                      [Net:  0.22 Node: 10 Skt:100]
$ /usr/local/cap/pinger
abInit: [ddp: net   0.01, node 1] starting
Looking for =:=@* ...
01 - 136.0.1.182:IPADDRESS@*                  [Net:  0.22 Node: 38 Skt: 72]
Ping...no response
02 - 136.0.1.147:IPGATEWAY@*                  [Net:  0.19 Node:220 Skt: 72]
Ping...no response
03 - 136.0.1.150:IPGATEWAY@*                  [Net:  0.22 Node:220 Skt: 72]
Ping...no response
04 - P-24 IRC ImageWriter:ImageWriter@*       [Net:  0.22 Node:197 Skt:138]
Ping...no response
05 - Phy 100 Lab:ImageWriter@*                [Net:  0.22 Node: 10 Skt:100]
Ping...no response
06 - P-24 LaserWriter:LaserWriter@*           [Net:  0.22 Node:247 Skt:186]
Ping...no response
07 - Reynolds:MacUser@*                       [Net:  0.22 Node: 10 Skt:100]
Ping...no response
08 - Physics100:xlDisk@*                      [Net:  0.22 Node: 10 Skt:100]
Ping...no response

STAFF.SAS@CHIP.UCHICAGO.EDU (Stuart Schmukler) (01/23/88)

I think that you have to start the atis deamon to get the NBP stuff to work.

SaS
-------

cck@CUNIXC.COLUMBIA.EDU (Charlie C. Kim) (01/24/88)

The problem with registering names (e.g. atistest failure) comes about
because you have an extra line in your atalk.local.  There is an
undocumented feature: you can specify the appletalk address of a host
that will handle name registry.  This is done by adding a third
(valid) line that contains an appletalk network and node number....

The main reason this was done was to allow me to test server programs
on machines that I didn't have root access to.  (It could be of use to
allow machine to register in different zones, etc if the tickle
protocol documented in nbp.ext was implemented).

pinger doesn't gets "no response" because, to date, very few machines
implement the AppleTalk echo protocol.  CAP hosts running atis and
AppleShare servers will return echo packets.  The next release of KIP
should implement it also.

Charlie C. Kim
User Services
Columbia Unviersity

kab%reed@tektronix.tek.COM (Kent Black) (01/26/88)

Thanks muchly; made the fix to atalk.local, but our micro-net is
being moved so I won't know if everything works for a day or two.

BTW, would you like diffs of trivial bug fixes; e.g., functions
declared as returning OSErr that have no return statement, etc.?

Kent Black (kab)

paul@aucs.uucp (Paul Steele) (08/22/89)

I have gotten CAP to work fine and I'm using both aufs and lwsrv.
However, occasionally I get the follow error from aufs:

06100* 14:12:27 08/21/89 SrvrRegister for SUN failed...

and the following error at the same time from lwsrv:

lwsrv: SLInit failed: -1025

Both atalkad and atis are both still running, but aufs and lwsrv
are not and if I try to restart them they abort with the same
error after a few seconds.  Any explanations would be appreciated.


Paul H. Steele    UUCP:     {uunet|watmath|utai}!cs.dal.ca!aucs!Paul
Acadia University BITNET:   Paul@Acadia  or  PHS@Acadia (preferred)
Wolfville, NS     Internet: Paul@AcadiaU.CA
CANADA  B0P 1X0   (902) 542-2201x587
-- 
Paul H. Steele    UUCP:     {uunet|watmath|utai}!cs.dal.ca!aucs!Paul
Acadia University BITNET:   Paul@Acadia  or  PHS@Acadia (preferred)
Wolfville, NS     Internet: Paul@AcadiaU.CA
CANADA  B0P 1X0   (902) 542-2201x587