[Evergreen-general] [EXTERNAL] Re: localstated
Martin House
martin.house at cpcc.edu
Mon Oct 11 13:03:06 EDT 2021
Hi Jason,
I hope you don't mind messaging you off list. I followed the Readme
instructions for opensrf and am seeing this error again. I was also dealing
with this last week. If you have any suggestions I'd appreciate and help.
osrf_control -start-all
Could not create file parser context for file
"/openils/conf/opensrf_core.xml": No such file or directory at
/usr/local/share/perl/5.26.1/OpenSRF/Utils/Config.pm line 345.
I receive the same error message if I include -localhost in the command.
Thanks!
Martin
On Mon, Oct 11, 2021 at 8:00 AM Jason Stephenson via Evergreen-general <
evergreen-general at list.evergreen-ils.org> wrote:
> Martin,
>
> As for why srfsh can't use /tmp/logs, my first inclination is to blame
> systemd's privatetmp feature:
>
>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__access.redhat.com_blogs_766093_posts_1976243&d=DwIGaQ&c=eyK8KBY19DualCOSet0JGw&r=otODVZ2rwF8eU8MhsxpDqHSkw7GQfXEkPFPzWvUV6mE&m=ZI0APJRKEavk6Z_0-ZXqMuFo_RPT5GTeBI8cG4x-QnDvbCpyU3xAW4zklyHJhQkW&s=LBySEOK91U7Znh-t8zxO1A293xaF45uHCuu-UC2tbqM&e=
>
> My second inclination is to blame our (mis)use of autotools. I
> recommend that you follow the directions in the README and only set the
> prefix and sysconfdir options. Anything else is likely to break with
> OpenSRF and/or Evergreen.
>
> Also, Jason.
>
> On 10/11/21 7:00 AM, Jason Boyer via Evergreen-general wrote:
> > Hi Martin, the srfsh log file is saved to the location specified in
> > ~/.srfsh.xml and I’m not sure it’s affected by the configure command
> > line. Since this is a user file you can edit it to put the log file
> > anywhere your user can write. (I usually just use
> > /home/<my_username>/.srfsh.log .)
> >
> > You’ll likely want to rebuild and reinstall opensrf with the configure
> > command line in the instructions before trying again.
> >
> > And you’re right, opensrf doesn’t do much on its own and is only part of
> > the installation of an evergreen system; Evergreen itself and its
> > installation instructions are available here:
> >
> https://urldefense.proofpoint.com/v2/url?u=https-3A__evergreen-2Dils.org_egdownloads_&d=DwIGaQ&c=eyK8KBY19DualCOSet0JGw&r=otODVZ2rwF8eU8MhsxpDqHSkw7GQfXEkPFPzWvUV6mE&m=ZI0APJRKEavk6Z_0-ZXqMuFo_RPT5GTeBI8cG4x-QnDvbCpyU3xAW4zklyHJhQkW&s=wDA-rU3YMx1nwhnhLRwnh3oyVLublZ_hkDgkrXo67Zc&e=
>
> > <
> https://urldefense.proofpoint.com/v2/url?u=https-3A__evergreen-2Dils.org_egdownloads_&d=DwIGaQ&c=eyK8KBY19DualCOSet0JGw&r=otODVZ2rwF8eU8MhsxpDqHSkw7GQfXEkPFPzWvUV6mE&m=ZI0APJRKEavk6Z_0-ZXqMuFo_RPT5GTeBI8cG4x-QnDvbCpyU3xAW4zklyHJhQkW&s=wDA-rU3YMx1nwhnhLRwnh3oyVLublZ_hkDgkrXo67Zc&e=
> >
> >
> > Jason
> >
> > --
> > Jason Boyer
> > Senior System Administrator
> > Equinox Open Library Initiative
> > JBoyer at equinoxOLI.org <mailto:JBoyer at equinoxOLI.org>
> > +1 (877) Open-ILS (673-6457)
> >
> https://urldefense.proofpoint.com/v2/url?u=https-3A__equinoxOLI.org_&d=DwIGaQ&c=eyK8KBY19DualCOSet0JGw&r=otODVZ2rwF8eU8MhsxpDqHSkw7GQfXEkPFPzWvUV6mE&m=ZI0APJRKEavk6Z_0-ZXqMuFo_RPT5GTeBI8cG4x-QnDvbCpyU3xAW4zklyHJhQkW&s=40XXe_pUR8DfjPuV9YxSM347pw5lECwkZij_slsOStg&e=
> >
> >> On Oct 7, 2021, at 3:28 PM, Martin House via Evergreen-general
> >> <evergreen-general at list.evergreen-ils.org
> >> <mailto:evergreen-general at list.evergreen-ils.org>> wrote:
> >>
> >> Hi Everyone
> >> I have been trying to get opensrf installed, and everything works fine
> >> until I try to start srfsh using the opensrf user. The message I
> >> receive is that the the log files cannot write to where I think the
> >> localstated configuration intends it to. I ran the ./configure command
> >> and sent localstated to --localstated=/temp/log but I am still getting
> >> the same error messages. At this point I'm stumped.
> >>
> >> This means I can't get opensrf started, and am not sure how to proceed
> >> with installing Evergreen. I'm assuming everything hinges on the
> >> opesrf configuration and install. Also, should there be a separate tar
> >> file to download for Evergreen other than the opensrf file?
> >>
> >> Thanks!
> >>
> >> Martin
> >>
> >> --
> >> *Martin House, Ed.D*
> >> Assistant Director, Public Services
> >> Library
> >> Central Piedmont Community College
> >> Library, Central Campus
> >> P.O. Box 35009 Charlotte, NC 28235
> >> *t *704.330.6752 |
> >> cpcc.edu <http://www.cpcc.edu/>
> >> _______________________________________________
> >> Evergreen-general mailing list
> >> Evergreen-general at list.evergreen-ils.org
> >> <mailto:Evergreen-general at list.evergreen-ils.org>
> >>
> https://urldefense.proofpoint.com/v2/url?u=http-3A__list.evergreen-2Dils.org_cgi-2Dbin_mailman_listinfo_evergreen-2Dgeneral&d=DwIGaQ&c=eyK8KBY19DualCOSet0JGw&r=otODVZ2rwF8eU8MhsxpDqHSkw7GQfXEkPFPzWvUV6mE&m=ZI0APJRKEavk6Z_0-ZXqMuFo_RPT5GTeBI8cG4x-QnDvbCpyU3xAW4zklyHJhQkW&s=cJwRn4Ijhj7hmCYacGvxaCSJXCvHy8KBfttK_WstQfQ&e=
> >
> >
> > _______________________________________________
> > Evergreen-general mailing list
> > Evergreen-general at list.evergreen-ils.org
> >
> https://urldefense.proofpoint.com/v2/url?u=http-3A__list.evergreen-2Dils.org_cgi-2Dbin_mailman_listinfo_evergreen-2Dgeneral&d=DwIGaQ&c=eyK8KBY19DualCOSet0JGw&r=otODVZ2rwF8eU8MhsxpDqHSkw7GQfXEkPFPzWvUV6mE&m=ZI0APJRKEavk6Z_0-ZXqMuFo_RPT5GTeBI8cG4x-QnDvbCpyU3xAW4zklyHJhQkW&s=cJwRn4Ijhj7hmCYacGvxaCSJXCvHy8KBfttK_WstQfQ&e=
> >
> _______________________________________________
> Evergreen-general mailing list
> Evergreen-general at list.evergreen-ils.org
>
> https://urldefense.proofpoint.com/v2/url?u=http-3A__list.evergreen-2Dils.org_cgi-2Dbin_mailman_listinfo_evergreen-2Dgeneral&d=DwIGaQ&c=eyK8KBY19DualCOSet0JGw&r=otODVZ2rwF8eU8MhsxpDqHSkw7GQfXEkPFPzWvUV6mE&m=ZI0APJRKEavk6Z_0-ZXqMuFo_RPT5GTeBI8cG4x-QnDvbCpyU3xAW4zklyHJhQkW&s=cJwRn4Ijhj7hmCYacGvxaCSJXCvHy8KBfttK_WstQfQ&e=
>
--
*Martin House, Ed.D*
Assistant Director, Public Services
Library
Central Piedmont Community College
Library, Central Campus
P.O. Box 35009 Charlotte, NC 28235
*t *704.330.6752 |
cpcc.edu <http://www.cpcc.edu/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.evergreen-ils.org/pipermail/evergreen-general/attachments/20211011/a0d6e80f/attachment.html>
More information about the Evergreen-general
mailing list