[OPEN-ILS-DEV] Re: [OPEN-ILS-GENERAL] VMWare image of Evergreen
on Gentoo error after changing network type
David Wongwai
daw216 at gmail.com
Wed May 2 15:33:03 EDT 2007
I see it now (how do I find what it thinks is the host name?) I think
when I did this at home my dhcp wasn't adding to the host name while
here at work it is (by looking at the error.) I was really confused
because when it first failed I took it home and it worked. Now I am
back at work and it fails again. I can't change the way dhcp works at
work is there some way to fix this in Gentoo. I tried the net-setup
command but it couldn't find it. I guess I am way to tied to
xwindows....
David Wongwai
On 5/2/07, Dan Scott <denials at gmail.com> wrote:
> 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
>
More information about the Open-ils-dev
mailing list