[OPEN-ILS-DEV] ***SPAM*** Re: Installation problem

Anoop Atre anoop.atre at mnsu.edu
Mon Dec 5 12:46:15 EST 2011


Vicent
That's fantastic! You should drop in on the IRC channel [ 
http://www.evergreen-ils.org/irc.php ] if you can, there are folks who 
would love to have you involved in setting up OpenSUSE targets if you 
haven't already and provide other OpenSUSE related answers.

Cheers

On 12/05/2011 11:39 AM, Vicent Mas wrote:
> 2011/12/5 Vicent Mas<uvemas at gmail.com>:
>> Hi,
>>
>> I've nstalled Evergreen from the git repo on my OpenSUSE box, but
>> Evergreen refuses to start. Accordingly to the script
>> settings-tester.pl everything is OK. Well, the ouput says:
>>
>> Checking libdbi and libdbi-drivers
>> libdbdpgsql.so was not found in /usr/local/libdbi/dbd/
>>   We have found that system packages don't link against libdbi.so;
>>   therefore, we strongly recommend compiling libdbi and libdbi-drivers
>> from source.
>>
>> However I think it is harmless message because the default location of
>> these drivers on OpenSUSE is /usr/lib/dbd and I've done my
>> installation passing the option --with-dbi=/usr/lib/dbd to the
>> configure.
>>
>> The problems appear when I try to start Evergreen for the first time:
>>
>> opensrf at linux-soih:~>  osrf_ctl -l -a start_all
>>
>> works fine but:
>>
>> opensrf at linux-soih:~>  autogen.sh -u
>> Updating Evergreen organization tree and IDL
>> Updating fieldmapper ->
>> /openils/var/web/opac/common/js//fmall.jsUpdating web_fieldmapper ->
>> /openils/var/web/opac/common/js//fmcore.jsUpdating OrgTreeException:
>> OpenSRF::EX::Session 2011-12-05T14:20:39 OpenSRF::Transport
>> /usr/lib/perl5/site_perl/5.14.2/OpenSRF/Transport.pm:83 Session Error:
>> router at private.localhost/open-ils.cstore IS NOT CONNECTED TO THE
>> NETWORK!!!opensrf at linux-soih:~>
>>
>> The osrfsys.log contains these entries:
>>
>>
>> [2011-12-05 14:20:31] opensrf.settings [INFO:12494:Transport.pm:161:]
>> Message processing duration: 0.001
>> [2011-12-05 14:20:31] opensrf.settings
>> [INFO:12494:Application.pm:130:] CALL: opensrf.settings
>> opensrf.settings.host_config.get linux-soih.site
>> [2011-12-05 14:20:31] opensrf.settings [INFO:12494:Transport.pm:161:]
>> Message processing duration: 0.039
>> [2011-12-05 14:20:31] opensrf.settings [INFO:12494:Transport.pm:161:]
>> Message processing duration: 0.001
>> [2011-12-05 14:20:37] opensrf.settings [INFO:12494:Transport.pm:161:]
>> Message processing duration: 0.001
>> [2011-12-05 14:20:37] opensrf.settings
>> [INFO:12494:Application.pm:130:] CALL: opensrf.settings
>> opensrf.settings.host_config.get linux-soih.site
>> [2011-12-05 14:20:37] opensrf.settings [INFO:12494:Transport.pm:161:]
>> Message processing duration: 0.040
>> [2011-12-05 14:20:37] opensrf.settings [INFO:12494:Transport.pm:161:]
>> Message processing duration: 0.001
>> [2011-12-05 14:20:39] opensrf.settings [INFO:12494:Transport.pm:161:]
>> Message processing duration: 0.001
>> [2011-12-05 14:20:39] opensrf.settings
>> [INFO:12494:Application.pm:130:] CALL: opensrf.settings
>> opensrf.settings.host_config.get linux-soih.site
>> [2011-12-05 14:20:39] opensrf.settings [INFO:12494:Transport.pm:161:]
>> Message processing duration: 0.043
>> [2011-12-05 14:20:39] opensrf.settings [INFO:12494:Transport.pm:161:]
>> Message processing duration: 0.001
>> [2011-12-05 14:20:39] -e [ERR :13032:EX.pm:66:] Exception:
>> OpenSRF::EX::Session 2011-12-05T14:20:39 OpenSRF::Transport
>> /usr/lib/perl5/site_perl/5.14.2/OpenSRF/Transport.pm:83 Session Error:
>> router at private.localhost/open-ils.cstore IS NOT CONNECTED TO THE
>> NETWORK!!!
>>
>> I've googled and found similar cases, but the suggested solutions
>> don't work for me. Could somebody help me, please?
>>
>
> OK, I got it. I've removed all my log files, started services step by
> step (first router, then perl services, then C services) and check log
> files at every new step.
>
> When I started the Perl services the following was logged in osrfsys.log:
>
> [2011-12-05 15:48:55] opensrf.settings [INFO:14047:Server.pm:451:]
> server: registering with router router at private.localhost/router
> [2011-12-05 15:49:03] /openils/bin/opensrf-perl.pl [ERR
> :14067:CDBI.pm:30:] Your version of Class::DBI, 3.0.17, is too new and
> incompatible with Evergreen.  You will need to downgrade to version
> 3.0.1 or install Class::DBI::Frozen::301
> [2011-12-05 15:49:03] /openils/bin/opensrf-perl.pl [ERR
> :14067:Application.pm:108:] Error loading application_implementation:
> OpenILS::Application::Storage ->  Your version of Class::DBI, 3.0.17,
> is too new and incompatible with Evergreen.  You will need to
> downgrade to version 3.0.1 or install Class::DBI::Frozen::301 at
> /usr/lib/perl5/site_perl/5.14.2/OpenILS/Application/Storage/CDBI.pm
> line 31.
> Compilation failed in require at
> /usr/lib/perl5/site_perl/5.14.2/OpenILS/Application/Storage.pm line 9.
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/site_perl/5.14.2/OpenILS/Application/Storage.pm line 9.
> Compilation failed in require at
> /usr/lib/perl5/site_perl/5.14.2/OpenSRF/Application.pm line 106.
>
> So, I've downgraded to Class-DBI-0.96 and reinstalled
> Class-DBI-AbstractSearch-0.07 (which apparently is not compatible with
> Class-DBI-3.01). After that all services started without errors and
> `autogen.sh -u` executed just fine.
>
> I hope this info will be useful to somebody else.
>
> Cheers,
>
> Vicent


-- 

Anoop Atre
IS Developer & Integrator, PALS
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


More information about the Open-ils-dev mailing list