Hi Everyone,
I have, for the first time, installed and minimally configured a cvs server on a CentOS 5 box. I followed a "how to" to do the initial configuration, so I'm sure I haven't done anything wrond (according to the "how to", anyway). But, I keep getting this error:
$ CVSROOT=:pserver:ksandhu@kermit:/var/cvs/asterisk $ cvs login Logging in to :pserver:ksandhu@kermit:2401/var/cvs/asterisk CVS password: /var/cvs/asterisk: no such repository
/var/cvs/asterisk exists, and it's been initialized like so:
sudo cvs -d /var/cvs asterisk init
I also created "cvsuser" and "cvsadmin", which I've used to set permissions and ownership on /var/cvs/asterisk:
drwxrwsr-x 3 cvsuser cvsadmin 4096 Aug 20 14:00 /var/cvs/asterisk
I'm stumped. I can't figure out why cvs keeps saying the repository doesn't exist. I'm missing something critical, obviously.
Does anyone have any ideas about what I'm doing wrong?
Regards,
Ranbir
On Mon, 2007-08-20 at 15:05 -0400, Kanwar Ranbir Sandhu wrote:
I'm stumped. I can't figure out why cvs keeps saying the repository doesn't exist. I'm missing something critical, obviously.
Does anyone have any ideas about what I'm doing wrong?
I figured it out. Since I setup a couple of repositories, I had to change the existing --allow-root parameter in /etc/xinetd.d/cvs from /var/cvs to /var/cvs/asterisk, and add another one for the other repository. So, the server_args line now looks like this:
server_args = -f --allow-root=/var/cvs/asterisk --alow-root=/var/cvs/openser pserver
I restarted xinetd after the change, and then logging into the cvs repos worked just fine.
I hope that helps someone in the future.
Regards,
Ranbir