[OPEN-ILS-DEV] Startup errors

dkyle dkyle at grpl.org
Tue Jun 5 11:39:06 EDT 2007


A glance at Application.pm makes me think you should be able to find a 
line beginning with 'Error loading application_implementation:' in the logs.

Doug.

Hennie Rautenbach wrote:
> Thanks Dan,
>
> You were right about these.  I fixed it and now there isn't a single 
> error or warning in the osrfsys.log.
>
> But !
>
> When I proceed to the next step I get:
>
> opensrf at leo:~$ ./autogen.sh /openils/conf/bootstrap.conf
> Updating fieldmapper
> Updating web_fieldmapper
> Updating OrgTree
> removing OrgTree from the cache...
> Can't call method "method_lookup" on an undefined value at 
> /openils/lib/perl5/OpenSRF/Application.pm line 103.
> Updating OrgTree HTML
> Can't call method "method_lookup" on an undefined value at 
> /openils/lib/perl5/OpenSRF/Application.pm line 103.
> Done
>
> Any advice on this one ?
>
> Regards,
>
> Hennie
>
> Dan Wells wrote:
>> Hello Hennie,
>>
>>  
>>>        libdbi.so.0 => /usr/lib/libdbi.so.0 (0xb7f56000)
>>>     
>>
>>  
>>> opensrf at leo:~$ echo $LD_LIBRARY_PATH
>>> /openils/lib:/usr/lib/dbd:/usr/local/lib:
>>>     
>>
>> I would say you definitely have a problem with your libdbi setup 
>> still.  The error message you are getting is a direct result of a 
>> failing libdbi function call (specifically, dbi_conn_new(pgsql), 
>> which creates a new connection using the PostgreSQL driver).
>>
>> One thing which worries me a bit is that it looks like your current 
>> libdbi.so is residing directly in /usr/lib with the drivers in 
>> /usr/lib/dbd, yet you still have /usr/local/lib in your LD path 
>> (emphasis on *local*).  What may be happening is that you still have 
>> an older/broken version of libdbi in /usr/local/lib which you are 
>> inadvertently trying to use with newer drivers in /usr/lib/dbd.  One 
>> thing worth trying would be to simply remove /usr/local/lib from your 
>> LD_LIBRARY_PATH and see if that clears things up.  If that doesn't 
>> work, rather than trying to untangle things, perhaps you should 
>> remove any and all versions of both libdbi.so and libdbdpgsql.so and 
>> try compiling and installing them again.  They are not especially 
>> large or complicated compiles.
>>
>> Hope this helps,
>> DW
>>   
>
>
> -------------------------------------------------------------------------------- 
>
>
> This transmission is for the intended addressee only and is confidential
> information. If you have received this transmission in error, please
> delete it and notify the sender. The contents of this e-mail are the
> opinion of the writer only and are not endorsed by Sabinet Online
> Limited unless expressly stated otherwise.
> -------------------------------------------------------------------------------- 
>



More information about the Open-ils-dev mailing list