LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   pserver (https://www.linuxquestions.org/questions/linux-newbie-8/pserver-712411/)

raghurani 03-18-2009 12:26 AM

pserver
 
Hi,

I am unable to set up pserver for CVS in ubuntu
I was able to do it in redhat 7.2. but the same is not working in ubuntu.

The default path it is recognizing which is /var/lib/cvsd/

I have the OS in one harddisk and data in another. How do I set the path now? HDD3 is where my data is and HDD1 is where I have OS installed!!!!!!!!!!!Hope Iam clear.

TB0ne 03-18-2009 12:46 PM

Quote:

Originally Posted by raghurani (Post 3479006)
Hi,

I am unable to set up pserver for CVS in ubuntu
I was able to do it in redhat 7.2. but the same is not working in ubuntu.

The default path it is recognizing which is /var/lib/cvsd/

I have the OS in one harddisk and data in another. How do I set the path now? HDD3 is where my data is and HDD1 is where I have OS installed!!!!!!!!!!!Hope Iam clear.

No, not very clear at all. HDD1 and HDD3 don't say where your partitions are. And did you Google for this?

You need to modify your project path, to point to the new location. These pages may help:

http://www.korayguclu.de/index.php?&...vs.pserver.xml
http://pwet.fr/man/linux/formats/pserver

If you type in "man pserver", it will point you to the location of the config file (usually /etc/cvsnt/PServer). Edit it accordingly, and restart pserver.

raghurani 03-19-2009 12:08 AM

pserver
 
Hi,

Thanks for the link. here is the information about the OS
1. The version of OS is UBUNTU 8.10
2. The default path when I install CVS it is taking it as /var/lib/cvsd
3. The xinetd.d I had to install and it is under /etc.
4. I Opened the file cvspserver
service cvspserver
{
socket_type = stream
protocol = tcp
wait = no
user = root
server_args = --allow-root=/projects/testcvs pserver
}
I have given execute persmission to the file and restarted xinetd service.
The project data is in /projects/testcvs
I have used cvs -d /projects/testcvs init to initialise the repository
I have set group to the repository ie., cvsd and changed the group owner to be cvsd.


I tried checking out but the message says
Logging in to :pserver:devarani@ubuntucvsserver:2401:/projects/testcvs
cvs [login aborted]: unrecognized auth response from ubuntuCVSserver: cvs [pserver aborted]: /projects/testcvs: no such repository

What do I do?

I know this message says that it is unable to find the repository path.
right now I have not set a seperate harddisk for the data as I am in the process of setting up the server. I have not put the data and OS in two different harddisks. I plan to do that after my server works for the path I have set. Hope I am now clear. Have I done anything wrong here.

TB0ne 03-19-2009 10:22 AM

Quote:

Originally Posted by raghurani (Post 3480261)
Hi,

Thanks for the link. here is the information about the OS
1. The version of OS is UBUNTU 8.10
2. The default path when I install CVS it is taking it as /var/lib/cvsd
3. The xinetd.d I had to install and it is under /etc.
4. I Opened the file cvspserver
service cvspserver
{
socket_type = stream
protocol = tcp
wait = no
user = root
server_args = --allow-root=/projects/testcvs pserver
}
I have given execute persmission to the file and restarted xinetd service.
The project data is in /projects/testcvs
I have used cvs -d /projects/testcvs init to initialise the repository
I have set group to the repository ie., cvsd and changed the group owner to be cvsd.


I tried checking out but the message says
Logging in to :pserver:devarani@ubuntucvsserver:2401:/projects/testcvs
cvs [login aborted]: unrecognized auth response from ubuntuCVSserver: cvs [pserver aborted]: /projects/testcvs: no such repository

What do I do?

I know this message says that it is unable to find the repository path.
right now I have not set a seperate harddisk for the data as I am in the process of setting up the server. I have not put the data and OS in two different harddisks. I plan to do that after my server works for the path I have set. Hope I am now clear. Have I done anything wrong here.

Well, the message says:

Quote:

cvs [login aborted]: unrecognized auth response from ubuntuCVSserver:
Indicating bad user name/password. Since you're moving from one server to another, did you add the users into CVS? Set the passwords?

raghurani 03-19-2009 11:18 PM

Re: pserver
 
Hi,

I have created the users afresh. I have not imported any users, nor i have imported any repositories. I wanted to ensure it works before I did that.


All times are GMT -5. The time now is 01:37 PM.