Hi, Thanks everyone for their help with brick_ctl.sh. I followed Chris Sharp's directions and now everything seems to be working .
Sue Hopkins > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 9 May 2011 16:35:18 -0400 (EDT) > From: "Hardy, Elaine" <[email protected]> > Subject: Re: [OPEN-ILS-GENERAL] Website Updated > To: "'Evergreen Discussion Group'" > <[email protected]> > Message-ID: <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > Could you post a link to the website? > > Elaine > ? > ? > J. Elaine Hardy > PINES Bibliographic Projects and Metadata Manager > Georgia Public Library Service, > A Unit of the University System of Georgia > 1800 Century Place, Suite 150 > Atlanta, Ga. 30345-4304 > 404.235-7128 > 404.235-7201, fax > ? > [email protected] > www.georgialibraries.org > http://www.georgialibraries.org/pines/ > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf > Of > Atre, Anoop S > Sent: Monday, May 02, 2011 2:45 PM > To: [email protected] > Subject: [OPEN-ILS-GENERAL] Website Updated > > Hope everyone had a great conference! > > Just wanted to make a note that the website has been updated and you > will > find things a bit different from yesterday, hopefully for the better. I > noticed that I had to clear my cache to get the menu working so some of > you might see the same glitch. Other than that everything seems to be > working fine, the main page now pulls the latest two articles from the > official blog and the right side features the latest community blog > posts. > In addition there has been a major over-haul of the downloads page, > other > changes are mostly content revision and additional menu links. You > might > be interested to know that the search on the main pages (not the > dokuwiki > pages) searches multiple sources, it has been for a while but some of > us > hadn't noticed it right away : ) Feel free to post your > thoughts/suggestions or if you find any issues to the list. > > Cheers > > - - - - - - - - - - - - - - - - - - - - - - - - - Anoop Atre IS > Developer > & Integrator, MnPALS > PH: 507.389.5060 > OF: 3022 Memorial Library (Office-ML 3022) > -- > "Mit der Dummheit k?mpfen G?tter selbst vergebens" > ~ Johann Christoph Friedrich von Schiller > > > ------------------------------ > > Message: 2 > Date: Tue, 10 May 2011 06:41:52 -0400 > From: "Sue Hopkins" <[email protected]> > Subject: [OPEN-ILS-GENERAL] getting brick_ctl.sh to work > To: "Evergreen Discussion Group" > <[email protected]> > Message-ID: > <[email protected] > rnal> > Content-Type: text/plain; charset="us-ascii" > > Hi, > > > > I am having problems getting the brick_ctl.sh script to work. When I > issue the command it asked for the password for opensrf on the drones > and then says it cannot find osrf_ctl.sh. I put the PERL5Lib and PATH > at the beginning of .bashrc file on the drones. I have the /openils on > a NFS share from the brick head to the drones. I am running Evergreen > 2_1_beta and Opensrf 2_0.Any idea what else I am missing? > > > > Sue Hopkins > > > > > > Systems & Networking Manager > > C/W MARS, Inc. > > 67 Millbrook Street, Suite 201 > > Worcester, MA 01606 > > Ph: (508)-755-3323 ext-18 > > Fax: (508)-755-3721 > > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: http://libmail.georgialibraries.org/pipermail/open-ils- > general/attachments/20110510/dba166c3/attachment-0001.htm > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: not available > Type: image/jpeg > Size: 3714 bytes > Desc: image003.jpg > Url : http://libmail.georgialibraries.org/pipermail/open-ils- > general/attachments/20110510/dba166c3/attachment-0001.jpeg > > ------------------------------ > > Message: 3 > Date: Tue, 10 May 2011 06:59:55 -0400 (EDT) > From: "Sharp, Chris" <[email protected]> > Subject: Re: [OPEN-ILS-GENERAL] getting brick_ctl.sh to work > To: Evergreen Discussion Group > <[email protected]> > Message-ID: > <[email protected] > aries.org> > > Content-Type: text/plain; charset=utf-8 > > Hi Sue, > > > I am having problems getting the brick_ctl.sh script to work. When I > > issue the command it asked for the password for opensrf on the drones > > and then says it cannot find osrf_ctl.sh. I put the PERL5Lib and PATH > > at the beginning of .bashrc file on the drones. I have the /openils > on > > a NFS share from the brick head to the drones. I am running Evergreen > > 2_1_beta and Opensrf 2_0.Any idea what else I am missing? > > For the opensrf password issue, you can take these steps (as opensrf on > the head/master server): > > ssh-keygen # follow the prompts and choose not to have a passphrase > ssh-copy-id <drone IP/hostname> # substituting each actual drone > IP/hostname without brackets > > As for the other issue, brick_ctl.sh has this line: > > DRONE_BASE=". /etc/profile && osrf_ctl.sh -d $OSRF_PID_DIR -c > $OSRF_CONFIG"; > > which means that it will ignore opensrf's .bashrc and source > /etc/profile instead, which means you should be able to add the > PERL5LIB and PATH lines to /etc/profile on each drone, or you could > modify brick_ctl.sh to not source /etc/profile (by removing ". > /etc/profile &&" from the DRONE_BASE line). There may be a recommended > way to do this from Bill or one of the other developers, but those are > my techniques. ;-) > > Hope that's helpful! > > Chris > > Chris Sharp > PINES Program Manager > Georgia Public Library Service > 1800 Century Place, Suite 150 > Atlanta, Georgia 30345 > (404) 235-7147 > [email protected] > http://pines.georgialibraries.org/ > > > ------------------------------ > > Message: 4 > Date: Tue, 10 May 2011 07:57:36 -0400 > From: Ben Shum <[email protected]> > Subject: Re: [OPEN-ILS-GENERAL] getting brick_ctl.sh to work > To: Evergreen Discussion Group > <[email protected]> > Message-ID: <[email protected]> > Content-Type: text/plain; charset=us-ascii > > Hmm, I've never had to directly modify the brick_ctl.sh control script > or use /etc/profile as Chris describes. Only have the two paths to the > opensrf user's .bashrc. > > Perhaps it's only balking that error because they don't have the ssh- > key entry setup between head and drones and so it can't locate > osrf_ctl.sh on the drones due to failure to connect. > > Let us know what you discover Sue. > > -- Ben > > On May 10, 2011, at 6:59 AM, Sharp, Chris wrote: > > > Hi Sue, > > > >> I am having problems getting the brick_ctl.sh script to work. When I > >> issue the command it asked for the password for opensrf on the > drones > >> and then says it cannot find osrf_ctl.sh. I put the PERL5Lib and > PATH > >> at the beginning of .bashrc file on the drones. I have the /openils > on > >> a NFS share from the brick head to the drones. I am running > Evergreen > >> 2_1_beta and Opensrf 2_0.Any idea what else I am missing? > > > > For the opensrf password issue, you can take these steps (as opensrf > on the head/master server): > > > > ssh-keygen # follow the prompts and choose not to have a passphrase > > ssh-copy-id <drone IP/hostname> # substituting each actual drone > IP/hostname without brackets > > > > As for the other issue, brick_ctl.sh has this line: > > > > DRONE_BASE=". /etc/profile && osrf_ctl.sh -d $OSRF_PID_DIR -c > $OSRF_CONFIG"; > > > > which means that it will ignore opensrf's .bashrc and source > /etc/profile instead, which means you should be able to add the > PERL5LIB and PATH lines to /etc/profile on each drone, or you could > modify brick_ctl.sh to not source /etc/profile (by removing ". > /etc/profile &&" from the DRONE_BASE line). There may be a recommended > way to do this from Bill or one of the other developers, but those are > my techniques. ;-) > > > > Hope that's helpful! > > > > Chris > > > > Chris Sharp > > PINES Program Manager > > Georgia Public Library Service > > 1800 Century Place, Suite 150 > > Atlanta, Georgia 30345 > > (404) 235-7147 > > [email protected] > > http://pines.georgialibraries.org/ > > > Benjamin Shum > Open Source Software Coordinator > Bibliomation, Inc. > 32 Crest Road > Middlebury, CT 06762 > 203-577-4070, ext. 113 > > > ------------------------------ > > Message: 5 > Date: Tue, 10 May 2011 08:22:17 -0400 > From: Thomas Berezansky <[email protected]> > Subject: Re: [OPEN-ILS-GENERAL] getting brick_ctl.sh to work > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; > format="flowed" > > Some of the path stuff you have to put elsewhere in the .bashrc file > on the drones. Near the top. Before it bails because you aren't in an > interactive session. > > Could that be what is being missed here? > > Thomas Berezansky > Merrimack Valley Library Consortium > > > Quoting Ben Shum <[email protected]>: > > > Hmm, I've never had to directly modify the brick_ctl.sh control > > script or use /etc/profile as Chris describes. Only have the two > > paths to the opensrf user's .bashrc. > > > > Perhaps it's only balking that error because they don't have the > > ssh-key entry setup between head and drones and so it can't locate > > osrf_ctl.sh on the drones due to failure to connect. > > > > Let us know what you discover Sue. > > > > -- Ben > > > > On May 10, 2011, at 6:59 AM, Sharp, Chris wrote: > > > >> Hi Sue, > >> > >>> I am having problems getting the brick_ctl.sh script to work. When > I > >>> issue the command it asked for the password for opensrf on the > drones > >>> and then says it cannot find osrf_ctl.sh. I put the PERL5Lib and > PATH > >>> at the beginning of .bashrc file on the drones. I have the /openils > on > >>> a NFS share from the brick head to the drones. I am running > Evergreen > >>> 2_1_beta and Opensrf 2_0.Any idea what else I am missing? > >> > >> For the opensrf password issue, you can take these steps (as > >> opensrf on the head/master server): > >> > >> ssh-keygen # follow the prompts and choose not to have a passphrase > >> ssh-copy-id <drone IP/hostname> # substituting each actual drone > >> IP/hostname without brackets > >> > >> As for the other issue, brick_ctl.sh has this line: > >> > >> DRONE_BASE=". /etc/profile && osrf_ctl.sh -d $OSRF_PID_DIR -c > $OSRF_CONFIG"; > >> > >> which means that it will ignore opensrf's .bashrc and source > >> /etc/profile instead, which means you should be able to add the > >> PERL5LIB and PATH lines to /etc/profile on each drone, or you could > >> modify brick_ctl.sh to not source /etc/profile (by removing ". > >> /etc/profile &&" from the DRONE_BASE line). There may be a > >> recommended way to do this from Bill or one of the other > >> developers, but those are my techniques. ;-) > >> > >> Hope that's helpful! > >> > >> Chris > >> > >> Chris Sharp > >> PINES Program Manager > >> Georgia Public Library Service > >> 1800 Century Place, Suite 150 > >> Atlanta, Georgia 30345 > >> (404) 235-7147 > >> [email protected] > >> http://pines.georgialibraries.org/ > > > > > > Benjamin Shum > > Open Source Software Coordinator > > Bibliomation, Inc. > > 32 Crest Road > > Middlebury, CT 06762 > > 203-577-4070, ext. 113 > > > > > > > End of Open-ils-general Digest, Vol 59, Issue 14 > ************************************************
