Mailinglist Archive: opensuse (2271 mails)

< Previous Next >
RE: FW: [SLE] CVS connection refused
Finally I found the solution.

Please configure your /etc/xinetd.conf and restart it.

Anyway, thanks a lot.



-----Original Message-----
From: Louis Richards [mailto:louis@xxxxxxxxxxxxxxxxxx]
Sent: Thursday, April 01, 2004 12:28 AM
To: Jason Lim
Cc: suse-linux-e@xxxxxxxx
Subject: Re: FW: [SLE] CVS connection refused

Jason Lim wrote:

<SNIP>

>Below is my /etc/xinetd.d/cvs attach.
>
># CVS pserver (remote acces to your CVS repositories)
># Please read the section on security and passwords in the CVS manual,
># before you enable this.
># default: off
>
>service cvspserver
>{
> disable = no
> socket_type = stream
> protocol = tcp
> wait = no
> user = cvs
> port = 2401
> server = /usr/bin/cvs
> server_args = -f --allow-root=/home/cvsroot pserver
>
>}
>
>
That looks fine. I don't have the port setting in mine, but it shouldn't
matter.

>In /etc/services there are only defined the associations between ports
>and names, but not "opened". Still, the port number must be defined in
>the /etc/xinetd/cvs, either with its name (defined in /etc/services) or
>with its number (when you don't wanna depend with /etc/services).
>
>
The relevant section of my services file is:

cvspserver 2401/tcp
cvspserver 2401/udp

In your original file you had the line

>>> server_args = -f --allow-root=/var/cvsroot pserver
>>>
>>>
>>>
This is a different directory than the one above. You would need to put
your password file in the appropriate directory.

Have you run ...

cvs -d /home/cvsroot init

The only thing I can see wrong at this point is getting everything
pointing to the same directory and maybe running the above command
(changing the directory if needed).

--

Louis D. Richards
LDR Interactive Technologies




< Previous Next >
This Thread
  • No further messages