SV: [cvsnt] Re: Can't get cvsnt installed on FreeBSD, please help
Kristoffer Skjutare
kristoffer at skjutare.com
Sun Jan 2 11:10:28 GMT 2005
Hi,
I added -t -t -t to the server in inetd.conf
Got this when I connected to 2401 with telnet
# telnet localhost 2401
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
-> Tracelevel set to 3. PID is 298
-> Session ID is 12a41d7d64137e6
BEGIN AUTH REQUEST
cvs [server aborted]: bad auth protocol start: BEGIN AUTH REQUEST
error
Connection closed by foreign host.
#
And this with cvs -t -t -t info
# cvs -t -t -t info
-> Tracelevel set to 3. PID is 302
-> Session ID is 12e41d7d6e0ed99
-> wrap_add(*.gif -kb, 0, 0)
-> wrap_add(*.pdf -kb, 0, 0)
-> wrap_add(*.bmp -kb, 0, 0)
-> wrap_add(*.jpg -kb, 0, 0)
-> wrap_add(*.jpeg -kb, 0, 0)
-> wrap_add(*.png -kb, 0, 0)
-> wrap_add(*.exe -kb, 0, 0)
-> wrap_add(*.dll -kb, 0, 0)
-> wrap_add(*.so -kb, 0, 0)
-> wrap_add(*.a -kb, 0, 0)
-> wrap_add(*.pdb -kb, 0, 0)
-> wrap_add(*.lib -kb, 0, 0)
-> wrap_add(*.o -kb, 0, 0)
-> wrap_add(*.res -kb, 0, 0)
-> wrap_add(*.class -kb, 0, 0)
-> wrap_add(*.ogg -kb, 0, 0)
-> wrap_add(*.mp3 -kb, 0, 0)
Available protocols:
-> Interface version is 0130
local (internal)
#
And this with cvs -t -t -t login
# setenv CVSROOT :pserver:username at servername:/cvstest
# cvs -t -t -t login
-> Tracelevel set to 3. PID is 307
-> Session ID is 13341d7d7477b74
-> Loading protocol /usr/local/lib/cvsnt/pserver_protocol
-> main loop with CVSROOT=:pserver:username at servername:/cvstest
-> wrap_add(*.gif -kb, 0, 0)
-> wrap_add(*.pdf -kb, 0, 0)
-> wrap_add(*.bmp -kb, 0, 0)
-> wrap_add(*.jpg -kb, 0, 0)
-> wrap_add(*.jpeg -kb, 0, 0)
-> wrap_add(*.png -kb, 0, 0)
-> wrap_add(*.exe -kb, 0, 0)
-> wrap_add(*.dll -kb, 0, 0)
-> wrap_add(*.so -kb, 0, 0)
-> wrap_add(*.a -kb, 0, 0)
-> wrap_add(*.pdb -kb, 0, 0)
-> wrap_add(*.lib -kb, 0, 0)
-> wrap_add(*.o -kb, 0, 0)
-> wrap_add(*.res -kb, 0, 0)
-> wrap_add(*.class -kb, 0, 0)
-> wrap_add(*.ogg -kb, 0, 0)
-> wrap_add(*.mp3 -kb, 0, 0)
Logging in to :pserver:username at servername:2401:/cvstest
CVS password:
-> Config file name /root/.cvs/cvspass
-> Config file name /root/.cvs/cvspass
cvs [login aborted]: unrecognized auth response from servername: ->
Tracelevel set to 3. PID is 308
#
So I removed -t -t -t from inetd.conf an ran it again
/etc/inetd.conf looking like this
cvspserver stream tcp nowait root /usr/bin/cvs cvs -f
--allow-root=/home/cvsroot pserver
I found this line in the inetd.conf file so i uncommented this and
commented the one I wrote.
The result from cvs login is now
# cvs -t -t -t login
-> Tracelevel set to 3. PID is 319
-> Session ID is 13f41d7d8ca0a3b
-> Loading protocol /usr/local/lib/cvsnt/pserver_protocol
-> main loop with CVSROOT=:pserver:username at servername:/cvstest
-> wrap_add(*.gif -kb, 0, 0)
-> wrap_add(*.pdf -kb, 0, 0)
-> wrap_add(*.bmp -kb, 0, 0)
-> wrap_add(*.jpg -kb, 0, 0)
-> wrap_add(*.jpeg -kb, 0, 0)
-> wrap_add(*.png -kb, 0, 0)
-> wrap_add(*.exe -kb, 0, 0)
-> wrap_add(*.dll -kb, 0, 0)
-> wrap_add(*.so -kb, 0, 0)
-> wrap_add(*.a -kb, 0, 0)
-> wrap_add(*.pdb -kb, 0, 0)
-> wrap_add(*.lib -kb, 0, 0)
-> wrap_add(*.o -kb, 0, 0)
-> wrap_add(*.res -kb, 0, 0)
-> wrap_add(*.class -kb, 0, 0)
-> wrap_add(*.ogg -kb, 0, 0)
-> wrap_add(*.mp3 -kb, 0, 0)
Logging in to :pserver:username at servername:2401:/cvstest
CVS password:
-> Config file name /root/.cvs/cvspass
-> Config file name /root/.cvs/cvspass
cvs [login aborted]: bad auth protocol start: BEGIN AUTH REQUEST
#
I hope you can see whats wrong from this I cant :(
Best Regards
Kristoffer Skjutare
-----Ursprungligt meddelande-----
Från: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] För Glen
Starrett
Skickat: den 2 januari 2005 10:21
Till: cvsnt at cvsnt.org
Ämne: [cvsnt] Re: Can't get cvsnt installed on FreeBSD, please help
Kristoffer Skjutare wrote:
> CVSROOT =:pserver:username at serverip:2401:/home/cvsroot/cvstest
>
> Then I got the following error:
> :pserver:kristoffer at pugnax.com:2401:/home/cvsroot/cvstest
What error? Looking at your Repository0Name though, you should use:
:pserver:kristoffer at pugnax.com:2401:/cvstest
I don't know much about BSD though, so I can't help you with the sys
specific problems. Others here likely can though.
Try running the CVSNT server in debug mode (pass -t -t -t to cvs), e.g.
cvs -t -t -t info
... and report what you see. The *_protocol files (in
/usr/local/lib/cvsnt/ on my system) are loaded to determine which
protocols CVS supports.
--
Glen Starrett
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
More information about the cvsnt
mailing list