During the last step of <br>sudo make install<br><br>there were to directives that were printed... <br><br>similar to this <br><br>export KOHA_CONF=/usr/share/koha/etc/koha-conf.xml<br><br><br>that is what you are looking at. Please review that. {there was also one that was printed for the export PERL5LIB}<br>
<br>Thanks,<br>Brendan<br><br>-- <br>---------------------------------------------------------------------------------------------------------------<br>Brendan A. Gallagher<br>ByWater Solutions<br>CEO, Director of Innovation<br>
Support and Consulting for Open Source Software<br>Installation, Data Migration, Training, Customization, Hosting<br>and Complete Support Packages<br>Headquarters: Santa Barbara, CA - Office: West Haven, CT<br>Phone # (888) 900-8944<br>
<a href="http://bywatersolutions.com">http://bywatersolutions.com</a><br><a href="mailto:info@bywatersolutions.com">info@bywatersolutions.com</a><br><br><div class="gmail_quote">2010/3/2 Nouman Soomro <span dir="ltr"><<a href="mailto:noumansoomro@rocketmail.com">noumansoomro@rocketmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>still show same problem<br>
<br>nouman@lumhs-b70715be2:~$ su<br>Password: <br>lumhs-b70715be2:/home/nouman# export KOHA_CONF=/path/to/your/koha-conf.xml<br>lumhs-b70715be2:/home/nouman# export PERL5LIB=/path/to/koha<br>lumhs-b70715be2:/home/nouman# <br>
lumhs-b70715be2:/home/nouman# /usr/share/koha/bin/migration_tools/<a href="http://rebuild_zebra.pl" target="_blank">rebuild_zebra.pl</a> –v –b –a<br>Can't locate C4/Context.pm in @INC (@INC contains: /path/to/koha /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/koha/bin/migration_tools/<a href="http://rebuild_zebra.pl" target="_blank">rebuild_zebra.pl</a> line 5.<br>
BEGIN failed--compilation aborted at /usr/share/koha/bin/migration_tools/<a href="http://rebuild_zebra.pl" target="_blank">rebuild_zebra.pl</a> line 5.<br><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">
<br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Magnus Enger <<a href="mailto:magnus@enger.priv.no" target="_blank">magnus@enger.priv.no</a>><br>
<b><span style="font-weight: bold;">To:</span></b> Nouman Soomro <<a href="mailto:noumansoomro@rocketmail.com" target="_blank">noumansoomro@rocketmail.com</a>><br><b><span style="font-weight: bold;">Cc:</span></b> "<a href="mailto:koha@lists.katipo.co.nz" target="_blank">koha@lists.katipo.co.nz</a>" <<a href="mailto:koha@lists.katipo.co.nz" target="_blank">koha@lists.katipo.co.nz</a>><br>
<b><span style="font-weight: bold;">Sent:</span></b> Tue, March 2, 2010 12:23:05 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Koha] catalogue search not working<br></font><br>2010/3/2 Nouman Soomro <<a href="mailto:noumansoomro@rocketmail.com" target="_blank">noumansoomro@rocketmail.com</a>>:<br>
><br>><br>> rebuild _zebra is not working as follow<br>> nouman@lumhs-b70715be2:~$
/usr/share/koha/bin/migration_tools/rebuild_zebra –v –b –a<br>> bash: /usr/share/koha/bin/migration_tools/rebuild_zebra: No such file or directory<br><br>The script is called <a href="http://rebuild_zebra.pl" target="_blank">rebuild_zebra.pl</a>, so you need to do this:<br>
<br>/usr/share/koha/bin/migration_tools/<a href="http://rebuild_zebra.pl" target="_blank">rebuild_zebra.pl</a> –v –b –a<br><br>Do this to see what the options mean:<br><br>/usr/share/koha/bin/migration_tools/<a href="http://rebuild_zebra.pl" target="_blank">rebuild_zebra.pl</a> --help<br>
<br>> nouman@lumhs-b70715be2:~$ su<br>> /usr/share/koha/bin/migration_tools/rebuild_zebra –v –b –a<br>> Unknown id: /usr/share/koha/bin/migration_tools/rebuild_zebra<br><br>su is used to change your identity into that of another user on the system.<br>
<br>In order to change into a user called e.g. koha you need to do this:<br><br>su koha<br># you will then be asked for the password<br># you can now execute <a href="http://rebuild_zebra.pl" target="_blank">rebuild_zebra.pl</a> as the user called koha<br>
/usr/share/koha/bin/migration_tools/<a href="http://rebuild_zebra.pl" target="_blank">rebuild_zebra.pl</a> –v –b –a<br><br>Use
sudo to execute a command as root:<br><br>sudo /usr/share/koha/bin/migration_tools/<a href="http://rebuild_zebra.pl" target="_blank">rebuild_zebra.pl</a> –v –b –a<br># <a href="http://rebuild_zebra.pl" target="_blank">rebuild_zebra.pl</a> will be executed as the user root<br>
<br>HTH<br>Magnus<br><a href="http://libriotech.no" target="_blank">libriotech.no</a><br></div></div>
</div><br>
</div><br>_______________________________________________<br>
Koha mailing list<br>
<a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a><br>
<a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
<br></blockquote></div><br><br clear="all"><br><br><br>