From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 23 May 2014 00:42:52 -0400 Message-ID: From: yan cui To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=047d7b5d92d1c6943404fa09dc3f Subject: Re: [9fans] [GSOC] auth server: connection refused Topicbox-Message-UUID: ef7c6c1e-ead8-11e9-9d60-3106f5b1d025 --047d7b5d92d1c6943404fa09dc3f Content-Type: text/plain; charset=UTF-8 Finally got the reason, I execute a command exec rio at the end of /cfg/$sysname/cpurc, which turns out the reason of blocking drawterm, although do not know the detailed reason. Sorry for the noise. 2014-05-22 23:24 GMT-04:00 yan cui : > Hi all, > > I encountered an error when connecting drawterm with cpu/auth server. > Basically, I use > drawterm -c super -a super -u bootes > but it turns out an error, > cpu: can't dial: super: Connection refused > goodbye > > on the plan9 cpu/auth server, I type auth/debug, it outputs > p9sk1 key: proto=p9sk1 user=bootes dom=cuiy.net !hex? !password? > dialing auth server net!super!ticket > cannot dial auth server: connection refused > csquery authdom=cuiy.net auth=super > > I also type cpu -h super on the auth/cpu server, the error is the same > with drawterm: > cpu: can't dail: super: connection refused > > I set up the auth/cpu server according to plan9 wiki, > http://plan9.bell-labs.com/wiki/plan9/configuring_a_standalone_cpu_server/ > > Followings are my /lib/ndb/local config. > Any suggestions or comments are welcome! > > # > # files comprising the database, use as many as you like, see ndb(6) > # > database= > file=/lib/ndb/local > file=/lib/ndb/common > # file=/lib/ndb/auth > > auth=sources.cs.bell-labs.com authdom=outside.plan9.bell-labs.com > > ipnet=cuiy ip=192.168.122.0 ipmask=255.255.255.0 > auth=super > cpu=super > fs=super > ntp=128.59.22.30 > dns=192.168.122.1 > ipgw=192.168.122.1 > authdom=cuiy.net > dnsdom=cuiy.net > > ip=192.168.122.71 sys=super dom=cuiy.net > > # > # because the public demands the name localsource > # > ip=127.0.0.1 sys=localhost dom=localhost > > -- > Think big; Dream impossible; Make it happen. > -- Think big; Dream impossible; Make it happen. --047d7b5d92d1c6943404fa09dc3f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Finally got the reason, I execute a command exec rio at th= e end of /cfg/$sysname/cpurc, which turns out the reason of blocking drawte= rm, although do not know the detailed reason. Sorry for the noise.=C2=A0


2014-05-22 23= :24 GMT-04:00 yan cui <ccuiyyan@gmail.com>:
Hi all,

=C2=A0=C2=A0 I en= countered an error when connecting drawterm with cpu/auth server.
= Basically, I use
drawte= rm -c super -a super -u bootes
but it turns out an error,
cpu: can't dial: super: Connection refused
<= span style=3D"background-color:rgb(0,255,255)">goodbye

on the plan9 cpu/auth server, I type auth/debug, it out= puts
p9sk1 ke= y: proto=3Dp9sk1 user=3Dbootes dom=3Dcuiy.net !hex? !password?
=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 dialing auth server net!super!ticket
=
=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 cannot dial auth server: connection refused
=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 csquery authdom=3Dcuiy.net auth=3Dsuper

I also type = cpu -h super on the = auth/cpu server, the error is the same with drawterm:
cpu: can't d= ail: super: connection refused

I set up the auth/c= pu server according to plan9 wiki,
http://= plan9.bell-labs.com/wiki/plan9/configuring_a_standalone_cpu_server/

Followings are my /lib/ndb/local config.
Any suggestions= or comments are welcome!

#
#=C2=A0 files comprising the database= , use as many as you like, see ndb(6)
#
database=3D
=C2=A0=C2=A0= =C2=A0 file=3D/lib/ndb/local
=C2=A0=C2=A0=C2=A0 file=3D/lib/ndb/common
#=C2=A0=C2=A0=C2=A0 file=3D/li= b/ndb/auth

auth=3Dsources.cs.bell-labs.com authdom=3Doutside.plan9.bell-labs.com
ipnet=3Dcuiy ip=3D192.168.122.0 ipmask=3D255.255.255.0
=C2=A0=C2=A0= =C2=A0 auth=3Dsuper
=C2=A0=C2=A0=C2=A0 cpu=3Dsuper
=C2=A0=C2=A0=C2=A0= fs=3Dsuper
=C2=A0=C2=A0=C2=A0 ntp=3D128.59.22.30
=C2=A0=C2=A0=C2=A0 = dns=3D192.168.122.1
=C2=A0=C2=A0=C2=A0 ipgw=3D192.168.122.1
=C2=A0=C2= =A0=C2=A0 authdom=3Dcuiy.net<= /a>
=C2=A0=C2=A0=C2=A0 dnsdom=3D
c= uiy.net

ip=3D192.168.122.71 sys=3Dsuper dom=3Dcuiy.net

#
#=C2=A0 because the pu= blic demands the name localsource
#
ip=3D127.0.0.1 sys=3Dlocalhost dom=3Dlocalhost<= font color=3D"#888888">

--
Think big; Dream impossible; Make it happen.=C2= =A0=C2=A0



--
Think big; Dream i= mpossible; Make it happen.=C2=A0=C2=A0
--047d7b5d92d1c6943404fa09dc3f--