Unsupported segments file format

351 views
Skip to first unread message

Hernán Carvajal

unread,
Aug 16, 2011, 4:12:58 PM8/16/11
to ICA-AtoM Users
Hello Everyone,

We are having some troubles with ICA-Atom 1.1 right now.

We can't add new archival descriptions nor do searches.

Here are a little part of the logs of qubit_dev, with the error
messages:

Aug 15 12:54:45 symfony [debug] {sfPropelLogger} time: 0.000 sec |
slow: NO | mem: 41.3 MB | mempeak: 41.3 MB | memdelta: 0.0 B
| SELECT object.CLASS_NAME, object.CREATED_AT, object.UPDATED_AT,
object.ID, object.SERIAL_NUMBER, digital_object.ID,
digital_object.INFORMATION_OBJECT_ID, digital_object.USAGE_ID,
digital_object.MIME_TYPE, digital_object.MEDIA_TYPE_ID,
digital_object.NAME, digital_object.PATH, digital_object.SEQUENCE,
digital_object.BYTE_SIZE, digital_object.CHECKSUM,
digital_object.CHECKSUM_TYPE_ID, digital_object.PARENT_ID,
digital_object.LFT, digital_object.RGT FROM `object`, `digital_object`
WHERE digital_object.INFORMATION_OBJECT_ID='76965' AND
digital_object.ID=object.ID
Aug 15 12:54:45 symfony [debug] {sfPropelLogger} time: 0.000 sec |
slow: NO | mem: 41.3 MB | mempeak: 41.3 MB | memdelta: 0.0 B
| INSERT INTO status
(`OBJECT_ID`,`TYPE_ID`,`STATUS_ID`,`CREATED_AT`,`UPDATED_AT`) VALUES
('76965',158,'160','2011-08-15 12:54:45','2011-08-15 12:54:45')
Aug 15 12:54:45 symfony [debug] {sfPropelLogger} time: 0.000 sec |
slow: NO | mem: 44.0 MB | mempeak: 44.0 MB | memdelta: 0.0 B
| SELECT culture FROM information_object_i18n WHERE id = ? GROUP BY
culture
Aug 15 12:54:45 symfony [notice] {sfWebDebugLogger} Notice at /opt/
prueba/plugins/sfLucenePlugin/lib/vendor/Zend/Search/Lucene/Storage/
File.php on line 156 (Uninitialized string offset: 0)
Aug 15 12:54:45 symfony [notice] {sfWebDebugLogger} Notice at /opt/
prueba/plugins/sfLucenePlugin/lib/vendor/Zend/Search/Lucene/Storage/
File.php on line 157 (Uninitialized string offset: 1)
Aug 15 12:54:45 symfony [notice] {sfWebDebugLogger} Notice at /opt/
prueba/plugins/sfLucenePlugin/lib/vendor/Zend/Search/Lucene/Storage/
File.php on line 158 (Uninitialized string offset: 2)
Aug 15 12:54:45 symfony [notice] {sfWebDebugLogger} Notice at /opt/
prueba/plugins/sfLucenePlugin/lib/vendor/Zend/Search/Lucene/Storage/
File.php on line 159 (Uninitialized string offset: 3)
Aug 15 12:54:45 symfony [err] {Zend_Search_Lucene_Exception}
Unsupported segments file format
Aug 15 12:54:45 symfony [info] {sfWebResponse} Send status "HTTP/1.1
500 Internal Server Error"
Aug 15 12:54:45 symfony [info] {sfWebResponse} Send header "Content-
Type: text/html; charset=utf-8"
Aug 15 12:54:45 symfony [info] {sfWebDebugLogger} Configuration 1.65
ms (8)
Aug 15 12:54:45 symfony [info] {sfWebDebugLogger} Factories 62.38 ms
(1)
Aug 15 12:54:45 symfony [info] {sfWebDebugLogger} Action "sfIsadPlugin/
edit" 1198.41 ms (1)

I think there is an issue with Zend Lucene, but I can't find the exact
cause of the problem to solve it.
Also, the problem could be at a database level. I still don't know.
Can somebody bring some help?

Best regards,

Hernán Carvajal

David Juhasz

unread,
Aug 16, 2011, 4:49:11 PM8/16/11
to ica-ato...@googlegroups.com
Hi Hernán,

Looks like your search index is probably corrupt and will need to be
rebuilt
<http://qubit-toolkit.org/wiki/index.php?title=Rebuild_search_index>.

Regards,
David


--
David Juhasz,
Software Engineer

Artefactual Systems Inc.
www.artefactual.com

Hernan Carvajal Briceño

unread,
Aug 16, 2011, 4:58:31 PM8/16/11
to ica-ato...@googlegroups.com
David, thanks for your advice.

I will try to rebuild the search index and see what happens, and share with you the results.

Hernán


2011/8/16 David Juhasz <da...@artefactual.com>

--
You received this message because you are subscribed to the Google Groups "ICA-AtoM Users" group.
To post to this group, send email to ica-atom-users@googlegroups.com.
To unsubscribe from this group, send email to ica-atom-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ica-atom-users?hl=en.




--
Hernán Carvajal Briceño.
hernan.h...@gmail.com

Hernan Carvajal Briceño

unread,
Aug 16, 2011, 9:41:54 PM8/16/11
to ica-ato...@googlegroups.com
Hello again.

I tried to do what David recommended.
But it didn't work. I get the same error that I see in the quibit_dev logs:

This was de result:

[root@archivo prueba]# ./symfony cc && ./symfony cc
.
.
.

[root@archivo prueba]# ./symfony search:populate QubitSearch


  Unsupported segments file format




Any ideas?

Thanks in advance.

Hernán


2011/8/16 Hernan Carvajal Briceño <hernan.h...@gmail.com>

Jesús García Crespo

unread,
Aug 17, 2011, 3:00:10 AM8/17/11
to ica-ato...@googlegroups.com
Hi Hernán,

Have you patched your ZSL tree recently? I have found this piece of code: http://pastebin.com/MZiU8V5B, but I am not sure what is happening. Maybe a corrupted hard disk?

Looks like other ZSL user reported the same problem: http://goo.gl/3oB0H

Good luck!
 
On Tue, Aug 16, 2011 at 6:41 PM, Hernan Carvajal Briceño <hernan.h...@gmail.com> wrote:
I tried to do what David recommended.
But it didn't work. I get the same error that I see in the quibit_dev logs:

--
Jesús García Crespo,
Software Engineer, Artefactual Systems Inc.
http://www.artefactual.com | +1.604.527.2056

Hernan Carvajal Briceño

unread,
Aug 17, 2011, 10:43:38 AM8/17/11
to ica-ato...@googlegroups.com
Hola Jesús.

No he aplicado ese parche aún. Será realmente necesario? Considerando lo siguiente:

Finalmente reemplacé el índice por una versión anterior y ahora lo estamos reconstruyendo, la aplicación volvió a funcionar. Ya se pueden ingresar nuevos registros y realizar búsquedas.

No sé exactamente la causa de que el índice haya fallado.
Tenemos otras instalaciones de ICA-Atom en el mismo servidor y ninguna presentó el mismo problema.

En fin, por ahora está funcionando y estaremos observando el comportamiento de la aplicación.

Muchas gracias a todos por su ayuda.

Hernán




--
You received this message because you are subscribed to the Google Groups "ICA-AtoM Users" group.
To post to this group, send email to ica-ato...@googlegroups.com.
To unsubscribe from this group, send email to ica-atom-user...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/ica-atom-users?hl=en.

Jesús García Crespo

unread,
Aug 17, 2011, 1:03:58 PM8/17/11
to ica-ato...@googlegroups.com
Hola Hernán,

On Wed, Aug 17, 2011 at 7:43 AM, Hernan Carvajal Briceño <hernan.h...@gmail.com> wrote:
No he aplicado ese parche aún. Será realmente necesario?

Yo me refería al directorio original de Zend Search Lucene, por si habías hecho alguna modificación.
 
Finalmente reemplacé el índice por una versión anterior y ahora lo estamos reconstruyendo, la aplicación volvió a funcionar. Ya se pueden ingresar nuevos registros y realizar búsquedas.
No sé exactamente la causa de que el índice haya fallado.

Vaya, que raro. Si te ocurre otra vez, intenta eliminar todos los ficheros dentro del índice y luego reconstruirlo:

$ rm data/index/*
$ php symfony search:populate QubitSearch

Un saludo,
Reply all
Reply to author
Forward
0 new messages