Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cvs server question
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
jaltiere
n00b
n00b


Joined: 24 Mar 2004
Posts: 4

PostPosted: Sun Mar 28, 2004 5:49 am    Post subject: cvs server question Reply with quote

I'm trying to get my cvs server running and I'm running into this error mesage when I try to add a file:

cannot open CVS/Entries for reading: No such file or directory
[add aborted]: no repository

I've searched for hours to try and figure out how to resolve this but I haven't found anything that worked.

Background info:
I'm running this through pserver, here is my cvspserver config file:

Code:

service cvspserver
{
    disable = no
    socket_type = stream
    wait = no
    user = root
    group = root
    log_type = FILE /var/log/cvspserver
    protocol = tcp
    env = HOME=/home/cvs
    log_on_failure += USERID
    port = 2401
    server = /usr/bin/cvs
    server_args = -f --allow-root=/home/cvs/repository pserver
}


I'm trying to make /home/cvs/repository the base directory for the repository. I'm using wincvs from another computer to try and add files, I can connect to the server and login, I just can't add any files. My guess is that something in the above file is wrong, but I'm not sure.

Can someone please help me out here? I'm going CRAZY!!!
_________________
Jack Altiere
Web Developer
Back to top
View user's profile Send private message
jaltiere
n00b
n00b


Joined: 24 Mar 2004
Posts: 4

PostPosted: Sun Mar 28, 2004 10:33 pm    Post subject: Reply with quote

anyone?
_________________
Jack Altiere
Web Developer
Back to top
View user's profile Send private message
jaltiere
n00b
n00b


Joined: 24 Mar 2004
Posts: 4

PostPosted: Tue Mar 30, 2004 12:37 am    Post subject: Reply with quote

one more try........
_________________
Jack Altiere
Web Developer
Back to top
View user's profile Send private message
pmatos
Veteran
Veteran


Joined: 06 Jun 2003
Posts: 1246
Location: Eckental, Germany

PostPosted: Mon May 10, 2004 7:28 pm    Post subject: Re: cvs server question Reply with quote

Hi,

Here's mine:

Code:
descartes root # cat /etc/xinetd.d/cvspserver
service cvspserver
{
        disable         = no
        socket_type     = stream
        wait            = no
        user            = cvs
        group           = cvs
        log_type        = FILE /var/log/cvspserver
        protocol        = tcp
        env             = HOME=/var/cvsroot
        log_on_failure  += USERID
        port            = 2401
        server          = /usr/bin/cvs
        server_args     = -f --allow-root=/var/cvsroot pserver
}


But your problem is that you haven't started a repository at /home/cvs...

Try:

Code:
cvs -d /usr/local/cvsroot init


Here's a stepbystep guide:
http://www.cvshome.org/docs/manual/cvs-1.11.15/cvs_2.html#SEC23

Good luck,

Cheers,

Paulo Matos

jaltiere wrote:
I'm trying to get my cvs server running and I'm running into this error mesage when I try to add a file:

cannot open CVS/Entries for reading: No such file or directory
[add aborted]: no repository

I've searched for hours to try and figure out how to resolve this but I haven't found anything that worked.

Background info:
I'm running this through pserver, here is my cvspserver config file:

Code:

service cvspserver
{
    disable = no
    socket_type = stream
    wait = no
    user = root
    group = root
    log_type = FILE /var/log/cvspserver
    protocol = tcp
    env = HOME=/home/cvs
    log_on_failure += USERID
    port = 2401
    server = /usr/bin/cvs
    server_args = -f --allow-root=/home/cvs/repository pserver
}


I'm trying to make /home/cvs/repository the base directory for the repository. I'm using wincvs from another computer to try and add files, I can connect to the server and login, I just can't add any files. My guess is that something in the above file is wrong, but I'm not sure.

Can someone please help me out here? I'm going CRAZY!!!

_________________
Paulo Matos
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