[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: help on pserver connection
From: |
Gagneet Singh |
Subject: |
RE: help on pserver connection |
Date: |
Fri, 10 Oct 2003 10:12:13 +0530 |
Hi!
I think the thing you have done wrong is to not visit the latest of the
CVS Cederqvist manual.
It shows that after the RedHat 7 distribution the control for cvspserver
had shifted to the xnetd services avialble as separate files under the
/etc/xinetd.d directory. Here you create a file named cvspserver and
feed in the following contents to it.
# default: on
#
# service cvspserver
#
service cvspserver
{
disable = no
id = cvspserver
env = HOME=/home/cvs
socket_type = stream
protocol = tcp
port = 2401
wait = no
user = root
passenv = PATH
server = /usr/bin/cvs
server_args = -f --allow-root=/cvs pserver
}
Where server_args is the place where you give the path to your
repository.
Hope this helps. For better understanding read the Cederqvist Manual on
CVS 1.11.5, this can be found on http://www.cvshome.org/
Gagneet
|-----Original Message-----
|From: address@hidden
|[mailto:address@hidden On Behalf
|Of kent emia
|Sent: Friday, 10 October, 2003 9:13 AM
|To: info-CVS
|Subject: help on pserver connection
|
|
|hello to all.. ... as of the moment i succesfully setup a
|winNT CVS server and its not that hard at all. workstations
|can login/logout checkin/checkout files
|
|but since we are switching all workstations to linux, i want
|to try it in linux. im having hard time seting up a CVS SERVER
|in a redhat9 environment.
|
|im encountering this problem:
|'cvs [login aborted]: reading from server: Connection reset by peer'
|
|as i've read
|http://www.cvshome.org/docs/manual/cvs-|1.11.7/cvs_21.html#SEC18
|4 it says that i am missing pserver in my 'inetd.conf' but i
|have it right there this is my 'inetd.conf' file
|
|cvspserver stream tcp nowait root /usr/local/bin/cvs cvs
|--allow-root=/repo pserver
|
|that is in one line
|
|running 'nmap localhost' on the server i can see
|'2401/tcp open cvspserver' in it..
|
|im wondering what else could be wrong....
|
|
|--
|-----BEGIN GEEK CODE BLOCK-----
|Version: 3.1
|GCS d- s: a- C++++ U++++ P+ L+++ E W+ N++ o- K- w---
|O-- M+ V-- PS PE++ Y+ PGP- t--- 5-- X++ R tv++ b+ DI-- D+
|G++ e h! r++ y--
|------END GEEK CODE BLOCK------
|
|
|
|_______________________________________________
|Info-cvs mailing list
|address@hidden
|http://mail.gnu.org/mailman/listinfo/info-cvs
|