AW: login - connection refused

2002-02-15 Thread Softwareentwicklung Hauschel


It is unbelivable !

It works.. I can connect my cvs from my windows eclipse client ;-)))

The problem was the sample lines in etc/service and
inetd.conf from suse linux 7.3.
The problems are the f... commas.
Yesterday i've delete them in inetd.conf, but there was
another one in the etc/service pserver entry.

THANKS ALL OF YOU FOR YOUR HELP !!

Fredy


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



login - connection refused

2002-02-14 Thread Softwareentwicklung Hauschel



Hi 
all,
in my /etc/services 
i have add the entry:
cvspserver 
2401/tcp

in my 
/etc/inetd.conf i had add the entry:
cvspserver 
streamtcp, nowait, root, /usr/bin/cvs -f --allow-root=/usr/cvs/CVSROOT 
pserver


i tryed to login 
from my remote windows system like that:

C:\Programme\cvs cvs -d 
:pserver:[EMAIL PROTECTED]:/usr/cvs/ login
Logging in to 
:pserver:[EMAIL PROTECTED]:2401/usr/cvs/
CVS 
password:
cvs [login aborted]: 
connect to 192.168.0.4(192.168.0.4):2401 failed: Connection 
refused
does anybody know what is the problem 
?

i have no passwd File !


best regards
Fred Robert 
Hauschel


Re: login - connection refused

2002-02-14 Thread Per Akesson

Softwareentwicklung Hauschel wrote:

 Hi all,in my /etc/services i have add the entry:cvspserver 2401/tcpin
 my /etc/inetd.conf i had add the entry:cvspserver stream tcp, nowait,
 root, /usr/bin/cvs -f --allow-root=/usr/cvs/CVSROOT pserveri tryed to
 login from my remote windows system like that:C:\Programme\cvscvs
 -d :pserver:[EMAIL PROTECTED]:/usr/cvs/ login

I think the first argument to /usr/bin/cvs should be argv[0], i.e.
cvs, and then you should
add the options and arguments to /usr/bin/cvs, as in:

cvspserver stream tcp, nowait, root, /usr/bin/cvs cvs -f
--allow-root=/usr/cvs/CVSROOT pserver

regards

PS
  I don't you can use commas , as field separators in inetd.conf

--
Per Ã…kesson
Carmenta AB
SWEDEN





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



Re: login - connection refused

2002-02-14 Thread Larry Jones

Softwareentwicklung Hauschel writes:
 
 in my /etc/inetd.conf i had add the entry:
 cvspserver stream tcp, nowait, root,
 /usr/bin/cvs -f --allow-root=/usr/cvs/CVSROOT pserver

There shouldn't be any commas in that line.

See the manual for further troubleshooting advice, should you need it:

http://www.cvshome.org/docs/manual/cvs_21.html#SEC182

-Larry Jones

Fortunately, that was our plan from the start. -- Calvin

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



AW: login - connection refused

2002-02-14 Thread Softwareentwicklung Hauschel

Hi All,
thanks for response...

i have delete the commas

now there is another error message:

C:\Programme\cvscvs -d :pserver:[EMAIL PROTECTED]:/usr/cvs/ login
Logging in to :pserver:[EMAIL PROTECTED]:2401/usr/cvs/
CVS password:
cvs login: authorization failed: server 192.168.0.4 rejected access to
/usr/cvs/ for user fredy


it seems to a problem with the password, or the user !
but i belive cvs uses the systems users if there is no passwd ?

I use Linux 7.3 an i restart -rcinetd restart.

Fredy

-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag
von Gianni Mariani
Gesendet: Donnerstag, 14. Februar 2002 15:49
An: Softwareentwicklung Hauschel
Cc: [EMAIL PROTECTED]
Betreff: Re: login - connection refused



Did you 'kill -HUP inetd' or re-start inetd ?

Which OS are you running ?  Maybe your system uses xinetd.

G

Softwareentwicklung Hauschel wrote:

 Hi all,

 in my /etc/services i have add the entry:

 cvspserver 2401/tcp



 in my /etc/inetd.conf i had add the entry:

 cvspserver stream tcp, nowait, root, /usr/bin/cvs -f
 --allow-root=/usr/cvs/CVSROOT pserver





 i tryed to login from my remote windows system like that:



 C:\Programme\cvscvs -d :pserver:[EMAIL PROTECTED]:/usr/cvs/ login

 Logging in to :pserver:[EMAIL PROTECTED]:2401/usr/cvs/

 CVS password:

 cvs [login aborted]: connect to 192.168.0.4(192.168.0.4):2401 failed:
 Connection refused


 does anybody know what is the problem ?



 i have no passwd File !






 best regards

 Fred Robert Hauschel





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


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



AW: login - connection refused

2002-02-14 Thread Softwareentwicklung Hauschel

Hi All,

 cvspserver stream tcp, nowait, root, /usr/bin/cvs -f 
 --allow-root=/usr/cvs/CVSROOT pserver

/usr/cvs/CVSROOT 
CVSROOT is the directory that was reated by cvs ... init
is it the right path after --allow-root=

thanks
Fredy


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



Re: AW: login - connection refused

2002-02-14 Thread Larry Jones

Softwareentwicklung Hauschel writes:
 
 /usr/cvs/CVSROOT 
 CVSROOT is the directory that was reated by cvs ... init
 is it the right path after --allow-root=

No.  /usr/cvs is your repository, CVSROOT is a top-level directory in
the repository.  What comes after --allow-root= is just the repository
name and must match *exactly* what you use in your $CVSROOT
specification.  So, you want --allow-root=/usr/cvs (with no trailing
slash, please); and your $CVSROOT should be something like:

:pserver:[EMAIL PROTECTED]:/usr/cvs

(again, with no trailing slash, please).

-Larry Jones

I've got to start listening to those quiet, nagging doubts. -- Calvin

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



AW: login - connection refused

2002-02-14 Thread Softwareentwicklung Hauschel

Hy again,

actuall the entry in my inetd.conf is:

cvspserver stream tcp nowait root /usr/sbin/tcpd
/usr/bin/cvs -f --allow-root=/usr/cvs pserver


I try to login like follow:

C:\Programme\cvscvs -d :pserver:[EMAIL PROTECTED]:/usr/cvs login
Logging in to :pserver:[EMAIL PROTECTED]:2401/usr/cvs
CVS password:
cvs [login aborted]: connect to 192.168.0.4(192.168.0.4):2401 failed:
Connection refused

i have tryed it with and without passwd, the same result.
The user fredy does exists as a user in the system !

have anybody another idea ;-)

Fredy

-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag
von Larry Jones
Gesendet: Donnerstag, 14. Februar 2002 18:51
An: Softwareentwicklung Hauschel
Cc: [EMAIL PROTECTED]
Betreff: Re: AW: login - connection refused


Softwareentwicklung Hauschel writes:

 /usr/cvs/CVSROOT
 CVSROOT is the directory that was reated by cvs ... init
 is it the right path after --allow-root=

No.  /usr/cvs is your repository, CVSROOT is a top-level directory in
the repository.  What comes after --allow-root= is just the repository
name and must match *exactly* what you use in your $CVSROOT
specification.  So, you want --allow-root=/usr/cvs (with no trailing
slash, please); and your $CVSROOT should be something like:

:pserver:[EMAIL PROTECTED]:/usr/cvs

(again, with no trailing slash, please).

-Larry Jones

I've got to start listening to those quiet, nagging doubts. -- Calvin

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


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



Re: AW: login - connection refused

2002-02-14 Thread Larry Jones

Softwareentwicklung Hauschel writes:
 
 cvs [login aborted]: connect to 192.168.0.4(192.168.0.4):2401 failed:
 Connection refused

That means that inetd is not listening for connections to port 2401. 
Look in your syslog for error messages from inetd.  If there aren't any,
try running inetd in debug mode.  Check your /etc/services file to be
sure that cvspserver is defined correctly.

-Larry Jones

I wonder if I can grow fangs when my baby teeth fall out. -- Calvin

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