I'm having issues trying to get the startup script listed at http://docs.evergreen-ils.org/1.6/draft/html/evergreen_startup_script.html
to work with EG 2.0.7 under Ubuntu Lucid. Is this an acceptable script to use with 2.0.7? It's documented for 1.6, but I can't seem to find anything better to start with. I'll be happy to tweak it if given the appropriate pointers. More details below: Everything is installed in the usual place. It seems to be a simple path issue, but I'm going nuts trying to fix it. I've taken the startup script and called it /etc/init.d/evergreen. I'm just trying to run the script manually to make sure it works, but I'm getting messages as follows: # /etc/init.d/memcached status * memcached is running # /etc/init.d/ejabberd start Starting jabber server: ejabberd already running. # /etc/init.d/apache2 status Apache is running (pid 1662). # /etc/init.d/evergreen start Starting Evergreen /etc/init.d/evergreen: line 23: PERL5LIB=/openils/lib/perl5:$PERL5LIB:/openils/lib/perl5 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/openils/bin osrf_ctl.sh -l -a start_all: No such file or directory Exception: OpenSRF::EX::Session 2011-07-15T10:20:48 OpenSRF::Utils::SettingsClient /usr/local/share/perl/5.10.1/OpenSRF/Utils/SettingsClient.pm:103 Session Error: [email protected]/opensrf.settings IS NOT CONNECTED TO THE NETWORK!!! FAILURE Starting Reporting: FAILURE Starting Z39.50/SRU: OILS SIP Server already started : 2192 /openils/bin/oils_ctl.sh: line 92: cd: /opt/SIPServer: No such file or directory Logwise, I'm only seeing the following: osrfsys.log: [2011-07-15 10:20:48] /openils/bin/clark-kent.pl [ERR :2263:EX.pm:66:] Exception: OpenSRF::EX::Session 2011-07-15T10:20:48 OpenSRF::Utils::SettingsClient /usr/local/share/perl/5.10.1/OpenSRF/Utils/SettingsClient.pm:103 Session Error: [email protected]/opensrf.settings IS NOT CONNECTED TO THE NETWORK!!! If I use the script to start each piece manually (start_router, start_perl, start_c, start_osrf, start_reporter) it seems to work fine. Which is kind of goofy. (I see that the script includes a hook to start z39_50.sh, but there is no such script in my install.) Perhaps this part isn't appropriate for this version? And the SIP stuff I think I'm going to comment out, as we aren't using SIP. Pointers would be appreciated. -- Victoria Bush Opscan Evaluation Manager Center for Teaching, Learning & Technology [email protected]
