[OPEN-ILS-DEV] startup problems

Dan Scott denials at gmail.com
Tue Apr 10 15:40:44 EDT 2007


On 10/04/07, Rene Paquin <rpaquin at wlu.ca> wrote:
> I seem to have hit a wall.  I am at the point of trying to start the
> system and I am running into some difficulties.
>
> Here is what i get.
>
> tamarak:/openils/bin$ ./osrf_ctl.sh -d /tmp/ -p
> /openils/conf/bootstrap.conf -c /openils/conf/opensrf_core.xml -a
> start_all
> Starting OpenSRF Router
> ./osrf_ctl.sh: line 113: opensrf_router: command not found

Try setting your PATH environment variable to include /openils/bin, a la:

export PATH=/openils/bin:$PATH

> Starting OpenSRF Perl
> Can't locate OpenSRF/System.pm in @INC (@INC contains: /etc/perl
> /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
> /usr/local/lib/site_perl .).
> BEGIN failed--compilation aborted.

Here you need to set your PERL5LIB environment variable to include
/openils/lib/perl5:

export PERL5LIB=/openils/lib/perl5:$PERL5LIB

> Starting OpenSRF C (host=tamarak.wlu.ca)
> ./osrf_ctl.sh: line 142: opensrf-c: command not found

This is the same PATH problem as above.

These instructions are part of the Gentoo install instructions, but a
quick search on "PERL5LIB" in the wiki suggests that they might not be
part of the instructions for other distributions -- the generic
instructions at
http://open-ils.org/dokuwiki/doku.php?id=building_and_installing_the_source
probably aren't explicit enough for the preferred way each
distribution handles environment variables. I volunteered about a week
ago to try to restructure the install documents so that they are more
like the Gentoo install instructions, with a template for new
distributions / operating systems to follow that will hopefully
include each and every step in excruciating detail :)

Dan Scott


More information about the Open-ils-dev mailing list