Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems setting up a CVS server
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Arioch84
n00b
n00b


Joined: 15 Jul 2004
Posts: 37

PostPosted: Tue Jul 05, 2005 6:01 pm    Post subject: Problems setting up a CVS server Reply with quote

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
View user's profile Send private message
Arioch84
n00b
n00b


Joined: 15 Jul 2004
Posts: 37

PostPosted: Fri Jul 08, 2005 12:23 am    Post subject: Re: Problems setting up a CVS server Reply with quote

*bump*
_________________
"It seems reality destroys our dreams..."
-- Robert Smith (The Cure)
Back to top
View user's profile Send private message
rex123
Apprentice
Apprentice


Joined: 21 Apr 2004
Posts: 272

PostPosted: Fri Jul 08, 2005 9:26 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum