Discussion:
waiting for lock, but no lock exists
Jeff Simpson
2009-04-15 05:20:09 UTC
Permalink
I'm using CVS on an AFS mount, and running into this problem where it claims
to be waiting for a lock by my own user. I look through the repo directly
and see nothing that resembles a lock file. Any idea what could cause this
or how to forcibly reset locks? Thanks

- Jeff
Arthur Barrett
2009-04-16 02:32:05 UTC
Permalink
Jeff,

Please send the exact error message and the exact command including the
CVSROOT along with the version of CVS you are using (you can get the
version of CVS client and server from the command 'cvs ver').

Regards,


Arthur Barrett


-----Original Message-----
From: info-cvs-bounces+arthur.barrett=march-***@nongnu.org
[mailto:info-cvs-bounces+arthur.barrett=march-***@nongnu.org] On
Behalf Of Jeff Simpson
Sent: Wednesday, 15 April 2009 3:20 PM
To: info-***@gnu.org
Subject: waiting for lock, but no lock exists


I'm using CVS on an AFS mount, and running into this problem
where it claims to be waiting for a lock by my own user. I look through
the repo directly and see nothing that resembles a lock file. Any idea
what could cause this or how to forcibly reset locks? Thanks

- Jeff
Jeff Simpson
2009-04-16 02:44:58 UTC
Permalink
Thanks for the reply, but we were able to figure out the problem. The locks
were being stored in a separate lock directory, rather than in cvsroot.

- Jeff

On Wed, Apr 15, 2009 at 10:32 PM, Arthur Barrett <
Post by Arthur Barrett
Jeff,
Please send the exact error message and the exact command including the
CVSROOT along with the version of CVS you are using (you can get the version
of CVS client and server from the command 'cvs ver').
Regards,
Arthur Barrett
-----Original Message-----
info-cvs-bounces+arthur.barrett <info-cvs-bounces%2Barthur.barrett>=
*Sent:* Wednesday, 15 April 2009 3:20 PM
*Subject:* waiting for lock, but no lock exists
I'm using CVS on an AFS mount, and running into this problem where it
claims to be waiting for a lock by my own user. I look through the repo
directly and see nothing that resembles a lock file. Any idea what could
cause this or how to forcibly reset locks? Thanks
- Jeff
Rob Jago
2009-04-18 23:44:26 UTC
Permalink
I am not sure if this helps or not but I have seen this.



Is there a virus scan program running?

I have seen the virus scan program have a hold on the file while scanning at
the same time that CVS is executing the check-in and/or tag operation. At
this time, CVS cannot work properly and reports the mysterious lock file
(which doesn't exist when you look for it after the fact)



I am not sure if this helps or is off the mark.



Cheers,



Rob





_____

From: info-cvs-bounces+jago.mailing.list=***@nongnu.org
[mailto:info-cvs-bounces+jago.mailing.list=***@nongnu.org] On
Behalf Of Arthur Barrett
Sent: Wednesday, April 15, 2009 10:32 PM
To: Jeff Simpson; info-***@gnu.org
Subject: RE: waiting for lock, but no lock exists



Jeff,



Please send the exact error message and the exact command including the
CVSROOT along with the version of CVS you are using (you can get the version
of CVS client and server from the command 'cvs ver').



Regards,





Arthur Barrett



-----Original Message-----
From: info-cvs-bounces+arthur.barrett=march-***@nongnu.org
[mailto:info-cvs-bounces+arthur.barrett=march-***@nongnu.org] On Behalf
Of Jeff Simpson
Sent: Wednesday, 15 April 2009 3:20 PM
To: info-***@gnu.org
Subject: waiting for lock, but no lock exists

I'm using CVS on an AFS mount, and running into this problem where it claims
to be waiting for a lock by my own user. I look through the repo directly
and see nothing that resembles a lock file. Any idea what could cause this
or how to forcibly reset locks? Thanks

- Jeff
Jeff Simpson
2009-04-19 05:40:00 UTC
Permalink
Thanks, but we already solved the problem. The configuration of the CVS tree
had the lock files in a separate directory I didn't know about. I'm not yet
sure why the lock files weren't being cleaned up properly, but now that I
know where they are being stored, it is easy to manually clean them up.

- Jeff
Post by Rob Jago
I am not sure if this helps or not but I have seen this.
Is there a virus scan program running?
I have seen the virus scan program have a hold on the file while scanning
at the same time that CVS is executing the check-in and/or tag operation.
At this time, CVS cannot work properly and reports the mysterious lock file
(which doesn’t exist when you look for it after the fact)
I am not sure if this helps or is off the mark.
Cheers,
Rob
------------------------------
info-cvs-bounces+jago.mailing.list <info-cvs-bounces%2Bjago.mailing.list>=
*Sent:* Wednesday, April 15, 2009 10:32 PM
*Subject:* RE: waiting for lock, but no lock exists
Jeff,
Please send the exact error message and the exact command including the
CVSROOT along with the version of CVS you are using (you can get the version
of CVS client and server from the command 'cvs ver').
Regards,
Arthur Barrett
-----Original Message-----
info-cvs-bounces+arthur.barrett <info-cvs-bounces%2Barthur.barrett>=
*Sent:* Wednesday, 15 April 2009 3:20 PM
*Subject:* waiting for lock, but no lock exists
I'm using CVS on an AFS mount, and running into this problem where it
claims to be waiting for a lock by my own user. I look through the repo
directly and see nothing that resembles a lock file. Any idea what could
cause this or how to forcibly reset locks? Thanks
- Jeff
Lummoxx
2009-04-19 22:35:09 UTC
Permalink
I see this all the time, when people interrupt a cvs command, by
hitting ctrl-c, or killing it, or whatever.

Don't od that.

Loading...