[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cvs commit problem
Re: cvs commit problem
Wed, 10 Apr 2002 00:46:46 -0700
It is a permission problem on the server side, though it isn't
completely clear without more investigation what it is.
If you don't mind a little nitty-gritty, you can figure out exactly
what is happening by tracing your cvs pserver. What I do is open a
second port on the server as follows (you can add this to the end of
your /etc/xinetd.d/cvspserver file--it will not affect cvspserver):
disable = no
socket_type = stream
protocol = tcp
port = 2402
wait = no
user = root
server = /usr/bin/strace
server_args = -o /tmp/pserver.strace -f /usr/bin/cvs -f
Substitute your path to cvs and the --allow-root(s) to match your
Restart xinetd with the command
$ service xinetd restart
Check /var/log/messages for xinetd error messages to be sure there are
no errors in your config.
Now you can set CVSTRACE=:pserver:address@hidden:2402/cvsroot in
your client environment and
$ cvs -d $CVSTRACE login
$ cvs -d $CVSTRACE commit
(You will see a couple of interesting complaints from cvs regarding
unexpected responses from server--you can safely ignore those. That's
just strace making noise about child processes when it shouldn't.)
The trace of the most recent pserver session will be on the server in
file /tmp/pserver.strace. Take a look over that to see if you can
identify the point where the error occurs. The end of the file will
have a bunch of cleanup--removing tmp files and directories. The error
should be very shortly before that. If you're stumped, check with your
local linux guru, or send it my way and I'll try to decipher it.
On Wed, Apr 10, 2002 at 08:08:35AM +0200, Joss, Werner 3936 S-RD-MP2 wrote:
> Hi all,
> I'm currently trying to get my cvs pserver running on redhat 7.2.
> I've managed to get it working partly by setting up xinetd as described
> in the faq-o-matic.
> so far, I can connect to cvs, also checkout modules, but if I try to commit
> changes, I get the following error:
> cannot create_adm_p /tmp/cvs-serv13750/CVI/MDAQ
> Permission denied
> cvs commit: saving log message in /tmp/cvsiIyJXt
> anyone knows what to do ?
> (of course, /tmp is writeable by anyone on the server as well as the client
> Info-cvs mailing list