В итоге вот так получилось в indexe.conf
AddType application/rar>*.rar
AddType application/zip>*.zip
Mime application/zip text/plain "/usr/local/dpsearch/bin/parse.php $1"
Mime application/rar text/plain "/usr/local/dpsearch/bin/parse.php $1"
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Read the full topic here:
http://www.dataparksearch.org/cgi-bin/simpleforum.cgi?fid=05;topic_id=1260958176
Ошибочка выходит, именно при парсинге rar файлов
/usr/local/dpsearch/sbin/indexer -N1 -u '%.rar'
indexer[4811]: {00} indexer from dpsearch-4.53-05112009-pqsql started with '/usr/local/dpsearch/etc/indexer.conf'
indexer[4811]: {01} URL: http://www.zn.uz/files/ARCH_20070207_LDLNIn78.rar
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613/tidy.so' - /usr/lib/php5/20060613/tidy.so: cannot open shared object file: No such file or directory in Unknown on line 0
/usr/bin/find: `/tmp/ind.1.4811.in_tmp/': No such file or directory
/usr/bin/find: `/tmp/ind.1.4811.in_tmp/': No such file or directory
/usr/bin/find: `/tmp/ind.1.4811.in_tmp/': No such file or directory
indexer[4811]: {01} URL: http://www.zn.uz/files/znuz_2793_20081216124142.rar
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613/tidy.so' - /usr/lib/php5/20060613/tidy.so: cannot open shared object file: No such file or directory in Unknown on line 0
/usr/bin/find: `/tmp/ind.1.4811.in_tmp/': No such file or directory
/usr/bin/find: `/tmp/ind.1.4811.in_tmp/': No such file or directory
/usr/bin/find: `/tmp/ind.1.4811.in_tmp/': No such file or directory
indexer[4811]: {01} URL: http://www.zn.uz/files/znuz_notauth_20091202162852.1259753332.45.rar
^CPHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613/tidy.so' - /usr/lib/php5/20060613/tidy.so: cannot open shared object file: No such file or directory in Unknown on line 0
/usr/bin/find: `/tmp/ind.1.4811.in_tmp/': No such file or directory
/usr/bin/find: `/tmp/ind.1.4811.in_tmp/': No such file or directory
/usr/bin/find: `/tmp/ind.1.4811.in_tmp/': No such file or directory
indexer[4811]: {01} SIGINT received. Terminating. Please wait...
indexer[4811]: {01} Done (32 seconds, 3 documents, 408233 bytes, 12.46 Kbytes/sec.)
indexer[4811]: {00} Total 32 seconds, 3 documents, 408233 bytes, 12.46 Kbytes/sec, 10.67 sec/doc, 136077 bytes/doc.
indexer[4811]: {00} Neo PopRank: 0 documents, 0 pas, 0.00 Kpas/sec, 0.00 sec/doc, 0.00 pas/doc.
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Read the full topic here:
http://dataparksearch.org/cgi-bin/simpleforum.cgi?fid=05;topic_id=1260958176
Похоже PHP не может найти одну из динамических библиотек.
Проверьте наличие /usr/lib/php5/20060613/tidy.so
Если её нет, то скорее всего нужно обновить PHP или один из его модулей, испоьзующий эту библиотеку.
Да с библиотекой быстро разобрался. Меня больше волнуют ошибки от команды find.
Причём такие ошибки только при парсинге rar архивов. При парсинге zip архивов всё в порядке.