LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-19-2010, 02:04 PM   #1
supreed
LQ Newbie
 
Registered: Oct 2006
Posts: 10

Rep: Reputation: 0
CVS Installation Issues


I am trying to install CVS in a HP server with Redhat Server version running. I got my repositiory created in /usr/local/cvsroot, i had changed the user permissions and group for this directory. I had written a file named cvspserver and saved in /etc/xinetd.d directory.
I am able to check in and check out files from and to this repository using local cvs commands.
But when i try to connect to the same repository using pserver from the same machine, i am getting an error "/usr/local/cvsroot reposiory not found".
CVSROOT, the environment variable is set as CVSROOT=server@localhost:/usr/local/cvsroot. Please help....
 
Old 04-20-2010, 08:01 AM   #2
hda7
Member
 
Registered: May 2009
Distribution: Debian wheezy
Posts: 252

Rep: Reputation: 31
Did you pass the --allow-root=/usr/local/cvsroot option to the pserver?

Also, please post the value of your CVSROOT again in a code block (it generated an emoticon).
 
Old 04-21-2010, 10:03 AM   #3
supreed
LQ Newbie
 
Registered: Oct 2006
Posts: 10

Original Poster
Rep: Reputation: 0
CVS Installation issues

Thanks for the reply. I guess the combination of =: and p has turned into an emmoticon. its CVSROOT = server@localhost:/usr/local/cvsroot . I tried to log the messages generated by the pserver and i found the message logged as "login denied to /usr/local/cvsroot" . I tried to login as root@localhost, but the same error is comming. I tried chmod 777 to cvsroot dirctory, even then things didnt work.

in cvspserver file "--allow-root=/usr/local/cvsroot " option is given. but there -f in between. i dont know the significance of -f there.

regards
Supreed
 
Old 04-21-2010, 11:22 AM   #4
hda7
Member
 
Registered: May 2009
Distribution: Debian wheezy
Posts: 252

Rep: Reputation: 31
It happened again...you have a in your value. It is caused by
Code:
:p
Try setting CVSROOT to
Code:
:pserver:localhost/usr/local/cvsroot
if that doesn't work, check if your /usr/local/cvsroot/CVSROOT/passwd, readers, and writers files are set up correctly. Note that you must omit any trailing :'s in your passwd file.
 
Old 04-21-2010, 11:22 AM   #5
hda7
Member
 
Registered: May 2009
Distribution: Debian wheezy
Posts: 252

Rep: Reputation: 31
By the way, the "-f" just means to not load the ~/.cvsrc file
 
Old 04-22-2010, 01:27 PM   #6
supreed
LQ Newbie
 
Registered: Oct 2006
Posts: 10

Original Poster
Rep: Reputation: 0
CVS Installation Issues

Hi,
Thanks for the reply. I am able to overcome the problem which I had posted before. But a new problem has surfaced.

I am able to login to cvs server as root@localhost from the local machine. But when i tried to login from a remote PC using WinCVS, it dosent allow to log in as root. So i created another user named cvs. But when i tried to import the project using this user name, i got the following error

cvs import -m "hello" seccvs second start
cvs server: cannot open /usr/local/cvsroot/CVSROOT/cvswrappers: Permission denied
cvs import: cannot open /home/cvs/.cvsignore: Permission denied
cvs import: cannot open /usr/local/cvsroot/CVSROOT/verifymsg: Permission denied
cvs import: cannot make path to /usr/local/cvsroot/seccvs: Permission denied
cvs import: failed to create lock directory for `/usr/local/cvsroot/seccvs' (/usr/local/cvsroot/seccvs/#cvs.lock): No such file or directory
cvs import: lock failed - giving up
N seccvs/sec.txt
cvs import: ERROR: cannot write file /usr/local/cvsroot/seccvs/sec.txt,v: No such file or directory

No conflicts created by this import


cvs import: cannot open /usr/local/cvsroot/CVSROOT/loginfo: Permission denied[/COLOR]

How to solve this issue...

Regards
Supreed

Last edited by supreed; 04-22-2010 at 01:28 PM.
 
Old 04-22-2010, 02:46 PM   #7
hda7
Member
 
Registered: May 2009
Distribution: Debian wheezy
Posts: 252

Rep: Reputation: 31
Does the cvs user have a corresponding system account? If so, does that account have read and list (execute) permissions on the project directories?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cvs checkin issues noir911 Linux - Server 1 04-07-2009 12:22 AM
cvs repository cvs-1.11.21.tar.gz installation problem on redhat 5 linux version ajaytiwary Linux - Newbie 1 09-30-2007 12:58 PM
Issues with CVS fewynmotosuwa Linux - Software 3 02-02-2006 11:38 PM
CVS issues def1014 Linux - General 1 01-06-2003 11:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration