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:
How do I delete a federation when a release has been removed?

An example of an access error is shown below:
young@percheron $ gmake database.deleteboot DEFINE_BOOTFILE_RULES=yes
Build OPTIONS = SunOS5-Debug-native-Objy
Note: RWBASE is pre-defined in your personal environment as
/usr/local/rogue/SunOS5/rogue.
      Make sure it is correct for this site.
/afs/slac.stanford.edu/g/babar/dist/releases/6.7.3/SoftRelTools/GNUmakefile.database
doesn't exist!
Unable to update database/GNUmakefile from release 6.7.3
-> database.deleteboot:   (Wed Jul  8 15:24:05 PDT 1998)
database.deleteboot: OBJYBASE not set so no access to database
GNUmakefile:785: SoftRelTools/standard.mk: No such file or directory
gmake[1]: *** No rule to make target `SoftRelTools/standard.mk'.  Stop.
gmake: *** [database.deleteboot] Error 2
young@percheron $ 


ANSWER:

You can delete the federation using the following sequence:
  • Edit .current file in your test release to point it to existing release (NB make sure you use the same major number, e.g. 6.10.8 for 6-series, 7.3.1 for 7-series):
    yury@percheron$ cat .current
    7.2.2
    
  • Execute srtpath and setboot, e.g.:
    yury@percheron$ srtpath
    enter release number (CR=7.2.2):
     
    set BFCURRENT to 7.2.2
    enter BFARCH (CR=SunOS5):
     
    set BFARCH to SunOS5
    removing other SRT bin directories from PATH
    adding ./bin/SunOS5 and $BFDIST/7.2.2/bin/SunOS5 to PATH.
    yury@percheron$ setboot
    OO_FD_BOOT set to /nfs/objyserv2/u4/databases/yury/7.2.2/BaBar.BOOT
    
    These commands set your environment to use the correct version of Objectivity.
  • Delete the database using command:

    oodeletefd <path_to_your_boot_file>
    where <path_to_your_boot_file> should point to the database your are deleting, e.g.

    yury@percheron$ oodeletefd /nfs/objyserv2/u3/databases/${USER}/7.0.1/BaBar.BOOT
    

    for an old 7.0.1 database.

ANOTHER USEFUL TIP:
After deleting the DB with the standard commands, the top level directory may be left behind, e.g.

/nfs/objyserv2/u4/databases/young/6.10.9/

It is safe and indeed a good house-keeping habit to remove this directory provided these two files are not there:

BaBar.BOOT
    BaBar.FDB

For more related information on databases, see Babar Databases Homepage. Also, look at the Workbook for Babar Offline Users

(Last updated 7/28/99)


[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