View previous topic :: View next topic |
Author |
Message |
Arioch84 n00b


Joined: 15 Jul 2004 Posts: 37
|
Posted: Tue Jul 05, 2005 6:01 pm Post subject: Problems setting up a CVS server |
|
|
Hi guys
I'm having troubles setting up a cvs server. The daemon is running but it's not accepting any connections:
Code: |
penumbra cvs # cvs login
Logging in to :pserver:anoncvs@localhost:2401/var/lib/cvsd/cvs
CVS password:
cvs [login aborted]: reading from server: Connection reset by peer
penumbra cvs #
|
These are the steps I've taken so far:
Code: |
emerge cvsd
groupadd cvs
useradd -m -G cvs -s /bin/false anoncvs
added "Repos /var/lib/cvsd/cvs" to /etc/cvsd/cvsd.conf
cd /var/lib/cvsd/
mkdir cvs
chown anoncvs /var/lib/cvsd/ -R
cvs -d /var/lib/cvsd/cvs init
cd /var/lib/cvsd/cvs/CVSROOT
echo "anoncvs" >> readers
echo >> readers
echo "anoncvs" >> writers
echo >> writers
cvsd-passwd /var/lib/cvsd/cvs/ +anoncvs
/etc/init.d/cvsd start
export CVSROOT=:pserver:anoncvs@localhost:/var/lib/cvsd/cvs
cvs login
|
logfile:
Code: |
Jul 5 17:44:56 penumbra cvsd[12583]: connection from 127.0.0.1 55782
Jul 5 17:44:56 penumbra cvsd[12583]: cvs command exited with exit-status 1
Jul 5 17:45:49 penumbra cvsd[12583]: connection from 127.0.0.1 55783
Jul 5 17:45:49 penumbra cvsd[12583]: cvs command exited with exit-status 1
|
Could somebody please help me out? I can't figure it out what the problem is because the error/log messages aren't very helpfull... _________________ "It seems reality destroys our dreams..."
-- Robert Smith (The Cure) |
|
Back to top |
|
 |
Arioch84 n00b


Joined: 15 Jul 2004 Posts: 37
|
Posted: Fri Jul 08, 2005 12:23 am Post subject: Re: Problems setting up a CVS server |
|
|
*bump* _________________ "It seems reality destroys our dreams..."
-- Robert Smith (The Cure) |
|
Back to top |
|
 |
rex123 Apprentice

Joined: 21 Apr 2004 Posts: 272
|
Posted: Fri Jul 08, 2005 9:26 am Post subject: |
|
|
What happens if you don't try to use pserver? eg Code: | cvs -d /var/lib/cvsd/cvs checkout YOURMODULE |
Does the cvs user have permission to access the /var/lib/cvsd/cvs directory? |
|
Back to top |
|
 |
|