Setting up CVS
I'm trying to setup CVS on a Linux box. I've created the directory for the repository, and set CVSROOT. When I try to import a project, I get the error: cvs import: No CVSROOT specified! Please use the `-d' option cvs [import aborted]: or set the CVSROOT environment variable. Immediately after that, I display the environment variable and get the following echo $CVSROOT /backups.save/CVS Directory CVS *DOES* exist under /backups.save as shown: ls -l /backups.save/CVS total 0 drwxr-xr-x 2 michael users 48 2004-09-13 08:37 CVSROOT What am I doing wrong? It appears that CVS is ignoring the CVSROOT environment variable. ___ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs
Re: Setting up CVS
Michael, Maybe you are thinking that it is set but it is not. If you're using bash and the command set to set it, it does not set the ENVIRONMENTAL variable. To set it use the command export. Each shell has its own command (csh is setenv). To avoid this mistake, use the -d option telling your CVSROOT as in cvs -d /backups.save/CVS Fernando Silveira. Michael Satterwhite wrote: I'm trying to setup CVS on a Linux box. I've created the directory for the repository, and set CVSROOT. When I try to import a project, I get the error: cvs import: No CVSROOT specified! Please use the `-d' option cvs [import aborted]: or set the CVSROOT environment variable. Immediately after that, I display the environment variable and get the following echo $CVSROOT /backups.save/CVS Directory CVS *DOES* exist under /backups.save as shown: ls -l /backups.save/CVS total 0 drwxr-xr-x 2 michael users 48 2004-09-13 08:37 CVSROOT What am I doing wrong? It appears that CVS is ignoring the CVSROOT environment variable. ___ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs -- Fernando Silveira | [EMAIL PROTECTED] +55 (11) 3371-9515 | NewPOS International LLC ___ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs
Re: Setting up CVS
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Satterwhite [EMAIL PROTECTED] writes: I'm trying to setup CVS on a Linux box. I've created the directory for the repository, and set CVSROOT. When I try to import a project, I get the error: cvs import: No CVSROOT specified! Please use the `-d' option cvs [import aborted]: or set the CVSROOT environment variable. Immediately after that, I display the environment variable and get the following echo $CVSROOT /backups.save/CVS Directory CVS *DOES* exist under /backups.save as shown: ls -l /backups.save/CVS total 0 drwxr-xr-x 2 michael users 48 2004-09-13 08:37 CVSROOT What am I doing wrong? It appears that CVS is ignoring the CVSROOT environment variable. If you are using a bourne shell variant export CVSROOT if you are using a C shell variant (csh or tcsh) setenv CVSROOT /backup.save/CVS just because you have a local variable in your shell does not mean that the cvs command wil lsee it. Also, you will want to make sure that the repository is initialized: cvs -d /backups.save/CVS init -- Mark -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQFBRa8o3x41pRYZE/gRAjPBAKCxaO5BBc1rGTV8bb2oKb1a5f18IQCfeJ+a WI/IBgYgxJCLiRAhnqDXcj0= =tw+U -END PGP SIGNATURE- ___ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs
Re: Setting up CVS *SOLVED*
Mark D. Baushke wrote: If you are using a bourne shell variant export CVSROOT That was it. I had an extra t in export. Obviously, bash didn't recognize it. Thanks for the help. I must have looked at that a dozen times without recognizing the misspelled word ___ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs
RE: Setting up CVS
Sounds like you did not do a cvs init before your import. The command creates the $CVSROOT/CVSROOT dir, which contains your control files... -chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Michael Satterwhite Sent: Monday, September 13, 2004 10:02 AM To: [EMAIL PROTECTED] Subject: Setting up CVS I'm trying to setup CVS on a Linux box. I've created the directory for the repository, and set CVSROOT. When I try to import a project, I get the error: cvs import: No CVSROOT specified! Please use the `-d' option cvs [import aborted]: or set the CVSROOT environment variable. Immediately after that, I display the environment variable and get the following echo $CVSROOT /backups.save/CVS Directory CVS *DOES* exist under /backups.save as shown: ls -l /backups.save/CVS total 0 drwxr-xr-x 2 michael users 48 2004-09-13 08:37 CVSROOT What am I doing wrong? It appears that CVS is ignoring the CVSROOT environment variable. ___ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs ___ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs
Re: Help setting up CVS for multiple users/projects
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Keyser Soze [EMAIL PROTECTED] writes: I need to access CVS via SSH. I would like to have several different product modules with different users having different access rights to each one. For example, I have projects 1-5 and users 1-5 and I would like to have access something like Project 1 users 1, 2, 3, 4 5 Project 2 users 1, 2, 3 5 Project 3 users 1, 3 4 Project 4 users 2, 4 5 Project 5 users 2 3 If a user has access, they have both read and write access. I first looked at the chrooted CVS through SSH as discussed here http://www.idealx.org/prj/idx-chrooted-ssh-cvs/dist/chrooted-ssh-cvs-server.html by using the scripts at http://www.informatimago.com/linux/chrooted-ssh-cvs. However, I could not see how a single user could have access to more then one project. How can I do this? In a typical situation, this might be accomplished using unix group permissions. You would have five separate groups that correspond to projects 1 thru 5. Membership in the groups would allow access to the particular repository. The directory that contains the parent of the CVSROOT directory would be given user 'root' and one of the five new groups along with 2770 permissions. This means that users who are not a member of the appropriate group will not be able to do anything with the $CVSROOT tree. Example: one machine server.dom.ain for Project 1 mkdir /proj1-only chown root:proj1 /proj1-only chmod ug+rwx,g+s,o= /proj1-only cvs -d /proj1-only/project1 init for Project 2 mkdir /proj2-only chown root:proj2 /proj2-only chmod ug+rwx,g+s,o= /proj2-only cvs -d /proj2-only/project2 init for Project 3 mkdir /proj3-only chown root:proj3 /proj3-only chmod ug+rwx,g+s,o= /proj3-only cvs -d /proj3-only/project3 init for Project 4 mkdir /proj4-only chown root:proj4 /proj4-only chmod ug+rwx,g+s,o= /proj4-only cvs -d /proj4-only/project4 init for Project 5 mkdir /proj5-only chown root:proj5 /proj5-only chmod ug+rwx,g+s,o= /proj5-only cvs -d /proj5-only/project5 init now users 1,2,3,4,5 are added to /etc/group as appropriate proj1:*:user1,user2,user3,user4,user5 proj2:*:user1,user2,user3,user5 proj3:*:user1,user3,user4 proj4:*:user2,user4,user5 proj5:*:user2,user3 a 'cvs -d server.dom.ain:/proj1-only/project1 checkout CVSROOT' command will work for users in group proj1, but not any other users. a 'cvs -d server.dom.ain:/proj2-only/project2 checkout CVSROOT' command will work for users in group proj2, but not any other users. a 'cvs -d server.dom.ain:/proj3-only/project3 checkout CVSROOT' command will work for users in group proj3, but not any other users. a 'cvs -d server.dom.ain:/proj4-only/project4 checkout CVSROOT' command will work for users in group proj4, but not any other users. a 'cvs -d server.dom.ain:/proj5-only/project5 checkout CVSROOT' command will work for users in group proj5, but not any other users. It would also be possible to add a project 4b to the /proj4-only directory that only project4 users could access. Good luck, -- Mark -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQFANjRO3x41pRYZE/gRAldnAKDGkDhKusg1JlQqcINg4bdZqXuV8ACgyZPD ARFrhJqMrIKsliYHhT/UL40= =RTjm -END PGP SIGNATURE- ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Help setting up CVS for multiple users/projects
I need to access CVS via SSH. I would like to have several different product modules with different users having different access rights to each one. For example, I have projects 1-5 and users 1-5 and I would like to have access something like Project 1 users 1, 2, 3, 4 5 Project 2 users 1, 2, 3 5 Project 3 users 1, 3 4 Project 4 users 2, 4 5 Project 5 users 2 3 If a user has access, they have both read and write access. I first looked at the chrooted CVS through SSH as discussed here http://www.idealx.org/prj/idx-chrooted-ssh-cvs/dist/chrooted-ssh-cvs-server.html by using the scripts at http://www.informatimago.com/linux/chrooted-ssh-cvs. However, I could not see how a single user could have access to more then one project. How can I do this? -- ___ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Setting up CVS server on Linux
Larry Jones wrote: Yanglong Zhu writes: Fatal error, aborting. cvs: no such user *Is* there a user named cvs on that system (the server)? If not, why are you trying to run as that user? Good question. That single sentence made me aware that CVS does need a valid OS user for writing. Karl Fogel and Moshe Bar seem to impress me otherwise. Now I aliased the file/fold owner to a OS user cvs_user in the passwd file in the CVSROOT. But it still causes problems. For example, I modified a file (index.html), then tried to update cvs -d :pserver:[EMAIL PROTECTED]/path/to/CVSrootDir update cvs server: cannot open /root/.cvsignore: Permission denied cvs server: Updating sequeN cvs server: conflict: sequeN/index.html is modified but no longer in the repository C sequeN/index.html When I issue commit, I got this: cvs -d :pserver:[EMAIL PROTECTED]/path/to/CVSrootDir commit -m Test commit cvs commit: Examining sequeN cvs server: Up-to-date check failed for `sequeN/index.html' cvs [server aborted]: correct above errors first! I think this is permission problem. There are two sets of permissions. The OS level permission and the CVS system permission. I am completely confused about the CVS permissions. How do they work? -Larry Jones In my opinion, we don't devote nearly enough scientific research to finding a cure for jerks. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Setting up CVS server on Linux
Yanglong Zhu writes: Fatal error, aborting. cvs: no such user *Is* there a user named cvs on that system (the server)? If not, why are you trying to run as that user? -Larry Jones In my opinion, we don't devote nearly enough scientific research to finding a cure for jerks. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Setting up CVS server on Linux
Hi there, I posted the problem earlier when I was terribly confused. I now try to present it more clearly. I am trying to set up a CVS pserver on a Linux box. But I can only login and checkout from the local box, cannot checkout from a remote box although I can login from a remote box. From nowhere can I commit into the repository. I tried both Fedora Core 1, and RedHat 8.0. They behave the same way. When issue commit command, I get cvs commit: Examine seq ... Fatal error, aborting. cvs: no such user What could be the problem? My guess is the pserver somehow cannot read/process the passwd file properly. Yet I can login, even checkout. Thanks ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: setting up cvs and cvsweb....
When I try to access CVSWEB from the web server, I'm getting an error indicating an error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. It is actually a webserver's failure. What is there actually in the server error log (as the nice error message suggests :) ? -- Julien ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: setting up cvs and cvsweb....
bruce [EMAIL PROTECTED] writes: I'm trying to install CVS and CVSWEB on a Linux RH8.0 box. I'm running Apache. okay. I think I have CVS working... but I'm not really sure!!! are you able to 'cvs checkout CVSROOT' ? I have CVSROOT set to -- :ext:[EMAIL PROTECTED]:/CVS So, you plan to use either rsh or ssh as your transport depending on the value of your CVS_RSH environment variable. When I try to access CVSWEB from the web server, I'm getting an error indicating an error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. It would be best if you get cvs working first and then looked at getting cvsweb working. Note that 'viewcvs' is considered by many to be 'better' than 'cvsweb' but both should work fine once you get a working cvs server. within my /etc/profile, i have tried... CVSROOT=/CVS # CVSROOT=:pserver:[EMAIL PROTECTED]:/CVS # CVSROOT=:pserver:[EMAIL PROTECTED]:/CVS # CVSROOT=:ext:[EMAIL PROTECTED]:/CVS are you exporting these variables externally? export CVSROOT after you have set them? within /etc/xinetd.d/cvspserver.. i have service cvspserver { port= 2401 disable = no socket_type = stream protocol= tcp wait= no user= root #passenv = PATH server = /usr/bin/cvs #env = HOME=/home/CVSROOT server_args = -f --allow-root=/CVS pserver } I'm also trying to install Cvsweb. Treat this as two separate operations. Ignore cvsweb until you have cvs working. My questions I understand that you really want SSH for the security... But if I use CVSROOT=ext, do I need to change the cvspserver information, specifically the line that has pserver..??? If you are using :ext: then you are using '${CVS_RSH:-rsh} cvs server' to connect to the server. If you are using :pserver: then you are using the port 2401 connection method. The two are totally separate. If you have one, you do not need the other. You do not NEED to setup the cvspserver if you are going to use :ext: as it will never be used. If I don't use SSH... and just go with CVSROOT=\CVS, how does that change the line that has pserver??? If you are using \CVS bad things will happen as Redhat likes forward slashes like /CVS rather than backward slashes like \CVS. If you are using CVSROOT=/CVS then you are not using client/server mode at all and just accessing a local repository. How can I actually test this to make sure it works!!! Did you use 'make check' when you built cvs or are you using a prebuilt RPM that redhat ships? mkdir testit cd testit cvs -d /CVS init cvs -d /CVS checkout CVSROOT cd CVSROOT ls ;# you should see some files here ... does the above work for you? If so, then cvs is working in local mode. If you try it like this: mkdir testit cd testit cvs -d :ext:server2.mesa.com:/CVS init cvs -d :ext:server2.mesa.com:/CVS checkout CVSROOT cd CVSROOT ls ;# you should see some files here it will use the remote connection via either rsh or ssh depending on how you have set the CVS_RSH environment variable. Assuming I get this to work..what changes need to be made regarding CVSWEB. I try to get CVSWEB running and I get a log error saying that the cvsweb.cgi script is having an issue over an invalid character... I assume that I don't have CVS actually running correctly Seems likely... concentrate on first getting cvs working before playing with cvsweb. I'd like to basically insure that CVS is running.. and then get CVSWEB running... and then be able to access CVS via a remote server as well as a remote browser running CVSWEB Good, focus is good. :-) Good luck, -- Mark ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: setting up cvs and cvsweb....
the error msg from the log file stated that ...unrecognized character \xA7 of cvsweb.cgi -- line 897 i'm not convinced that's the real iisue though... because i'm not sure that CVS is actually working correctly. so it might be causing issues within the cvsweb app... bruce -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Julien Wajsberg Sent: Tuesday, July 29, 2003 12:59 AM To: [EMAIL PROTECTED] Subject: Re: setting up cvs and cvsweb When I try to access CVSWEB from the web server, I'm getting an error indicating an error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. It is actually a webserver's failure. What is there actually in the server error log (as the nice error message suggests :) ? -- Julien ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
setting up cvs and cvsweb....
Hi I'm trying to install CVS and CVSWEB on a Linux RH8.0 box. I'm running Apache. I think I have CVS working... but I'm not really sure!!! I have CVSROOT set to -- :ext:[EMAIL PROTECTED]:/CVS When I try to access CVSWEB from the web server, I'm getting an error indicating an error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. within my /etc/profile, i have tried... CVSROOT=/CVS # CVSROOT=:pserver:[EMAIL PROTECTED]:/CVS # CVSROOT=:pserver:[EMAIL PROTECTED]:/CVS # CVSROOT=:ext:[EMAIL PROTECTED]:/CVS within /etc/xinetd.d/cvspserver.. i have service cvspserver { port= 2401 disable = no socket_type = stream protocol= tcp wait= no user= root #passenv = PATH server = /usr/bin/cvs #env = HOME=/home/CVSROOT server_args = -f --allow-root=/CVS pserver } I'm also trying to install Cvsweb. My questions I understand that you really want SSH for the security... But if I use CVSROOT=ext, do I need to change the cvspserver information, specifically the line that has pserver..??? If I don't use SSH... and just go with CVSROOT=\CVS, how does that change the line that has pserver??? How can I actually test this to make sure it works!!! Assuming I get this to work..what changes need to be made regarding CVSWEB. I try to get CVSWEB running and I get a log error saying that the cvsweb.cgi script is having an issue over an invalid character... I assume that I don't have CVS actually running correctly I'd like to basically insure that CVS is running.. and then get CVSWEB running... and then be able to access CVS via a remote server as well as a remote browser running CVSWEB Any help/pointers/comments/criticisms/etc.. will be greatly appreciated... If you've actually set this up and are willing to help walk me through this process, I'd appreciate it... If you provide me with your contact information, we'll give you a call back. We're trying to get a better understanding/feeling as to how this should be set up. We're trying to modify some docs for the www.gforge.org app and it uses CVS/CVSWEB Thanks for your time and for any help you can shed on this. Thanks Bruce Douglas [EMAIL PROTECTED] (925) 866-2790 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of bruce Sent: Monday, July 28, 2003 6:06 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: using the .rhosts file with CVS Hi... I'm looking at seeting up CVS... I've seen some docs that state that you have to set up a .rhosts file for CVS. Can someone/anyone tell me why What purpose does it serve? Is there another way of setting up CVS without using the .rhosts file If it is indeed needed, can someone point to a detailed doc that actually describes in basic detail how to setup CVS. I have a Linux RH8.0 system... Thanks Bruce [EMAIL PROTECTED] ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
setting up cvs and cvsweb....
(Hey... forgot to mention that we've looked at the usual site..Google/cvs.ccvshome.org/etc... with mo real luck) Hi I'm trying to install CVS and CVSWEB on a Linux RH8.0 box. I'm running Apache. I think I have CVS working... but I'm not really sure!!! I have CVSROOT set to -- :ext:[EMAIL PROTECTED]:/CVS When I try to access CVSWEB from the web server, I'm getting an error indicating an error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. within my /etc/profile, i have tried... CVSROOT=/CVS # CVSROOT=:pserver:[EMAIL PROTECTED]:/CVS # CVSROOT=:pserver:[EMAIL PROTECTED]:/CVS # CVSROOT=:ext:[EMAIL PROTECTED]:/CVS within /etc/xinetd.d/cvspserver.. i have service cvspserver { port= 2401 disable = no socket_type = stream protocol= tcp wait= no user= root #passenv = PATH server = /usr/bin/cvs #env = HOME=/home/CVSROOT server_args = -f --allow-root=/CVS pserver } I'm also trying to install Cvsweb. My questions I understand that you really want SSH for the security... But if I use CVSROOT=ext, do I need to change the cvspserver information, specifically the line that has pserver..??? If I don't use SSH... and just go with CVSROOT=\CVS, how does that change the line that has pserver??? How can I actually test this to make sure it works!!! Assuming I get this to work..what changes need to be made regarding CVSWEB. I try to get CVSWEB running and I get a log error saying that the cvsweb.cgi script is having an issue over an invalid character... I assume that I don't have CVS actually running correctly I'd like to basically insure that CVS is running.. and then get CVSWEB running... and then be able to access CVS via a remote server as well as a remote browser running CVSWEB Any help/pointers/comments/criticisms/etc.. will be greatly appreciated... If you've actually set this up and are willing to help walk me through this process, I'd appreciate it... If you provide me with your contact information, we'll give you a call back. We're trying to get a better understanding/feeling as to how this should be set up. We're trying to modify some docs for the www.gforge.org app and it uses CVS/CVSWEB Thanks for your time and for any help you can shed on this. Thanks Bruce Douglas [EMAIL PROTECTED] (925) 866-2790 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of bruce Sent: Monday, July 28, 2003 6:06 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: using the .rhosts file with CVS Hi... I'm looking at seeting up CVS... I've seen some docs that state that you have to set up a .rhosts file for CVS. Can someone/anyone tell me why What purpose does it serve? Is there another way of setting up CVS without using the .rhosts file If it is indeed needed, can someone point to a detailed doc that actually describes in basic detail how to setup CVS. I have a Linux RH8.0 system... Thanks Bruce [EMAIL PROTECTED] ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: setting up cvs and cvsweb....
On Tue, Jul 29, 2003 at 12:37:58AM -0700, bruce wrote: I think I have CVS working... but I'm not really sure!!! Have you tested it? Do this on the command line : CVS_RSH=ssh CVSROOT=:ext:[EMAIL PROTECTED]:/CVS export CVS_RSH CVSROOT cvs co module (where module is a name of a module you have in CVS). I have CVSROOT set to -- :ext:[EMAIL PROTECTED]:/CVS Are you trying to use this CVSROOT in CVSWeb? Because CVSWeb cannot use a remote repository, it muts be ON lserver2.mesa.com, and use a CVSROOT like CVSROOT=/CVS. When I try to access CVSWEB from the web server, I'm getting an error indicating an error: Check the Apache error.log file. What is the error there? within my /etc/profile, i have tried... CVSROOT=/CVS This is the only one that will work. within /etc/xinetd.d/cvspserver.. i have service cvspserver This does not matter for CVSWeb. My questions I understand that you really want SSH for the security... But if I use CVSROOT=ext, do I need to change the cvspserver information, specifically the line that has pserver..??? ext and pserver are mutually exclusive. Assuming I get this to work..what changes need to be made regarding CVSWEB. I try to get CVSWEB running and I get a log error saying that the cvsweb.cgi script is having an issue over an invalid character... I assume that I don't have CVS actually running correctly No, that's a problem with the CGI. You might want to try ViewCVS, it's easier to get running: http://viewcvs.sourceforge.net/ I'd like to basically insure that CVS is running.. and then get CVSWEB running... and then be able to access CVS via a remote server as well as a remote browser running CVSWEB pserver doesn't have to be running to use CVS via SSH or locally (like CVSWeb uses). If you don't need pserver, don't run it. SSH is better. HTH, Rob Helmer ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Setting up CVS
Alright, thank you very much, I'll see if I can't get it up and running off this machine, if not I may try and talk them setting up a 2k/NT machine or a Linux box... Either way I've learned a lot and I may be back to ask more questions soon. Thanks again. -Kristopher G. Hollingsworth --- Fabian Cenedese [EMAIL PROTECTED] wrote: If possible use a WinNT+ machine as server so you can use cvsNT as service. (or even a linux machine, doesn't have to be powerful :) If not available you need to have a shared drive. cvs can cause problems on that, read in the mailing archives. But as you're Windows only it might work well. Then you need a client, be it the pure command line cvs or some GUI like WinCVS. After setting up the repository (on command line with simple 'cvs init S:\RepoPath' (S like shared drive, RepoPath what you like but preferably without spaces) you can continue with adding/importing/ checkouting :) /committing etc... bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs _ Free email at www.Z6.com ( and home of worldmap.com) _ Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, POP more! http://www.everyone.net/selectmail?campaign=tag ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Setting up CVS
Indeed, unfortunately I'm the new guy, and it's a small setup, and they've just been throwing stuff together for the past 30 years or so, simply to get it to work in the easiest way possible with the least amount of effort... It started as an accounting firm, and then a computer programmer or two came along... so I'm not to terribly happy with the setup. And I'm just a little intern, s I'm just trying to improve things a bit and only have a slight clue as to what I'm doing really... so I've spent most of my time reading through quite a bit of documentation and just doing research on ways for Source Code Management and other ways to improve security and the overall setup at work... But now my brain hurts and I'm off work, so I'm going to relax for a bit and come back for a bit more research... Thanks for the input. It's greatly appreciated. If possible use a WinNT+ machine as server so you can use cvsNT as service. (or even a linux machine, doesn't have to be powerful :) If not available you need to have a shared drive. cvs can cause problems on that, read in the mailing archives. But as you're Windows only it might work well. Then you need a client, be it the pure command line cvs or some GUI like WinCVS. After setting up the repository (on command line with simple 'cvs init S:\RepoPath' (S like shared drive, RepoPath what you like but preferably without spaces) you can continue with adding/importing/ checkouting :) /committing etc... bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Setting up CVS
Greetings, I'm trying to set up CVS for the first time and have no clue as to what I am doing, and I've read through a great deal of documentation, and am still completely lost at where to begin, so if someone could just point me in the right direction, it would be greatly appreciated, I'm setting it up on Windows 98, and really don't know where to begin... So thanks in advance for any help. -Kristopher G. Hollingsworth _ Free email at www.Z6.com ( and home of worldmap.com) _ Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, POP more! http://www.everyone.net/selectmail?campaign=tag ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Setting up CVS
Kristopher Hollingsworth wrote: Greetings, I'm trying to set up CVS for the first time and have no clue as to what I am doing, and I've read through a great deal of documentation, and am still completely lost at where to begin, so if someone could just point me in the right direction, it would be greatly appreciated, I'm setting it up on Windows 98, and really don't know where to begin... So thanks in advance for any help. What is your goal ? Are you going to have multiple machines access the repository ? Are you even going to set up a repository ? Like, what are you trying to do ? ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Setting up CVS
Yes, trying to set up a repository for Source Code, and the goal is to have it running on 3-4 machines here in the office, all on a LAN. All Windows machines. That's the goal, is just be able to have programmers at each workstation be able to access the code on this machine being used as the fileserver... -Kristopher G. Hollingsworth --- Gianni Mariani [EMAIL PROTECTED] wrote: What is your goal ? Are you going to have multiple machines access the repository ? Are you even going to set up a repository ? Like, what are you trying to do ? nfo-cvs _ Free email at www.Z6.com ( and home of worldmap.com) _ Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, POP more! http://www.everyone.net/selectmail?campaign=tag ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Setting up CVS
Kristopher Hollingsworth wrote: Yes, trying to set up a repository for Source Code, and the goal is to have it running on 3-4 machines here in the office, all on a LAN. All Windows machines. That's the goal, is just be able to have programmers at each workstation be able to access the code on this machine being used as the fileserver... I believe you're out of luck with Win98. You might be better of getting a linux box and running a pserver off that. You could also set up an NT/W2k machine as a CVS server. Has anyone tried using cvs directly with Windows shares running on Win98 ? (If I were you, I'd be very careful with this option and I'd test the heck out of it.) ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Setting up CVS
Indeed, unfortunately I'm the new guy, and it's a small setup, and they've just been throwing stuff together for the past 30 years or so, simply to get it to work in the easiest way possible with the least amount of effort... It started as an accounting firm, and then a computer programmer or two came along... so I'm not to terribly happy with the setup. And I'm just a little intern, s I'm just trying to improve things a bit and only have a slight clue as to what I'm doing really... so I've spent most of my time reading through quite a bit of documentation and just doing research on ways for Source Code Management and other ways to improve security and the overall setup at work... But now my brain hurts and I'm off work, so I'm going to relax for a bit and come back for a bit more research... Thanks for the input. It's greatly appreciated. -Kristopher G. Hollingsworth --- Gianni Mariani [EMAIL PROTECTED] wrote: Kristopher Hollingsworth wrote: Yes, trying to set up a repository for Source Code, and the goal is to have it running on 3-4 machines here in the office, all on a LAN. All Windows machines. That's the goal, is just be able to have programmers at each workstation be able to access the code on this machine being used as the fileserver... I believe you're out of luck with Win98. You might be better of getting a linux box and running a pserver off that. You could also set up an NT/W2k machine as a CVS server. Has anyone tried using cvs directly with Windows shares running on Win98 ? (If I were you, I'd be very careful with this option and I'd test the heck out of it.) _ Free email at www.Z6.com ( and home of worldmap.com) _ Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, POP more! http://www.everyone.net/selectmail?campaign=tag ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Setting Up CVS to email notifications
I'm reading through Version Management with CVS (Per Cederqvist), and I'm a bit confused how I set up mail notifcations for my end users. I would like CVS to contact a mail server and send mail from a CVS_Admin account to the User_In_Question account when a file is being watched. From my reading I understand that I need to create a file in CVSROOT called users and that I have to put in a line like: user_in_question:[EMAIL PROTECTED] and then uncomment the relevant line in CVSROOT/notify. Are my assumptions correct? How do I configure the server to mail from a particular account? How do I configure the message body of the email? Exactly how is this working? Thanks a ton! ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Setting up CVS for use with Pserver
Hello all, I have read the docs about setting up pserver and the permissions needed and all of that, but I don't see things working like they are documented. I have xinetd 2.3.0 and cvs is configured as such: service cvspserver { port= 2401 socket_type = stream protocol= tcp wait= no user= root passenv = server = /usr/local/bin/cvs server_args = --allow-root=/cvs pserver } /cvs is owned by cvsuser with the group of users. The permissions on the directory are 775. when I try to login as a user in the /cvs/CVSROOT/passwd file whois mapped to local user (not cvsuser) I get the following error: cvs server: cannot open /root/.cvsignore: Permission denied cvs [server aborted]: can't chdir(/root): Permission denied I am assuming I shouldn't be running the server as root, but maybe as the cvsuser user, but how do I do the directory permissions in this case since cvsuser surely won't be able to setuid to whatever user logs in. I have multiple projects where I want users added the project's group and be able to only read/write in their projects and be denide access for the other projects. Basically, I want a user's access based on what groups they are members of. I know that isn't exactly clear, but anyone out there want to take a stab at pointing me in the right direction? Docs or anything like that? Thanks, Patrick ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Setting Up CVS - RSH problems
Hello CVS Users, I am setting up CVS on a Solaris 7 system and am having trouble with the rsh command. According to section 2.9.2 (Connecting with rsh) of the CVS manual I need to be able to run this command... rsh -l bach faun.example.org 'echo $PATH' ...and get a result that contains a PATH which includes the location of the CVS program. Since I am using the Korn Shell I have setup the PATH in the .kshrc file on the remote system I am rsh'ing to. However, the result of the above command never contains the correct PATH. Actually, as far as I can tell the .kshrc file is never even sourced. I suppose this question is really all Unix and not really CVS, but I was hoping someone may have some thoughts on this. Any ideas? Thanks. _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Setting Up CVS - RSH problems
X X writes: According to section 2.9.2 (Connecting with rsh) of the CVS manual I need to be able to run this command... rsh -l bach faun.example.org 'echo $PATH' ...and get a result that contains a PATH which includes the location of the CVS program. Keep reading -- the next sentence has the solution to your problem: Alternately, you can set the environment variable CVS_SERVER on the client machine to the filename of the server you want to use, for example `/usr/local/bin/cvs-1.6'. -Larry Jones Somebody's always running my life. I never get to do what I want to do. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Setting up CVS - newbie - help
As to logging in, another alternative is to use ssh's auto-login ability. This may be overkill on a local network, but it works smoothly. We use it internally to maintain uniformity with the remote CVS servers over the insecure InterNet. There are some tools for migrating VSS-CVS if I recall. I've never done it personally. I'm still migrating some projects into CVS. I need to do another one now, in fact. I normally just make sure I have a clean copy of only files to check in, with directories, etc. and do an import. Do watch out for binaries, though. -- The real destroyer of the liberties of the people is he who spreads among them bounties, donations and benefits. - Plutarch ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Setting up CVS - newbie - help
Doh! I figured it out. I issued the same command with login instead of init first and it allowed me to enter a password. Then I able to init. Looks like I'm at least configured to connect remotely. Does anyone know how I would configure Visual SlickEdit to integrate like this? Do I login manually first or is there some way in Visual SlickEdit to integrate this passing back and forth of the password and then the initialization? Also, my other question, about where to import FROM still stands. Thanks. Preston ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Setting up CVS - newbie - help
I have decided to use CVS on Linux for developing a web application where I work. The idea is to run a Java web server (Tomcat, etc.) on the Linux box, along with CVS for version control. Now I have pserver up and running on boot (it least it looks good so far). It's configured to start by xinetd (the box is Redhat 7.2). So now where do I go from here? I come from the Visual SourceSafe world where I simply imported files into VSS via Visual Studio. Where do I start getting my CVS environment setup? Do I need to create directories in my Java web server path and import THOSE files? Or do I create a separate directory just for source, import those into the system and then somehow publish OUT of CVS into the Java web server directory where the application will reside. This is the big stumbling block for me right now. I'm confused (since I've only read limited documentation) as to what exactly is taking place when you import a directory. So I'm not aware of where exactly that directory we're importing should be located and what significance its location is really. Any direction on this would be very much appreciated. Lastly, I'm not sure exactly where my password is supposed to be stored. I mean, I've tried using the following command structure from my Windows box. c:\ cvs -d:\pserver:mylinuxusername@mylinuxip:/mycvsrootpath init And I get cvs init: authorization failed: server {mylinuxip} rejected access to {mycvsrootpath} for user {mylinuxusername} cvs init: used empty password; try cvs login with a real password So I'm not sure exactly at which point I'm supposed to be passing the password in. Hope someone can help me. I plan on learning CVS better soon, but I'd just like to get it up and running to prove proof of concept for what I'd like to do (Use Visual SlickEdit with CVS). Preston ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Setting up CVS for web access
I want to set up a CVS repository on my web page. I need to have only certain people allowed to access the repository, using a login and password. They need to be able to check source in and out and do builds. Is there a how-to on this? Any existing code? -- M. Edward (Ed) Borasky, Chief Scientist, Borasky Research http://www.borasky-research.net http://www.aracnet.com/~znmeb mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] If there's nothing to astrology, how come so many famous men were born on holidays? ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Setting up CVS repositery in unix
Hi I want to set up a repositery in a unix machine and windows NT clients should be able to access it.Please can u let me know how to do this Thanx Himanu = visit http://www.rasikadayarathna.net __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Setting UP CVS
"Derek R. Price" wrote: Well, they only need write permissions to directories they need write access to if you enable a LockDir directory they have write access to. And if the CVSROOT/history file exists I think they need write access to that too, but not to the CVSROOT directory itself. There might be a few other files in CVSROOT that require write access. val-tags and any log files you write to from the *info hooks, for instance. Derek -- Derek Price CVS Solutions Architect ( http://CVSHome.org ) mailto:[EMAIL PROTECTED] OpenAvenue ( http://OpenAvenue.com ) -- 106. I want to die peacefully, in my sleep, like my grandfather, not screaming, terrified, like his passengers. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Setting UP CVS
Matt Smith wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 1. cvsadminas a user or group? There is no 'cvsadmin' account. However, you should set up a cvs group, and add all the accounts that will use cvs to this group. Actually, CVS does respect a cvsadmin group. If it exists it restricts access to the 'cvs admin' command to users tof that group. What you said about the cvs group is a decent recommendation though. 2. I've setup up /usr/local/cvsroot filesystem. Who should own this filesystem. I've temporarily set it to dev as the group. But root owns the filesystem. You just have to make sure that the cvs group or user has read and write permission in the repository (but maybe not under CVSROOT). Well, they only need write permissions to directories they need write access to if you enable a LockDir directory they have write access to. And if the CVSROOT/history file exists I think they need write access to that too, but not to the CVSROOT directory itself. Derek -- Derek Price CVS Solutions Architect ( http://CVSHome.org ) mailto:[EMAIL PROTECTED] OpenAvenue ( http://OpenAvenue.com ) -- 155. I had a life once... now I have a computer and a modem. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Problem setting up CVS on linux
Jeff Thompson wrote: cvs server: cannot open /root/.cvsignore: Permission denied cvs [server aborted]: can't chdir(/root): Permission denied http://www.cvshome.org/docs/manual/cvs_21.html#SEC182 Derek -- Derek Price CVS Solutions Architect ( http://CVSHome.org ) mailto:[EMAIL PROTECTED] OpenAvenue ( http://OpenAvenue.com ) -- So he was probably not a Nazi. Did he believe in the Satanic ritual abuse? - Avi, in Neal Stephenson's _Cryptonomicon_ ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Problem setting up CVS on linux
I have set up a CVS repository and created a repository. I used a remote machine to import files into the repository (successfully). At this point I wanted to verify that things were working so I backed up the directory that I imported from and tried to do a "checkout" hoping to get the original files back. Instead, I got: cvs server: cannot open /root/.cvsignore: Permission denied cvs [server aborted]: can't chdir(/root): Permission denied When I started the repository (with cvs init) I wasn't root. Could somebody suggest what the source of my problem might be? Thanks in advance, Jeff T. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
setting up cvs for the first time -- suggestions wanted
Hi. I am attempting to use cvs for the first time and would appreciate any advice anyone has to offer that might help. Here's my setup... cvs server: Mac OS X cvs client(s): Win2000 Pro Mac OS X comes with cvs installed. I installed WinCVS on the machine running W2K. As for configuring the software, I'm not quite shure what to do. Has anyone put together a similar setup? What resources are there that might help me get the system working? I'd appreciate any advice available. -- Matt Munz [EMAIL PROTECTED] --- FREE! The World's Best Email Address @email.com Reserve your name now at http://www.email.com ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Project: Setting up CVS
On Wed, Aug 02, 2000 at 11:05:12AM -0500, John Tucker wrote: Once this message is received I can't use CVS for up to 5 minutes without getting that same error message. I can then use it as long as I don't submit 30 or more consecutive commands against the server again. Anything in the system logs on the cvs server side dealing with inetd? Something similar to: May 15 17:02:53 ylum inetd[92]: smtp/tcp server failing (looping), service terminated It may be that inetd is going into a mode where it thinks it's under a Denial Of Service attack, and shutting down the service for a few minutes. Maybe there's a way to tweak those settings. Or, get away from pserver and use client/server over rsh or, better, ssh. mrc -- Mike Castle Life is like a clock: You can work constantly [EMAIL PROTECTED] and be right all the time, or not work at all www.netcom.com/~dalgoda/ and be right at least twice a day. -- mrc We are all of us living in the shadow of Manhattan. -- Watchmen
RE: Project: Setting up CVS
Title: RE: Project: Setting up CVS Hi Tony, I looked at the man page for inetd and its discussion of the nowait.max parameter. It states the following: "The optional ``max'' suffix (separated from ``wait'' or ``nowait'' by a dot) specifies the maximum number of serverinstances that may be spawned from inetd within an interval of 60 seconds. When omitted, ``max'' defaults to 40." So I bumped 'max' up to 400 and tried flooding it with some consecutive commands just like before and after 60 commands itgave me the same error. cvs [remove aborted]: connect to 10.10.0.36:2401 failed: Connection refused Anyway, I'll try it with a lower max (like 100) and see what happens. Thanks -Original Message-From: Tony Cleveland [mailto:[EMAIL PROTECTED]]Sent: Wednesday, August 02, 2000 12:28 PMTo: 'John Tucker'; [EMAIL PROTECTED]Subject: RE: Project: Setting up CVS It could be the connection limit set by inetd, try upping the limit. In inetd.conf change cvspserver stream tcp nowait.40 root /usr/bin/cvs cvs --allow-root=/cvsroot to cvspserver stream tcp nowait.100 root /usr/bin/cvs cvs --allow-root=/cvsroot or to some other larger value. "man inetd" for more info. Tony -Original Message- From: John Tucker [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 02, 2000 12:05 PM To: [EMAIL PROTECTED] Subject: RE: Project: Setting up CVS Hello, After I hammer our Linux CVS server by performing 30 or more consecutive "cvs add file..." commands with a CVS client I consistently get the following error message: cvs [remove aborted]: connect to 10.10.0.36:2401 failed: Connection refused Once this message is received I can't use CVS for up to 5 minutes without getting that same error message. I can then use it as long as I don't submit 30 or more consecutive commands against the server again. Is this just a problem with CVS? Any help would be greatly appreciated! Note: The number 30 was just used as a guestimate and is in no way implying 30 as some special number in this equation. Thanks!
RE: Project: Setting up CVS
Title: RE: Project: Setting up CVS I had a script that pounded the CVS server when Iran into the same/similar problem and that fixed it for me. Obvious question - Did you do a "killall -HUP inetd" after you changed inetd.conf so inetd would reread it? Of course it could be something different. Tony -Original Message-From: John Tucker [mailto:[EMAIL PROTECTED]]Sent: Wednesday, August 02, 2000 3:05 PMTo: Tony Cleveland; [EMAIL PROTECTED]Subject: RE: Project: Setting up CVS Hi Tony, I looked at the man page for inetd and its discussion of the nowait.max parameter. It states the following: "The optional ``max'' suffix (separated from ``wait'' or ``nowait'' by a dot) specifies the maximum number of serverinstances that may be spawned from inetd within an interval of 60 seconds. When omitted, ``max'' defaults to 40." So I bumped 'max' up to 400 and tried flooding it with some consecutive commands just like before and after 60 commands itgave me the same error. cvs [remove aborted]: connect to 10.10.0.36:2401 failed: Connection refused Anyway, I'll try it with a lower max (like 100) and see what happens. Thanks -Original Message-From: Tony Cleveland [mailto:[EMAIL PROTECTED]]Sent: Wednesday, August 02, 2000 12:28 PMTo: 'John Tucker'; [EMAIL PROTECTED]Subject: RE: Project: Setting up CVS It could be the connection limit set by inetd, try upping the limit. In inetd.conf change cvspserver stream tcp nowait.40 root /usr/bin/cvs cvs --allow-root=/cvsroot to cvspserver stream tcp nowait.100 root /usr/bin/cvs cvs --allow-root=/cvsroot or to some other larger value. "man inetd" for more info. Tony -Original Message- From: John Tucker [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 02, 2000 12:05 PM To: [EMAIL PROTECTED] Subject: RE: Project: Setting up CVS Hello, After I hammer our Linux CVS server by performing 30 or more consecutive "cvs add file..." commands with a CVS client I consistently get the following error message: cvs [remove aborted]: connect to 10.10.0.36:2401 failed: Connection refused Once this message is received I can't use CVS for up to 5 minutes without getting that same error message. I can then use it as long as I don't submit 30 or more consecutive commands against the server again. Is this just a problem with CVS? Any help would be greatly appreciated! Note: The number 30 was just used as a guestimate and is in no way implying 30 as some special number in this equation. Thanks!
Re: Project: Setting up CVS
did you rehup inetd after the change? donald On Wed, Aug 02, 2000 at 02:04:44PM -0500, John Tucker wrote: Hi Tony, I looked at the man page for inetd and its discussion of the nowait.max parameter. It states the following: "The optional ``max'' suffix (separated from ``wait'' or ``nowait'' by a dot) specifies the maximum number of server instances that may be spawned from inetd within an interval of 60 seconds. When omitted, ``max'' defaults to 40." So I bumped 'max' up to 400 and tried flooding it with some consecutive commands just like before and after 60 commands it gave me the same error. cvs [remove aborted]: connect to 10.10.0.36:2401 failed: Connection refused Anyway, I'll try it with a lower max (like 100) and see what happens. Thanks -Original Message- From: Tony Cleveland [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 02, 2000 12:28 PM To: 'John Tucker'; [EMAIL PROTECTED] Subject: RE: Project: Setting up CVS It could be the connection limit set by inetd, try upping the limit. In inetd.conf change cvspserver stream tcp nowait.40 root/usr/bin/cvs cvs --allow-root=/cvsroot to cvspserver stream tcp nowait.100 root/usr/bin/cvs cvs --allow-root=/cvsroot or to some other larger value. "man inetd" for more info. Tony -Original Message- From: John Tucker [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Wednesday, August 02, 2000 12:05 PM To: [EMAIL PROTECTED] Subject: RE: Project: Setting up CVS Hello, After I hammer our Linux CVS server by performing 30 or more consecutive "cvs add file..." commands with a CVS client I consistently get the following error message: cvs [remove aborted]: connect to 10.10.0.36:2401 failed: Connection refused Once this message is received I can't use CVS for up to 5 minutes without getting that same error message. I can then use it as long as I don't submit 30 or more consecutive commands against the server again. Is this just a problem with CVS? Any help would be greatly appreciated! Note: The number 30 was just used as a guestimate and is in no way implying 30 as some special number in this equation. Thanks!
Setting up CVS password on NT
Hi everybody, I need to set up CVS for accepting user-id and password on NT in the cvs.html its been written as follows: On the server side, the file `/etc/inetd.conf' needs to be edited so inetd knows to run the command cvs pserver when it receives a connection on the right port. By default, the port number is 2401; it would be different if your client were compiled with CVS_AUTH_PORT defined to something else, though. If your inetd allows raw port numbers in `/etc/inetd.conf', then the following (all on a single line in `inetd.conf') should be sufficient: 2401 stream tcp nowait root /usr/local/bin/cvs cvs --allow-root=/usr/cvsroot pserver You could also use the `-T' option to specify a temporary directory. The `--allow-root' option specifies the allowable CVSROOT directory. Clients which attempt to use a different CVSROOT directory will not be allowed to connect. If there is more than one CVSROOT directory which you want to allow, repeat the option. If your inetd wants a symbolic service name instead of a raw port number, then put this in `/etc/services': cvspserver 2401/tcp and put cvspserver instead of 2401 in `inetd.conf'. Once the above is taken care of, restart your inetd, or do whatever is necessary to force it to reread its initialization files. But what's the equivalent of it for NT. Thanx in advance regards narendra
Re: Setting up CVS password on NT
Ñarendra Acharya wrote: Hi everybody, I need to set up CVS for accepting user-id and password on NT in the cvs.html its been written as follows: On the server side, the file `/etc/inetd.conf' needs to be edited so inetd knows to run the command cvs pserver when it receives a connection on the right port. By default, the port number is 2401; it would be different if your client were compiled with Do you (a) want a Unix server to authenticate from an NT domain controller? AFAIK this would require a PAM-enabled version of CVS, which hasn't been done yet. ..or (b) want to run the server on NT? Download the NT server from http://betty.magenta-logic.com/cvs, and install/run it (see readme.nt). Once it's installed and running as a service it's essentially the same operation as per the standard documentation. Tony -- [EMAIL PROTECTED]
Re: Setting up CVS password on NT
Hi Tony, This seems to be JUST what i wanted!! I need to set up CVS for accepting user-id and password on NT ..or (b) want to run the server on NT? I want to RUN the server on NT!! Download the NT server from http://betty.magenta-logic.com/cvs, and install/run it (see readme.nt). Once it's installed and running as a service it's essentially the same operation as per the standard documentation. have started downloading the CVS 1.10.8NT patched tar.gz.. thanx a lot for your help regards narendra