Re: [Koha] Fixing Zebra After Upgrade

2016-02-15 Thread Jonathan Druart
Try to modify 666 with 644 and change the owner of the file instead.
It's often a bad idea to let others with +w

2016-02-13 3:03 GMT+00:00 wildness :
> HI Katrin,
>   Thank you so much for your help!  I did a chmod 666 on the file I
> mentioned and reindexed and like magic the zebra server runs properly!
>
>
>
> --
> View this message in context: 
> http://koha.1045719.n5.nabble.com/Fixing-Zebra-After-Upgrade-tp5871038p5874440.html
> Sent from the Koha-general mailing list archive at Nabble.com.
> ___
> Koha mailing list  http://koha-community.org
> Koha@lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Fixing Zebra After Upgrade

2016-02-12 Thread wildness
HI Katrin,
  Thank you so much for your help!  I did a chmod 666 on the file I
mentioned and reindexed and like magic the zebra server runs properly!   



--
View this message in context: 
http://koha.1045719.n5.nabble.com/Fixing-Zebra-After-Upgrade-tp5871038p5874440.html
Sent from the Koha-general mailing list archive at Nabble.com.
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Fixing Zebra After Upgrade

2016-02-08 Thread Katrin Fischer
Hi,

I think the permission problem is probably from running the reindexing
process with the wrong user - but I am not sure how to fix this for an
installation with packages.

Also, be careful about the remapping/changing of Koha-to-MARC-Mappings,
because it won't change your records, only the configuration and how new
records will store the biblionumber/biblioitemnumber. Maybe take a look
at your data to see if configuration and data are now matching.

Hope this helps,

Katrin

Am 06.02.2016 um 05:02 schrieb wildness:
> Progress  I played around with the mappings, but now I have a
> persmission's error:
> 
> Wait progress: 
> 20:01:18-05/02 zebraidx(12154) [warn] Cannot open
> `/etc/koha/sites/library/zebra-biblios-dom.cfg' [Permission denied]
> 20:01:18-05/02 zebraidx(12154) [fatal] Cannot read config
> /etc/koha/sites/library/zebra-biblios-dom.cfg
> 20:01:18-05/02 zebraidx(12155) [warn] Cannot open
> `/etc/koha/sites/library/zebra-biblios-dom.cfg' [Permission denied]
> 20:01:18-05/02 zebraidx(12155) [fatal] Cannot read config
> /etc/koha/sites/library/zebra-biblios-dom.cfg
> 
> When I grep ps for zebra I get:
> 12854 ?S  0:00 daemon --name=library-koha-zebra
> --pidfiles=/var/run/koha/library/
> --errlog=/var/log/koha/library/zebra-error.log
> --stdout=/var/log/koha/library/zebra.log
> --output=/var/log/koha/library/zebra-output.log --verbose=1 --respawn
> --delay=30 --user=library-koha.library-koha -- zebrasrv -v none,fatal,warn
> -f /etc/koha/sites/library/koha-conf
> 
> 
> 
> --
> View this message in context: 
> http://koha.1045719.n5.nabble.com/Fixing-Zebra-After-Upgrade-tp5871038p5873316.html
> Sent from the Koha-general mailing list archive at Nabble.com.
> ___
> Koha mailing list  http://koha-community.org
> Koha@lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha
> 

___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Fixing Zebra After Upgrade

2016-02-06 Thread Lennon Mazonde

Hi,


Wait progress:
20:01:18-05/02 zebraidx(12154) [warn] Cannot open
`/etc/koha/sites/library/zebra-biblios-dom.cfg' [Permission denied]
20:01:18-05/02 zebraidx(12154) [fatal] Cannot read config
/etc/koha/sites/library/zebra-biblios-dom.cfg
20:01:18-05/02 zebraidx(12155) [warn] Cannot open
`/etc/koha/sites/library/zebra-biblios-dom.cfg' [Permission denied]
20:01:18-05/02 zebraidx(12155) [fatal] Cannot read config
/etc/koha/sites/library/zebra-biblios-dom.cfg
From your error output , it seems you have set the wrong permissions 
for the zebra-biblios-dom.cfg file.  Try fixing those. Run
'ls -la /etc/koha/sites/library/zebra-biblios-dom.cfg'  to find out what 
permissions are currently set.


You can also have a look at this post -

https://lists.katipo.co.nz/public/koha/2015-May/042801.html.

Regards,

Lennon

___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Fixing Zebra After Upgrade

2016-02-05 Thread wildness
Hi Katrin 
  Thank you so much for replying!  I checked the mark mapping and it seems
to be in order, but how exactly do I assign do I get my set to match yours (
BIBLIONUMBER in : 999$c , BIBLIOITEMNUMBER in : 999$d).  Sorry I'm a
software developer and i'm working with our librarian, but many of these
terms are confusing to me.  

Our framework test looks like this: 
OK  itemnum : the field itemnumber is mapped to a field in tab -1
item fields ALL items fields MUST :
be mapped to the same tag,
and they must all be in the 10 (items) tab
OK  Only 1 MARC tag mapped to items
OK  biblioitems.itemtype defined
OK  homebranch defined
OK  holdingbranch defined
OK  at least 1 item type defined
OK  at least 1 library defined
OK  biblionumber and biblioitemnumber mapped correctly
OK  no NULL value in frameworkcode
OK  all subfields for each tag are in the same tab (or ignored)
OK  all authority types used in the frameworks are defined
OK  items.permanent_location is not mapped on the frameworks
TOTAL   You have 1 error(s) in your MARC configuration. Please fix them before
using Koha

When I run the process command I get this:
$ ps axf | grep "zebrasrv" 
27646 pts/0S+ 0:00  \_ grep zebrasrv

I've run the daemon (stop, start zebra) and the output of the log file is in
the first post.

ideas? 



--
View this message in context: 
http://koha.1045719.n5.nabble.com/Fixing-Zebra-After-Upgrade-tp5871038p5873304.html
Sent from the Koha-general mailing list archive at Nabble.com.
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Fixing Zebra After Upgrade

2016-02-05 Thread wildness
Progress  I played around with the mappings, but now I have a
persmission's error:

Wait progress: 
20:01:18-05/02 zebraidx(12154) [warn] Cannot open
`/etc/koha/sites/library/zebra-biblios-dom.cfg' [Permission denied]
20:01:18-05/02 zebraidx(12154) [fatal] Cannot read config
/etc/koha/sites/library/zebra-biblios-dom.cfg
20:01:18-05/02 zebraidx(12155) [warn] Cannot open
`/etc/koha/sites/library/zebra-biblios-dom.cfg' [Permission denied]
20:01:18-05/02 zebraidx(12155) [fatal] Cannot read config
/etc/koha/sites/library/zebra-biblios-dom.cfg

When I grep ps for zebra I get:
12854 ?S  0:00 daemon --name=library-koha-zebra
--pidfiles=/var/run/koha/library/
--errlog=/var/log/koha/library/zebra-error.log
--stdout=/var/log/koha/library/zebra.log
--output=/var/log/koha/library/zebra-output.log --verbose=1 --respawn
--delay=30 --user=library-koha.library-koha -- zebrasrv -v none,fatal,warn
-f /etc/koha/sites/library/koha-conf



--
View this message in context: 
http://koha.1045719.n5.nabble.com/Fixing-Zebra-After-Upgrade-tp5871038p5873316.html
Sent from the Koha-general mailing list archive at Nabble.com.
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Fixing Zebra After Upgrade

2016-01-24 Thread Katrin Fischer
Hi,

I think the about page might give a first important clue here - have you
checked that your Zebra server is indeed running? If it's not running in
the background, all searches will not return any results.

Can you run this on command line?
ps axf | grep "zebrasrv"

Something else that looks a little weird are the 2 lines at the end of
your index run:

> BIBLIONUMBER in : 0$
> BIBLIOITEMNUMBER in : 952$9

Do you remember if the Koha-to-MARC-Mappings were changed in your Koha
installation? They seem to be non-standard. For comparison, in my
installation those lines read:

BIBLIONUMBER in : 999$c
BIBLIOITEMNUMBER in : 999$d

Hope this helps,

Katrin


Am 23.01.2016 um 02:13 schrieb wildness:
> Hi All, 
>   I've been trying to solve this issue for a about a month now and was
> wondering if you all could provide any advice.  This issue occurred after I
> upgraded to version 3.18 and the previous version was at least two years
> old, but I didn't note it down.   
> Our server is running Ubuntu 12.04.5 LTS. 
> 
> The About page show this error: 
> 
> Zebra server seems not to be available. Is it started? 
> 
> When I re-index I get these errors: 
> 
> .error retrieving biblio 314 at
> /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 679. 
> .error retrieving biblio 315 at
> /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 679. 
> .error retrieving biblio 316 at
> /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 679. 
> .error retrieving biblio 317 at
> /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 679. 
> .error retrieving biblio 318 at
> /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 679. 
> .error retrieving biblio 319 at
> /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 679. 
> .error retrieving biblio 320 at
> /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 679. 
> .error retrieving biblio 321 at
> /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 679. 
> .error retrieving biblio 322 at
> /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 679. 
> .error retrieving biblio 323 at
> /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 679. 
> .error retrieving biblio 324 at
> /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 679. 
> .error retrieving biblio 325 at
> /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 679. 
> .error retrieving biblio 326 at
> /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 679. 
> .error retrieving biblio 327 at
> /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 679. 
> Zebra configuration information 
>  
> Zebra biblio directory  = /var/lib/koha/library/biblios 
> Zebra authorities directory = /var/lib/koha/library/authorities 
> Koha directory  = /usr/share/koha/intranet/cgi-bin 
> Lockfile=
> /var/lock/zebra_koha_library/rebuild/rebuild..LCK 
> BIBLIONUMBER in : 0$ 
> BIBLIOITEMNUMBER in : 952$9 
>  
>  
> exporting authority 
>  
> 701. 
> 
> The issue seems similar to this post
> http://koha.1045719.n5.nabble.com/Indexing-Not-Updating-td5866318.html, but
> I had no luck after reading through it and applying it to our iteration of
> koha. 
> 
> In zebra logs this is happening: 
> 20160115 18:04:11 library-koha-zebra: terminating too quickly, waiting 30
> seconds 
> 20160115 18:04:41 library-koha-zebra: client (pid 2195) exited with 1 status 
> 20160115 18:04:41 library-koha-zebra: client (pid 2196) exited with 1 status 
> 20160115 18:04:41 library-koha-zebra: client (pid 2197) exited with 1 status 
> 20160115 18:04:42 library-koha-zebra: client (pid 2198) exited with 1 status 
> 20160115 18:04:42 library-koha-zebra: client (pid 2199) exited with 1 status 
> 20160115 18:04:42 library-koha-zebra: terminating too quickly, waiting 30
> seconds 
> 
> In a infinite loop while the service running. 
> 
> I've gone through just about every guide, post, log, etc available on the
> interwebs, but nothing has solved my issue. 
> 
> Advice?   
> 
> THANKS!
> 
> 
> 
> --
> View this message in context: 
> http://koha.1045719.n5.nabble.com/Fixing-Zebra-After-Upgrade-tp5871038.html
> Sent from the Koha-general mailing list archive at Nabble.com.
> ___
> Koha mailing list  http://koha-community.org
> Koha@lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha
> 

___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


[Koha] Fixing Zebra After Upgrade

2016-01-22 Thread wildness
Hi All, 
  I've been trying to solve this issue for a about a month now and was
wondering if you all could provide any advice.  This issue occurred after I
upgraded to version 3.18 and the previous version was at least two years
old, but I didn't note it down.   
Our server is running Ubuntu 12.04.5 LTS. 

The About page show this error: 

Zebra server seems not to be available. Is it started? 

When I re-index I get these errors: 

.error retrieving biblio 314 at
/usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 679. 
.error retrieving biblio 315 at
/usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 679. 
.error retrieving biblio 316 at
/usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 679. 
.error retrieving biblio 317 at
/usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 679. 
.error retrieving biblio 318 at
/usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 679. 
.error retrieving biblio 319 at
/usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 679. 
.error retrieving biblio 320 at
/usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 679. 
.error retrieving biblio 321 at
/usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 679. 
.error retrieving biblio 322 at
/usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 679. 
.error retrieving biblio 323 at
/usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 679. 
.error retrieving biblio 324 at
/usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 679. 
.error retrieving biblio 325 at
/usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 679. 
.error retrieving biblio 326 at
/usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 679. 
.error retrieving biblio 327 at
/usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 679. 
Zebra configuration information 
 
Zebra biblio directory  = /var/lib/koha/library/biblios 
Zebra authorities directory = /var/lib/koha/library/authorities 
Koha directory  = /usr/share/koha/intranet/cgi-bin 
Lockfile=
/var/lock/zebra_koha_library/rebuild/rebuild..LCK 
BIBLIONUMBER in : 0$ 
BIBLIOITEMNUMBER in : 952$9 
 
 
exporting authority 
 
701. 

The issue seems similar to this post
http://koha.1045719.n5.nabble.com/Indexing-Not-Updating-td5866318.html, but
I had no luck after reading through it and applying it to our iteration of
koha. 

In zebra logs this is happening: 
20160115 18:04:11 library-koha-zebra: terminating too quickly, waiting 30
seconds 
20160115 18:04:41 library-koha-zebra: client (pid 2195) exited with 1 status 
20160115 18:04:41 library-koha-zebra: client (pid 2196) exited with 1 status 
20160115 18:04:41 library-koha-zebra: client (pid 2197) exited with 1 status 
20160115 18:04:42 library-koha-zebra: client (pid 2198) exited with 1 status 
20160115 18:04:42 library-koha-zebra: client (pid 2199) exited with 1 status 
20160115 18:04:42 library-koha-zebra: terminating too quickly, waiting 30
seconds 

In a infinite loop while the service running. 

I've gone through just about every guide, post, log, etc available on the
interwebs, but nothing has solved my issue. 

Advice?   

THANKS!



--
View this message in context: 
http://koha.1045719.n5.nabble.com/Fixing-Zebra-After-Upgrade-tp5871038.html
Sent from the Koha-general mailing list archive at Nabble.com.
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha