SLAC PEP-II
BABAR
SLAC<->RAL
Babar logo
HEPIC E,S & H Databases PDG HEP preprints
Organization Detector Computing Physics Documentation
Personnel Glossary Sitemap Search Hypernews
Unwrap page!
Comp. Search
Who's who?
Meetings
FAQ Homepage
Archive
Environment
Administration
New User Info.
Web Info/Tools
Monitoring
Training
Tools & Utils
Programming
C++ Standard
SRT, AFS, CVS
QA and QC
Remedy
Histogramming
Operations
PromptReco
Simulation Production
Online SW
Dataflow
Detector Control
Evt Processing
Run Control
Calibration
Databases
Offline
Workbook
Coding Standards
Simulation
Reconstruction
Prompt Reco.
BaBar Grid
Data Distribution
Beta & BetaTools
Kanga & Root
Analysis Tools
RooFit Toolkit
Data Management
Data Quality
Event display
Event Browser
Code releases
Databases
Check this page for HTML 4.01 Transitional compliance with the
W3C Validator
(More checks...)

FAQ Answerpage


QUESTION:
"The Objectivity tool oocleanup fails to release locks. What do I do next?"

ANSWER:
The use of oocleanup is the only official Objectivity tool that allows you to release locks. To release both update locks and read locks, do the following:
  1. Check to see that your OO_FD_BOOT is correctly set.
  2. To view all locks, type the command

    oocleanup

  3. On all hosts that locks exists, type the command

    oocleanup -local

  4. Re-type the command

    oocleanup

    If locks still appears, make sure the corresponding process is not running and then re-type the command

    oocleanup -local

  5. Sometimes, it may be necessary to type the command

    oocleanup -deadowner -transaction {TYPE YOUR TRANSACTION NUMBER HERE}

  6. If your application generates the error

    Cannot grant requested lock; conflict with an existing lock

    you might have read locks that are not detected by oocleanup or oolockmon

    • Note that sometimes the command oocleanup will generate the error

      Recovery already in progress.
    • This occurs if one killed oocleanup by using the command

      Ctrl-C

      and then re-typing the command

      oocleanup

    • If you receive this error,you need to stop all instances of oocleanup by typing the command

      oocleanup -resetlock -transaction {TYPE YOUR TRANSACTION NUMBER HERE}


  7. If these steps do not work, you might still have read locks that are not detected by oocleanup. In this case, send email to a database group member with your userID and boot file location and they will release the locks for you.
For more related information on databases, see Babar Databases Homepage.

(Last updated 7/11/98)

[SLAC Homepage]  [Search] [FAQ Homepage]
If you have a FAQ (with or WITHOUT an answer), use our prototype submission form.
If you have comments or suggestions, email me at sison@slac.stanford.edu