[Kete] kete 1.2 cannot add item in

hoa lean anhoale at yahoo.com
Fri Mar 12 09:24:23 NZDT 2010


Thanks a lot for looking at this Walter.

Here is the log.

An

--- On Thu, 11/3/10, Walter McGinnis <walter at katipo.co.nz> wrote:

From: Walter McGinnis <walter at katipo.co.nz>
Subject: Re: [Kete] kete 1.2 cannot add item in
To: "hoa lean" <anhoale at yahoo.com>
Cc: "Walter McGinnis" <walter at katipo.co.nz>, Kete at lists.katipo.co.nz, "Andy Robertson" <andrew.robertson at natlib.govt.nz>
Received: Thursday, 11 March, 2010, 10:59 AM

Hi Hoa,

Good to hear you are making progress.

Kete has two components that have to know about an item; the web application with its mysql database and the Zebra search index engine.  In any results page (and related items area, too), Zebra is actually being asked for its results rather than mysql.  A process of synchronization happens between the web application and Zebra for each item when it is added or updated.  If this process fails, then the item can "disappear" and appear as if it doesn't exist.  In most cases there is a record of the item in the mysql database, but it has failed to be created in the Zebra index.

My suspicion is that your item is not making it into Zebra and you still have a fundamental problem (effecting Zebra every time you try to add or edit a record) with your Zebra configuration.  Check your zebra log at log/zebra.log and look for failure being reported.

The good news is that once you address this fundamental issue with the Zebra syncing, you'll be able to "rebuild search databases" and get all your previous items back.

Could you send along your Zebra log please?

Cheers,
Walter


On Mar 11, 2010, at 4:36 PM, hoa lean wrote:

> Hi all.
> 
> Just to let you know that I sucessully make the Zebra work. But then there is another issue.
> When I add new item (can be a topic, an image, ...), kete remove all the previous one.
> Or even after 1 item was added in, after I click "Browse", all gone.
> 
> Do you have any ideas why it happens like that ?
> I do the rebuild search engine, but no help.
> 
> 
> --- On Thu, 11/3/10, hoa lean <anhoale at yahoo.com> wrote:
> 
> From: hoa lean <anhoale at yahoo.com>
> Subject: Re: [Kete] have issue with zebra kete 1.2
> To: Kete at lists.katipo.co.nz, "Andy Robertson" <andrew.robertson at natlib.govt.nz>
> Received: Thursday, 11 March, 2010, 8:06 AM
> 
> Thanks Andy and Walter,
> 
> I will try uninstall the yaz and zebra. 
> Yes, I use yast2 and find that libxslt and libxslt-devel already installed.
> I install it from source, by download the file from indexdata webpage, put it in the 
> /usr/local/src  then tar it, then do the installation from the instruction 
> 
> 
> 
> 
> mkdir /usr/local/src 
> 
> @host: # chmod 777
> /usr/local/src 
> 
> @host: # cd /usr/local/src
> 
> 
> @host: # wget
> http://ftp.indexdata.dk/pub/yaz/yaz-4.0.2.tar.gz 
> 
> @host: # tar xfz yaz-4.0.2.tar.gz
> 
> 
> @host: # wget
> http://ftp.indexdata.dk/pub/zebra/idzebra-2.0.43.tar.gz 
> 
> @host: # tar xfz idzebra-2.0.43.tar.gz
> 
> 
> @host: # cd yaz-4.0.2
> 
> 
> @host: # ./configure
> --prefix=/usr 
> 
> @host: # make 
> 
> @host: # sudo make install
> 
> 
> @host: # cd ../idzebra-2.0.43
> 
> 
> @host: # ./configure
> --prefix=/usr --with-yaz=../yaz-4.0.2 --enable-mod-alvis 
> 
> @host: # make 
> 
> @host: # sudo make install
> 
> 
> 
> Oh, for Walter I also attach 2 zebra-public.cfg files, the original and the one I edit it to match the real  folder on the server.
> 
> Thanks a lot guys,
> An
> --- On Thu, 11/3/10, Andy Robertson <andrew.robertson at natlib.govt.nz> wrote:
> 
> From: Andy Robertson <andrew.robertson at natlib.govt.nz>
> Subject: Re: [Kete] have issue with zebra kete 1.2
> To: Kete at lists.katipo.co.nz, anhoale at yahoo.com
> Received: Thursday, 11 March, 2010, 7:14 AM
> 
> Hi,
> 
> You didn't mention if you found precompiled binaries or if you compiled from source ?  
> 
> Also are the libxslt libxslt-devel yast packages on your machine, my first impression when you emailed the list was that the install using the suse yast facility was good apart from you were missing these support libaries.  
> 
> If you compile from source then heres my notes on installing yaz and zebra.
> 
> I use version idzebra-2.0.36 and yaz-3.0.45. 
> 
> download yaz and zebra
> wget http://ftp.indexdata.dk/pub/yaz/yaz-3.0.45.tar.gz
> wget http://ftp.indexdata.dk/pub/zebra/idzebra-2.0.36.tar.gz
> 
> You need to install yaz first.   Uncompress and untar them into a temporary work directory.  We'll install them into /usr/local/ as this is where the config files in the kete install looks for the libraries.
> 
> gtar xvzf yaz-3.0.45.tar.gz
> cd yaz-3.0.45
> 
> ./configure --prefix=/usr/local --disable-static
> make
> make install
> 
> 
> gtar xvzf idzebra-2.0.36.tar.gz
> cd idzebra-2.0.36
> 
> ./configure --prefix=/usr/local --with-yaz=/usr/local/bin --disable-static
> make
> make install
> 
> 
> 
> 
> 
> 
> 
>       
> -----Inline Attachment Follows-----
> 
> _______________________________________________
> Kete mailing list
> Kete at lists.katipo.co.nz
> http://lists.katipo.co.nz/cgi-bin/mailman/listinfo/kete
> 
> 
> 
> 
> _______________________________________________
> Kete mailing list
> Kete at lists.katipo.co.nz
> http://lists.katipo.co.nz/cgi-bin/mailman/listinfo/kete




      


More information about the Kete mailing list