[OPEN-ILS-GENERAL] getting brick_ctl.sh to work
Sue Hopkins
shopkins at cwmars.org
Tue May 10 19:18:27 EDT 2011
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" <ehardy at georgialibraries.org>
> Subject: Re: [OPEN-ILS-GENERAL] Website Updated
> To: "'Evergreen Discussion Group'"
> <open-ils-general at list.georgialibraries.org>
> Message-ID: <009c01cc0e88$9c546720$d4fd3560$@georgialibraries.org>
> 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
> ?
> ehardy at georgialibraries.org
> www.georgialibraries.org
> http://www.georgialibraries.org/pines/
>
> -----Original Message-----
> From: open-ils-general-bounces at list.georgialibraries.org
> [mailto:open-ils-general-bounces at list.georgialibraries.org] On Behalf
> Of
> Atre, Anoop S
> Sent: Monday, May 02, 2011 2:45 PM
> To: open-ils-general at list.georgialibraries.org
> 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" <shopkins at cwmars.org>
> Subject: [OPEN-ILS-GENERAL] getting brick_ctl.sh to work
> To: "Evergreen Discussion Group"
> <open-ils-general at list.georgialibraries.org>
> Message-ID:
>
<CBC4237C0DACD04E87BFD6316F04AB5A06A21665 at serverthree.cwmars.inte
> 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" <csharp at georgialibraries.org>
> Subject: Re: [OPEN-ILS-GENERAL] getting brick_ctl.sh to work
> To: Evergreen Discussion Group
> <open-ils-general at list.georgialibraries.org>
> Message-ID:
>
<1304139165.156344.1305025195551.JavaMail.root at hagrid.georgialibr
> 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
> csharp at georgialibraries.org
> http://pines.georgialibraries.org/
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 10 May 2011 07:57:36 -0400
> From: Ben Shum <bshum at biblio.org>
> Subject: Re: [OPEN-ILS-GENERAL] getting brick_ctl.sh to work
> To: Evergreen Discussion Group
> <open-ils-general at list.georgialibraries.org>
> Message-ID: <C786DDD3-C9EA-44BD-BF2D-6BB77790BB1E at biblio.org>
> 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
> > csharp at georgialibraries.org
> > 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 <tsbere at mvlc.org>
> Subject: Re: [OPEN-ILS-GENERAL] getting brick_ctl.sh to work
> To: open-ils-general at list.georgialibraries.org
> Message-ID: <20110510082217.40981vta85xgodeo at mail.mvlc.org>
> 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 <bshum at biblio.org>:
>
> > 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
> >> csharp at georgialibraries.org
> >> 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
> ************************************************
More information about the Open-ils-general
mailing list