Re: CVS, Connection refused

2002-01-25 Thread Dean Thompson


Hi!,

Lamar Thomas wrote:
> 
> William Daffer wrote:
> 
> > "Lamar Thomas" <[EMAIL PROTECTED]> writes:
> >
> > > Hi everyone,
> > >
> > > I am running RH 7.1 and CVS 1.11-3 using the bash shell.  When I try and
> > > connect to cvs I get the following error:  "Connection refused".  Anyone
> > > have any ideas?  Thanks for any help.
> > >
> > > Lamar
> >
> >   I take it you're connecting to a remote server?
> >
> >   Are you using RSH as the transport? What is the value of CVS_RSH?
> >
> >   Assuming you are: is rshd installed? (or is it rexecd, it's been so
> >   long since I installed those Sun RPC facilities) 
> >
> >   If installed, does the server have `rsh' chkconfig'd on? This is
> >   part of the xinetd configuration.  
> >
> >   If installed and chkconfig'd on, does the server's
> >   /etc/hosts.{allow,deny} allow such a connection? 
> >
> >   You can use SSH by setting CVS_RSH to 'ssh'. That's a safer way to
> >   do it anyway.
> >
> > whd
> > --
> > ABILITY, n.  The natural equipment to accomplish some small part of
> > the meaner ambitions distinguishing able men from dead ones.  In the
> > last analysis ability is commonly found to consist mainly in a high
> > degree of solemnity.  Perhaps, however, this impressive quality is
> > rightly appraised; it is no easy task to be solemn.
> > -- Ambrose Bierce: _The Devil's Dictionary_
> 
> No, I am trying to connect from the server it self.

Have you checked that there are no firewalls blocking the connection and that
the server service has been started.  A look at the "netstat -anp" connections
will tell you whether or not it is listening for incoming connections.

See ya

Dean Thompson

-- 
+++
| Dean Thompson  | E-mail  - [EMAIL PROTECTED] |
| Bach. Computing (Hons) | ICQ - 45191180 |
| PhD Student| Office  -  |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)|
| MONASH (Caulfield Campus)  | Fax - +61 3 9903 1077  |
| Melbourne, Australia   ||
+++
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: CVS, Connection refused

2002-01-25 Thread Lamar Thomas

William Daffer wrote:

> "Lamar Thomas" <[EMAIL PROTECTED]> writes:
>
> > Hi everyone,
> >
> > I am running RH 7.1 and CVS 1.11-3 using the bash shell.  When I try and
> > connect to cvs I get the following error:  "Connection refused".  Anyone
> > have any ideas?  Thanks for any help.
> >
> > Lamar
>
>   I take it you're connecting to a remote server?
>
>   Are you using RSH as the transport? What is the value of CVS_RSH?
>
>   Assuming you are: is rshd installed? (or is it rexecd, it's been so
>   long since I installed those Sun RPC facilities) 
>
>   If installed, does the server have `rsh' chkconfig'd on? This is
>   part of the xinetd configuration.  
>
>   If installed and chkconfig'd on, does the server's
>   /etc/hosts.{allow,deny} allow such a connection? 
>
>   You can use SSH by setting CVS_RSH to 'ssh'. That's a safer way to
>   do it anyway.
>
> whd
> --
> ABILITY, n.  The natural equipment to accomplish some small part of
> the meaner ambitions distinguishing able men from dead ones.  In the
> last analysis ability is commonly found to consist mainly in a high
> degree of solemnity.  Perhaps, however, this impressive quality is
> rightly appraised; it is no easy task to be solemn.
> -- Ambrose Bierce: _The Devil's Dictionary_

No, I am trying to connect from the server it self.

Lamar

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: CVS, Connection refused

2002-01-24 Thread William Daffer

"Lamar Thomas" <[EMAIL PROTECTED]> writes:

> Hi everyone,
> 
> I am running RH 7.1 and CVS 1.11-3 using the bash shell.  When I try and
> connect to cvs I get the following error:  "Connection refused".  Anyone
> have any ideas?  Thanks for any help.
> 
> Lamar

  I take it you're connecting to a remote server?


  Are you using RSH as the transport? What is the value of CVS_RSH?

  Assuming you are: is rshd installed? (or is it rexecd, it's been so
  long since I installed those Sun RPC facilities) 

  If installed, does the server have `rsh' chkconfig'd on? This is
  part of the xinetd configuration.  

  If installed and chkconfig'd on, does the server's
  /etc/hosts.{allow,deny} allow such a connection?  

  You can use SSH by setting CVS_RSH to 'ssh'. That's a safer way to
  do it anyway.

whd
-- 
ABILITY, n.  The natural equipment to accomplish some small part of 
the meaner ambitions distinguishing able men from dead ones.  In the 
last analysis ability is commonly found to consist mainly in a high 
degree of solemnity.  Perhaps, however, this impressive quality is 
rightly appraised; it is no easy task to be solemn.
-- Ambrose Bierce: _The Devil's Dictionary_
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: CVS, Connection refused

2002-01-22 Thread Larry Jones

Art writes:
> 
> I have, in /etc/xinetd.d/cvs:
> # CVS configuration for xinetd don't forget to specify your CVSROOT in
> #  /etc/cvs/cvs.conf.
> 
> service cvspserver
> {
> disable = no
> socket_type = stream
> protocol= tcp
> wait= no
> user= root
> server  = /usr/sbin/cvspserver
> } 

I presume /usr/sbin/cvspserver is a shell script that runs CVS with the
appropriate arguments.  A more typical example is the one that's now in
the manual:

service cvspserver
{
   port= 2401
   socket_type = stream
   protocol= tcp
   wait= no
   user= root
   passenv = PATH
   server  = /usr/local/bin/cvs
   server_args = -f --allow-root=/usr/cvsroot pserver
}

(If cvspserver is defined in '/etc/services', you can omit the port
line.)

-Larry Jones

You just can't ever be too careful. -- Calvin

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



RE: CVS, Connection refused

2002-01-22 Thread Art

> -Original Message-
> From: Larry Jones [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 22, 2002 10:57 AM
...
> Art writes:
> > 
> > I have, in /etc/xinetd.d/cvs:
...
> I presume /usr/sbin/cvspserver is a shell script that runs CVS with the
> appropriate arguments.
Exactly. It was created by the cvs RPM in the Mandrake 8.1 distribution
or by the "make install" (didn't notice...)
It also checks for the existance of "/etc/cvs/cvs.conf" and "CVSROOT"
and bails with a message if not found.

> A more typical example is the one that's now in
> the manual:
> 
> service cvspserver
> {
...
This is pretty good. I love alternatives.
Your example is more direct, but relies on cvs for defaults and
error messages.

Art


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



RE: CVS, Connection refused

2002-01-21 Thread Art

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> Lamar Thomas
...
> "Art" <[EMAIL PROTECTED]> wrote in message
...
> > > Lamar Thomas
> > ...
> > > I am running RH 7.1 and CVS 1.11-3 using the bash shell.  
...
> I have the following two lines in /etc/services:
> 
> cvspserver 2401/tcp # CVS client/server operations
> cvspserver 2401/udp # CVS client/server operations
> 
> However, I don't have anything in xinetd.conf about cvs.  Here is what my
> xinetd.conf looks likes:
...

I have, in /etc/xinetd.d/cvs:
# CVS configuration for xinetd don't forget to specify your CVSROOT in
#  /etc/cvs/cvs.conf.

service cvspserver
{
disable = no
socket_type = stream
protocol= tcp
wait= no
user= root
server  = /usr/sbin/cvspserver
} 


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: CVS, Connection refused

2002-01-21 Thread Lamar Thomas


"Art" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> > Lamar Thomas
> ...
> > I am running RH 7.1 and CVS 1.11-3 using the bash shell.  When I try and
> > connect to cvs I get the following error:  "Connection refused".  Anyone
> > have any ideas?  Thanks for any help.
> Do you have a cvs entry in /etc/services and /etc/inetd.conf?
> (I'm running Linux 2.4.8, Mandrake 8.1, and use xinetd.d/cvs)
> It may not matter, but I trust my second computer and also use .rhosts to
> rsh between them.
>
> Art

I have the following two lines in /etc/services:

cvspserver 2401/tcp # CVS client/server operations
cvspserver 2401/udp # CVS client/server operations

However, I don't have anything in xinetd.conf about cvs.  Here is what my
xinetd.conf looks likes:

#
# Simple configuration file for xinetd
#
# Some defaults, and include /etc/xinetd.d/
defaults
{
instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}
includedir /etc/xinetd.d

Lamar




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: CVS, Connection refused

2002-01-21 Thread Larry Jones

Lamar Thomas writes:
> 
> I am running RH 7.1 and CVS 1.11-3 using the bash shell.  When I try and
> connect to cvs I get the following error:  "Connection refused".  Anyone
> have any ideas?  Thanks for any help.

It almost certainly means that you don't have a server running for the
connection method you're using.  If you're working on a single machine,
is there a reason you're trying to use client/server rather than local
mode?

You may find the troubleshooting section of the manual particularly
useful:



-Larry Jones

When I want an editorial, I'll ASK for it! -- Calvin

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



RE: CVS, Connection refused

2002-01-21 Thread Art

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> Lamar Thomas
...
> I am running RH 7.1 and CVS 1.11-3 using the bash shell.  When I try and
> connect to cvs I get the following error:  "Connection refused".  Anyone
> have any ideas?  Thanks for any help.
Do you have a cvs entry in /etc/services and /etc/inetd.conf?
(I'm running Linux 2.4.8, Mandrake 8.1, and use xinetd.d/cvs)
It may not matter, but I trust my second computer and also use .rhosts to
rsh between them.

Art



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs