LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   help to setup the cvs daemon (https://www.linuxquestions.org/questions/%2Absd-17/help-to-setup-the-cvs-daemon-303281/)

eduac 03-18-2005 02:57 PM

help to setup the cvs daemon
 
hi fellas,

i need a urgent help to setup the cvs server on my freebsd 5.3:

This is my steps to make this daemon work on:

my cvsd.conf
Code:

RootJail /var/lib/cvsd
Uid cvsd
Gid cvsd
Nice 1
Umask 027
PidFile /var/run/cvsd.pid
Listen * 2401
MaxConnections 10
Log syslog info
Log /var/log/cvsd.log error
Repos /jsp

my .bashrc
Code:

export CVSROOT='/var/lib/cvsd'
the commands that i type to install the cvsd are:
Code:

cd /usr/ports/devel/cvsd
make install clean

cvsd-buildroot /var/lib/cvsd
cvs -d /var/lib/cvsd/jsp

cd /usr/local/jakarta-tomcat5.0/webapps/ROOT/
cvs import jsp v-1 start

chown -R cvsd:cvsd /var/lib/cvsd/jsp/jsp

cvsd-passwd /var/lib/cvsd/jsp/jsp +userx

/usr/local/etc/rc.d/cvsd.sh start

This is the command to log in on cvs from my computer:
Code:

cvs -d : pserver:userx@ip_of_the_server:/jsp login
Until now, everything is fine, but when i type this command:
Code:

cvs checkout jsp
This error message appears to me:
Code:

Cannot access /jsp/CVSROOT
No such file or directory


Anybody knows what that i make wrong? I lost two days trying to setup this server, until now, nothing works. :(

frob23 03-18-2005 09:38 PM

Try
Code:

cvs -d /var/lib/cvsd/jsp init
This should create /var/lib/cvsd/jsp/CVSROOT which appears to be what you are missing.


All times are GMT -5. The time now is 05:40 AM.