[OPEN-ILS-GENERAL] How can I fix 'libdb' things?

Dan Wells dbw2 at calvin.edu
Thu Jan 7 09:27:15 EST 2016


Hello,

Chris's advice is good, so just one thing to add.  I think current Evergreen (or at least the stock EG Apache 2.4 configs) defaults to syslog for Apache logging (/var/log/syslog on stock Ubuntu 14.04).  Unless you've changed it, that's one more place to check for error output.

Sincerely,
Dan

-----Original Message-----
From: Open-ils-general [mailto:open-ils-general-bounces at list.georgialibraries.org] On Behalf Of Chris Sharp
Sent: Thursday, January 07, 2016 6:38 AM
To: Evergreen Discussion Group <open-ils-general at list.georgialibraries.org>
Subject: Re: [OPEN-ILS-GENERAL] How can I fix 'libdb' things?

Hi again,

500 errors are usually something in the Perl layer in my experience, and those log messages go to /openils/var/log/osrfsys.log by default.  You might benefit from setting up your Evergreen/OpenSRF logs as I describe in a document I created for an Evergreen conference session on logging last year: https://docs.google.com/document/d/1BJ7kSr5LfPkxXRhcrYjNyPlbT9PlNFHg6zL-tyetnKA/.  If you do set up your logs like that, whatever errors are happening should be logged to /var/log/evergreen/<year>/<month>/<day>/osrferror.log.  In the meantime, you might try 'grep ERR osrfsys.log' to see what comes up (there may be a lot of "file does not exist" messages that you can probably safely ignore for your current issue).

Hope that helps!

By the way, for interactive real-time help, feel free to join the Evergreen IRC channel. My nick is csharp, but anyone should be able to assist.  See here for instructions for connecting: https://evergreen-ils.org/communicate/irc/.  The channel is most active Monday through Friday from 9:00 a.m. to 5:00 p.m. Eastern time.

Chris

----- Original Message -----
> From: "윤현탁" <dhtmxh at gmail.com>
> To: "Evergreen Discussion Group" 
> <open-ils-general at list.georgialibraries.org>
> Sent: Thursday, January 7, 2016 1:08:32 AM
> Subject: Re: [OPEN-ILS-GENERAL] How can I fix 'libdb' things?
> 
> Thank you, Chris.
> 
> Machine looks like installed 'libdbd', but web page still returns same 
> error(500).
> 
> log file(in /var/log/apache2/) doesn`t contain any error...
> 
> what log file I should check?
> 
> Can you give me a hand?
> 
> 
> P.S. OpenSRF things and Evergreen components looks like run normally. 
> on opensrf account, osrf_control --start-all --localhost command 
> returns no error(osrfsys.log), and on srfsh prompt, login into 
> evergreen returns 'SUCCESS'.
> 
> 2016-01-05 3:52 GMT+09:00 Chris Sharp <csharp at georgialibraries.org>:
> 
> > Hi,
> >
> > That particular test of settings-tester.pl is outdated and should 
> > either be updated or removed.  You can discover whether you have 
> > libdbd-pgsql installed on your system with the command 'dpkg -l | grep libdbd-pgsql'.
> > On my 14.04 system, that returns the following line:
> >
> > ii  libdbd-pgsql:amd64                                0.9.0-2ubuntu2
> >                  amd64        PostgreSQL database server driver for libdbi
> >
> > That test was written at a time when it was recommended to install 
> > PostgreSQL from source, so it's only checking /usr/local/lib/dbd for 
> > the shared object file.  On a 64-bit 14.04 system, it's in 
> > /usr/lib/x86_64-linux-gnu/dbd/ instead, but settings-testing.pl 
> > doesn't know that.
> >
> > Hope that helps!
> >
> > Chris
> >
> >
> > ----- Original Message -----
> > > From: "윤현탁" <dhtmxh at gmail.com>
> > > To: "Evergreen Discussion Group" <
> > open-ils-general at list.georgialibraries.org>
> > > Sent: Monday, January 4, 2016 1:23:20 PM
> > > Subject: [OPEN-ILS-GENERAL] How can I fix 'libdb' things?
> > >
> > > I`m trying to installing Evergreen 2.9 on Ubuntu 14.04 and amazon EC2.
> > >
> > > I followed installation document and finish that steps but website 
> > > occurs an error(500).
> > >
> > > By setting-tester.pl, it told me libdb-pgsql driver is not found.
> > >
> > > /etc/ld.so.conf file`s contents is only "include 
> > > /etc/ld.so.conf.d/opensrf.conf",
> > >
> > > and /etc/ld.so.conf.d/opensrf.conf includes only "/openils/lib".
> > >
> > >
> > > After this error, i downloaded libdb file and driver(
> > > http://libdbi.sourceforge.net/download.html) and installed/type
> > 'ldconfig'
> > > as root but setting tester returns same output.
> > >
> > > What can I do to fix it?
> > >
> >
> > --
> > Chris Sharp
> > PINES System Administrator
> > Georgia Public Library Service
> > 1800 Century Place, Suite 150
> > Atlanta, Georgia 30345
> > (404) 235-7147
> > csharp at georgialibraries.org
> > http://pines.georgialibraries.org/
> >
> 

--
Chris Sharp
PINES System Administrator
Georgia Public Library Service
1800 Century Place, Suite 150
Atlanta, Georgia 30345
(404) 235-7147
csharp at georgialibraries.org
http://pines.georgialibraries.org/


More information about the Open-ils-general mailing list