[OPEN-ILS-DEV] Re: [OPEN-ILS-GENERAL] VMWare image of Evergreen
on Gentoo error after changing network type
Dan Scott
denials at gmail.com
Wed May 2 14:21:41 EDT 2007
I think this error occurs because the change to a different ethernet
interface caused a change in the hostname, therefore the configuration
file is set up for "evergreen" but the hostname is now something like
"localhost".
Here's the relevant code from OpenSRF/Sytem.pm (plus my comments as "#
dbs -") that sets up the error:
if( (my $cfile = $bsconfig->bootstrap->settings_config) ) {
my $parser = OpenSRF::Utils::SettingsParser->new();
# since we're (probably) the settings server, we can go ahead and
load the real config file
$parser->initialize( $cfile );
$OpenSRF::Utils::SettingsClient::host_config =
$parser->get_server_config($bsconfig->env->hostname);
# dbs - We just read in the C config file (typically /openils/conf/opensrf.xml)
# dbs - and parsed the section based on our hostname - if the hostname
doesn't match
# dbs - anything defined in /openils/conf/opensrf.xml, then we're
going to get some
# dbs - interesting results back.
Dan
On 02/05/07, Don McMorris <don.mcmorris at gmail.com> wrote:
> I'm going to send this over to -dev also. I assume you're talking
> about the line
> "Use of uninitialized value in string eq at /openils/lib/perl5/OpenSRF/System.pm
> line 155" ?
>
> --Don
>
> ---------- Forwarded message ----------
> From: David Wongwai <daw216 at gmail.com>
> Date: May 2, 2007 11:47 AM
> Subject: [OPEN-ILS-GENERAL] VMWare image of Evergreen on Gentoo error
> after changing network type
> To: open-ils-general at list.georgialibraries.org
>
>
> Hi,
>
> I am getting an error starting evergreen after I changed the vm's
> network from NAT to bridged.
>
> after it type -a start_all --
> Starting OpenSRF Router
> Starting OpenSRF Perl
> Use of uninitialized value in string eq at /openils/lib/perl5/OpenSRF/System.pm
> line 155.
> * Server type: Net::Server::PpreFork
> * System bootstrap
> * System is ready...
> Starting OpenSRF C (host=evergreen.corr.round-rock.tx.us with
> bootstrap config /openils/conf/opensrf_core.xml and config context
> opensrf
>
> What is it trying to tell me and how do I fix this?
>
> David Wongwai
>
--
Dan Scott
Laurentian University
More information about the Open-ils-dev
mailing list