Re: [Koha] Cannot find items after update

2013-03-13 Thread Mark Tompsett

Greetings,


Each time I try to build the index it abruptly ends,
I don't know why or what is causing it to end abruptly.


In the past, I encountered similar bizarre stops when there was a memory 
shortage.


How much memory (RAM) does your machine have? I personally would aim for 2GB 
at least, 4GB if you are running a desktop (graphical) version of Ubuntu.

Does it have swap space?

$ free -m
This command will give you an idea of the megabytes of RAM you have free.

If you notice it is particularly low (100MB or less), try to stop the apache 
server, reindex, and the restart the apache server:

$ sudo service apache2 stop
...
$ sudo service apache2 start

If this succeeds, then you do have a memory issue, and you need to get more, 
add/increase swap space, or find out what you don't need running and stop 
that. Sadly, you need Apache to be running to have Koha work.


GPML,
Mark Tompsett 


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


Re: [Koha] Cannot find items after update

2013-03-13 Thread sheldon_tappin
Hi All,

Based on a comment and checking the log files I do believe its a permission
issue. 
How can I fix it?


After checking the log files.

*Results of /var/log/koha/kohadeamon-outout.log*

17:08:07-11/03 zebrasrv(15) [fatal] isamb: read fail for pos=1907 block=476
12:32:57-12/03 zebrasrv(25) [fatal] isamb: read fail for pos=1919 block=479
12:32:57-12/03 zebrasrv(26) [warn] previous transaction didn't reach commit


*Results of /var/log/koha/koha-zebraqueue.err*
20120330 05:22:40 koha-zebraqueue-ctl-koha: client (pid 955) killed by
signal 15, stopping
20120330 06:07:07 koha-zebraqueue-ctl-koha: client (pid 973) killed by
signal 15, stopping
20120330 06:10:45 koha-zebraqueue-ctl-koha: client (pid 1053) killed by
signal 15, stopping
20120331 03:42:36 koha-zebraqueue-ctl-koha: client (pid 1076) killed by
signal 15, stopping


Mark Tompsett wrote
 Greetings,
 
 Each time I try to build the index it abruptly ends,
 I don't know why or what is causing it to end abruptly.
 
 In the past, I encountered similar bizarre stops when there was a memory 
 shortage.
 
 How much memory (RAM) does your machine have? I personally would aim for
 2GB 
 at least, 4GB if you are running a desktop (graphical) version of Ubuntu.
 Does it have swap space?

Our server have 4GBs of memory.

Regards,
Sheldon




--
View this message in context: 
http://koha.1045719.n5.nabble.com/Cannot-find-items-after-update-tp5745126p5745403.html
Sent from the Koha-general mailing list archive at Nabble.com.
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Cannot find items after update

2013-03-12 Thread sheldon_tappin
Hi Guys,

I ran */usr/share/koha/bin/migration_tools/rebuild_zebra.pl -v -r -a -b -x*
but to no avail. 
I was using no_zebra before I updated koha. I don't know if that is causing
the problem with the searches.

Additionally, at a documentation centre (which was yesterday), I updated
koha from version 3.02.x to 3.10.x. Everything worked fine (including
searches) after following all installation instructions. I had executed 
no_zebra on their server and I got the same searching problem that we are
facing. 

After I experience at the search issue at the documentation centre after
running no_zebra I ran */usr/share/koha/bin/migration_tools/rebuild_zebra.pl
-b -r * but it still showed no items.


Based on the above mentioned, can you help me to resolve the issue as soon
as possible.


Regards,
Sheldon



--
View this message in context: 
http://koha.1045719.n5.nabble.com/Cannot-find-items-after-update-tp5745126p5745193.html
Sent from the Koha-general mailing list archive at Nabble.com.
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Cannot find items after update

2013-03-12 Thread Jared Camins-Esakov
Sheldon,

I was using no_zebra before I updated koha. I don't know if that is causing
 the problem with the searches.


NoZebra is deprecated, and if you still have it turned on, that could cause
problems. If you go into the Local use tab on the system preferences
page,  change NoZebra to OFF, and see how that goes.

Regards,
Jared

-- 
Jared Camins-Esakov
Bibliographer, C  P Bibliography Services, LLC
(phone) +1 (917) 727-3445
(e-mail) jcam...@cpbibliography.com
(web) http://www.cpbibliography.com/
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Cannot find items after update

2013-03-12 Thread sheldon_tappin
Hi,

I didn't find the NoZebra option under Local Use in the System perefences.


Sheldon



--
View this message in context: 
http://koha.1045719.n5.nabble.com/Cannot-find-items-after-update-tp5745126p5745206.html
Sent from the Koha-general mailing list archive at Nabble.com.
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


[Koha] Cannot find items after update

2013-03-11 Thread sheldon_tappin
Hi All,

I updated from koha 3.02.x to koha 3.10.x. The update was successful
however, the systems is showing no items next to the records.

Moreover, I try running */migration_tools/rebuild_zebra.pl -b -r* but it
keep timing out. Staff members are unable to check books in and out of the
library. Alas we are doing it manually in the interim.

Can someone please help me to resolve the issue.


Regards,
Sheldon 



--
View this message in context: 
http://koha.1045719.n5.nabble.com/Cannot-find-items-after-update-tp5745126.html
Sent from the Koha-general mailing list archive at Nabble.com.
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Cannot find items after update

2013-03-11 Thread Chris Cormack
Did you make sure you followed all the instructions, including running the 
remove items from marc script. Check the upgrade instructions in the INSTALL 
file. 

If you can't circulate it sounds like you missed this step. 

Chris 

sheldon_tappin thecarte...@hotmail.com wrote:

Hi All,

I updated from koha 3.02.x to koha 3.10.x. The update was successful
however, the systems is showing no items next to the records.

Moreover, I try running */migration_tools/rebuild_zebra.pl -b -r* but
it
keep timing out. Staff members are unable to check books in and out of
the
library. Alas we are doing it manually in the interim.

Can someone please help me to resolve the issue.


Regards,
Sheldon 



--
View this message in context:
http://koha.1045719.n5.nabble.com/Cannot-find-items-after-update-tp5745126.html
Sent from the Koha-general mailing list archive at Nabble.com.
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Cannot find items after update

2013-03-11 Thread sheldon_tappin
I followed all the instructions.

misc/maintenance/remove_items_from_biblioitems.pl --run ..This command ran
successfully

misc/migration_tools/rebuild_zebra.pl -b -r  ..I was unable to run this
command, each time I ran it, putty times out because of inactivity. 

Regards,
Sheldon



--
View this message in context: 
http://koha.1045719.n5.nabble.com/Cannot-find-items-after-update-tp5745126p5745137.html
Sent from the Koha-general mailing list archive at Nabble.com.
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Cannot find items after update

2013-03-11 Thread Chris Cormack
Hi Sheldon

Try running with -x and -v. Putty timing out sounds weird, but then it's been 
about 10 years since I've used windows so I have no idea what putty does 
anymore. 

Chris 

Sheldon Tappin thecarte...@hotmail.com wrote:

I followed all the instructions.
misc/maintenance/remove_items_from_biblioitems.pl --run ..This command
ran successfully
misc/migration_tools/rebuild_zebra.pl -b -r  ..I was unable to run this
command, each time I ran it, putty times out because of inactivity. 

Regards,Sheldon

Subject: Re: [Koha] Cannot find items after update
From: chr...@catalyst.net.nz
Date: Tue, 12 Mar 2013 07:53:34 +1300
To: thecarte...@hotmail.com; koha@lists.katipo.co.nz

Did you make sure you followed all the instructions, including running
the remove items from marc script. Check the upgrade instructions in
the INSTALL file. 



If you can't circulate it sounds like you missed this step. 



Chris 

sheldon_tappin thecarte...@hotmail.com wrote:
Hi All,

I updated from koha 3.02.x to koha 3.10.x. The update was successful
however, the systems is showing no items next to the records.

Moreover, I try running */migration_tools/rebuild_zebra.pl -b -r* but
it
keep timing out. Staff members are unable to check books in and out of
the
library. Alas we are doing it manually in the interim.

Can someone please help me to resolve the issue.


Regards,
Sheldon 



--
View this message in context:
http://koha.1045719.n5.nabble.com/Cannot-find-items-after-update-tp5745126.html
Sent from the Koha-general mailing list archive at Nabble.com.

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


Re: [Koha] Cannot find items after update

2013-03-11 Thread sheldon_tappin
Hi Chris,

I tried the command with -x and -v but I got the following:

*command:* root@ldc2277:~#
/usr/share/koha/bin/migration_tools/rebuild_zebra.pl -x -v
*result:* Must specify -b or -a to reindex bibs or authorities

Before we updated to koha 3.10.x we were using no_zebra. 
I'm unable to find the zebra preference in the System preferences


Regards,
Sheldon



--
View this message in context: 
http://koha.1045719.n5.nabble.com/Cannot-find-items-after-update-tp5745126p5745139.html
Sent from the Koha-general mailing list archive at Nabble.com.
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Cannot find items after update

2013-03-11 Thread Bernardo Gonzalez Kriegel
On Mon, Mar 11, 2013 at 4:19 PM, sheldon_tappin thecarte...@hotmail.comwrote:

 Hi Chris,

 I tried the command with -x and -v but I got the following:

 You must specify -b or -a or both.

Try /usr/share/koha/bin/migration_tools/rebuild_zebra.pl -v -r -a -b -x

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


Re: [Koha] Cannot find items after update

2013-03-11 Thread sheldon_tappin
I am current trying /usr/share/koha/bin/migration_tools/rebuild_zebra.pl -a
-b

Would leaving out -v -r -x cause any issues?


Sheldon



--
View this message in context: 
http://koha.1045719.n5.nabble.com/Cannot-find-items-after-update-tp5745126p5745142.html
Sent from the Koha-general mailing list archive at Nabble.com.
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Cannot find items after update

2013-03-11 Thread Bernardo Gonzalez Kriegel
Sheldon
On Mon, Mar 11, 2013 at 4:34 PM, sheldon_tappin thecarte...@hotmail.comwrote:

 I am current trying /usr/share/koha/bin/migration_tools/rebuild_zebra.pl-a
 -b

 Would leaving out -v -r -x cause any issues?

 -r would reset your index
-v is for verbose mode, to find what is the error
-a to index authorities
-b to index biblios
-x to export data from xml

So, please run with -v -r -a -b -x.

There is an error somewhere, and we are trying to help you find it.

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


Re: [Koha] Cannot find items after update

2013-03-11 Thread Jared Camins-Esakov
Sheldon,

I am current trying /usr/share/koha/bin/migration_tools/rebuild_zebra.pl -a
 -b

 Would leaving out -v -r -x cause any issues?


Only in the sense that the command would not do what you need. Nothing
should be *broken* as a result of that command line, but the commands do
different things. Without -r, you are not rebuilding your indexes, and
without -x you are not using XML. Putty timing out is probably a result of
Putty not working well if you have even the slightest problem with your
internet connection (for example, if you're using wireless in a building
with metal or concrete walls). I would suggest running the rebuild in
screen or tmux, or even just daemonizing it with  so that the rebuild
isn't killed when you lose the connection.

Regards,
Jared

-- 
Jared Camins-Esakov
Bibliographer, C  P Bibliography Services, LLC
(phone) +1 (917) 727-3445
(e-mail) jcam...@cpbibliography.com
(web) http://www.cpbibliography.com/
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Cannot find items after update

2013-03-11 Thread sheldon_tappin
I tried using /usr/share/koha/bin/migration_tools/rebuild_zebra.pl -v -r -a
-b -x
It executed successfully, I got the following results:
Zebra configuration information

Zebra biblio directory  = /var/lib/koha/zebradb/biblios
Zebra authorities directory = /var/lib/koha/zebradb/authorities
Koha directory  = /usr/share/koha/intranet/cgi-bin
BIBLIONUMBER in : 999$c
BIBLIOITEMNUMBER in : 999$d


exporting authority

79601
Records exported: 79677

REINDEXING zebra


exporting biblio

64501
Records exported: 64550

REINDEXING zebra


CLEANING



 However, I'm still experiencing issues with the items

http://koha.1045719.n5.nabble.com/file/n5745145/snapshot.jpg 


Regards,
sheldon



--
View this message in context: 
http://koha.1045719.n5.nabble.com/Cannot-find-items-after-update-tp5745126p5745145.html
Sent from the Koha-general mailing list archive at Nabble.com.
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha