[Koha] unable to locate koha-conf.xml

Indranil Das Gupta indradg at gmail.com
Tue Mar 18 21:41:07 NZDT 2014


Hi,

On Tue, Mar 18, 2014 at 1:13 PM, vishal patil <vishal.patil at osslabs.biz> wrote:
>
> hi satish,
>
> have a look at this reindexing steps:
>
> 1)switch to user "koha" (owner of koha source code/config files)
> 2)export KOHA_CONF=/koha-dev/etc/koha-conf.xml
> 3)export PERL5LIB=/koha/kohaclone(src code)
> 4)perl misc/migration_tools/rebuild_zerbra.pl -b -r -v -x     (for full
> reindex)

@Vishal, Satish has mentioned that he has installed from 'packages',
so it is highly unlikely that he will find anything at the locations
your have mentioned which may have been accurate if he had installed
via git.

Of course, if you are aware of any specific peculiarities of Satish's
installation, then your instructions might be entirely correct. :-)

@Satish: if you have installed from ubuntu packages, the location of
koha-conf.xml is /etc/koha/sites/<name_of_your_actual_instance>

NOTE: <name_of_your_actual_instance> is whatever you had created using
koha-create --create-db <instance_name> when you had started out.

hope that helps,
-indra

>
>
> hope this helps you........
>
>
> On Tue, Mar 18, 2014 at 1:00 PM, SATISH <lis4satish at gmail.com> wrote:
>
> > Hello,
> >
> > I have installed Koha 3.10 and migrated to 3.14 on ubuntu.( by using
> > packages)
> > when I try to re-index, I am getting the following error.
> >
> > root at gechlibrary:/usr/share/koha/bin/migration_tools#
> > ./rebuild_zebra.pl-run-as-root -b -r -a
> > unable to locate Koha configuration file koha-conf.xml at
> > /usr/share/koha/lib/C4/Context.pm line 372.
> >
> > Can you please help me for fixing this error ?
> >
> >
> >
> > rebuild zebra command throws following message:
> >
> > koha-rebuild-zebra -v -f gechlibrary
> > Zebra configuration information
> > ================================
> > Zebra biblio directory      = /var/lib/koha/gechlibrary/biblios
> > Zebra authorities directory = /var/lib/koha/gechlibrary/authorities
> > Koha directory              = /usr/share/koha/intranet/cgi-bin
> > BIBLIONUMBER in :     999$c
> > BIBLIOITEMNUMBER in : 999$d
> > ================================
> > skipping authorities
> > ====================
> > exporting biblio
> > ====================
> >
> > 301....................................................................................................
> > Records exported: 349
> > ====================
> > REINDEXING zebra
> > ====================
> > ====================
> > CLEANING
> > ====================
> > Zebra configuration information
> > ================================
> > Zebra biblio directory      = /var/lib/koha/gechlibrary/biblios
> > Zebra authorities directory = /var/lib/koha/gechlibrary/authorities
> > Koha directory              = /usr/share/koha/intranet/cgi-bin
> > BIBLIONUMBER in :     999$c
> > BIBLIOITEMNUMBER in : 999$d
> > ================================
> > ====================
> > exporting authority
> > ====================
> >
> > Records exported: 0
> > ====================
> > REINDEXING zebra
> > ================Can you help me for fixing this error ?
> > ====
> > skipping biblios
> > ====================
> > CLEANING
> > ====================
> >
> >
> >
> > with thanks
> > Satish MV
> > Librarian
> > Govt. Engineering College, Hassan
> > Karnataka.
> >
> >
> >
> > --
> > _______________________________________________
> > Koha mailing list  http://koha-community.org
> > Koha at lists.katipo.co.nz
> > http://lists.katipo.co.nz/mailman/listinfo/koha
> >
>
>
>
> --
> Regards,
> Vishal Patil
> Landline number:02232080161
> E-Mail:
> *vishal_wpatil at nucsoft.co.in <vishal_wpatil at nucsoft.co.in>*
>           *vishal.patil at osslabs.biz <vishal.patil at osslabs.biz>.*
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha




-- 
Indranil Das Gupta

Phone : +91-98300-20971
Blog    : http://indradg.randomink.org/blog
IRC      : indradg on irc://irc.freenode.net
Twitter : indradg

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-
Please exchange editable Office documents only in ODF Format. No other
format is acceptable. Support Open Standards.

For a free editor supporting ODF, please visit LibreOffice -
http://www.documentfoundation.org


More information about the Koha mailing list