Steve, Flemming, I don't think there is a problem with a firewall, as we can access the db from .nbi.dk. You should have a proper .bratdbrc file in your home directory. If you do not, you will experience problems when trying to connect to the db. Ian > -----Original Message----- > From: owner-brahms-dev-l@bnl.gov [mailto:owner-brahms-dev-l@bnl.gov]On > Behalf Of Flemming Videbaek > Sent: Thursday, October 25, 2001 3:16 AM > To: brahms-dev-l@bnl.gov > Subject: Re: access to db question > > > Steve, > > for reading you should only need to have the > BrahmsMain at rcas0005.rcf.bnl.gov with query and its password > BrahmsCalib ... > the on 65720.. looks strange. Have you set the > BrMainDb *mainDb= new BrMainDb::Instance() > mainDb->SetUserName("querey") > mainDb->SetHostName("rcas...") > mainDb->SetDbName("BrahmsMain"); > > or equivalent in the script ? > It is possible there is a firewall problem! I am not sure how the rcas has > been setup - Betty is on vacation > but if your problem persists I can contact RCF network people. > > Could you try your script from rcasxxx or the pii's > > Flemming > > ------------------------------------------------------ > Flemming Videbaek > Physics Department > Brookhaven National Laboratory > > tlf: 631-344-4106 > fax 631-344-1334 > e-mail: videbaek@bnl.gov > ----- Original Message ----- > From: "Stephen J. Sanders" <ssanders@ku.edu> > To: <brahms-dev-l@bnl.gov> > Sent: Wednesday, October 24, 2001 8:59 PM > Subject: Re: access to db question > > > > Hi again, > > I'm still not managing to get access to the db. Trying to type in > > the relevant > > commands directly, I get: > > > > brat [0] BrCalibrationManager * calibManager = > > BrCalibrationManager::Instance(); > > brat [1] fBbCalibration = (BrBbCalibration *) > > > (calibManager->Register("BrBbCalibration",BrDetectorList::GetDetec > torName(kB > rBB))); > > > > GetDetectorParams Request > > BrBbCalibration : BB > > Warning in <BrRdbmDb::IsConnected>: No connection to database BrahmsMain > > on 67520st > > > > *** Break *** segmentation violation > > > > I have the magic talisman: > > -rw------- 1 sanders users 367 Oct 10 16:34 .bratdbrc > > located in my home directory. > > > > Do I need additional permissions (ie, does Betty need to configure > > something) for > > this to work? Or, am I doing something else wrong? Thanks for any > > suggestions... > > ...steve > > > > >
This archive was generated by hypermail 2b30 : Thu Oct 25 2001 - 03:10:04 EDT