RSS feed

Re: Odp: Re: CVS server is not working after power outage.

[Date Prev][Date Next] [Thread Prev][Thread Next]

Re: Odp: Re: CVS server is not working after power outage.

"kamil kapturkiewicz" writes:
- Just for clarification:
- my /etc/inetd.conf configuration:
- cvspserver      stream  tcp     nowait.4000     root    /usr/sbin/tcpd  

Ok, comment that line out of your inetd.conf.

- my /etc/xinetd.d/cvspserver config:
- service cvspserver
-         {
-         disable         = no
-         port            = 2401
-         socket_type     = stream
-         protocol        = tcp
-         wait            = no
-         user            = cvsd
-         passenv         = PATH
- #       server          = /usr/sbin/cvsd
-         server          = /usr/sbin/cvs-pserver
-         log_type        = FILE /var/log/cvspserver
-         env             = '$CVSROOT=/usr/cvsroot'
- #       server_args     = -f --allow-root=/var/lib/cvsd/usr/cvsroot pserver
-         server_args     = -f --allow-root=/usr/cvsroot pserver
-         }

Change that configuration file to have "disable = yes", so that
when xinetd is restarted, it doesn't try to bind to port 2401.

- All repositories are located in /usr/cvsroot
- What I've done:
- disabled inetd and xinetd

You probably really want one of them running.  Given it's
debian, I imagine it wants to run xinetd.

- renamed: /usr/cvsroot/CVSROOT
- launched: cvsd-buildroot /usr/cvsroot/
- creating /usr/cvsroot//dev devices... already there.
- adding users to /usr/cvsroot//etc/passwd....
- fixing ownership... done.
- chrooted system created in /usr/cvsroot/
- if your cvs binary changes (new version) you should rerun cvsd-buildroot
- launched /etc/init.d/cvsd start

What are the contents of your cvsd.conf?

All of your respositories will be specified relative to the
"RootJail" path specified in cvsd.conf.

- still have problems:
- cvs checkout: authorization failed: server cvs rejected access to 
/usr/cvsroot for user xyz
- Checkout failed. at /usr/local/bin/ line 51.
- FAILED to process component files

What do the cvsd logs say?

Does /usr/cvsroot exist under the value of RootJail as specified
in your cvsd.conf? (I'm guessing your RootJail value is
/usr/cvsroot based on other comments, thus that path should be

Eric Schnoebelen        
            And on the seventh day, He exited from append mode.
To unsubscribe send an email to or see