[Namazu-devel-ja] Solaris環境で、mknmzがワーニングエラーを多量に出す、あるいは止まる。

Taki, Yasushi taki @ justplayer.com
2004年 6月 4日 (金) 23:44:15 JST


お世話になります。
瀧@ジャストプレイヤーです。


まずは、不正侵入の被害に対し、お悔やみ申し上げます。
また、この被害に対し尽力を裂かれている方に関して、
何らかの形で応援出来ればと考えております。



さて前回、2.0.13βリリースの時に手伝いすると宣言しながら、
コメントしたっきり、なにも手伝いができなくて申し訳なかったです(苦笑

とりあえず、ライトなお手伝いに対して喚起したことで、
お手伝いした人が増えた・・・と思いたいなぁ、と。


本題です。

客先のサーバなので、詳しい内容は言えないのですが、
Solaris8にnamazuをインストールした結果、
あまり良くない状況が起きてしまっています。
現在、原因、究明中なのですが、もし何か、思うところがある方がいたらご協力下さい。


具体的には、mknmz中、多量のwarningがでるということと、
その後、インデクサ作成中に止まることです。
止まるというのは、無限ループにはまったように、CPUを99%も使い、
また、この最中、Ctrl+Cでも止まらず、Ctrl+ZもCtrl+Dも効かず、
別プロセスのシェルからkill -9を行わないとmknmzを落とすことができません。

止まることに関しては、
Perlライブラリ側のインストールに不整合があるのではないかとも考えているのですが、
いずれにしても、どのあたりで問題が起きるのかを知りたい所存。

また、多量のwarningは次のようにでます。
こちらの方はひょっとしたら、mknmz側に何か問題があるかもしれません。

60/1479 - /**************.xls [application/excel]
Use of uninitialized value in length at /usr/local/bin/mknmz line 2427, <GEN1498> line 8.
Use of uninitialized value in concatenation (.) or string at /usr/local/bin/mknmz line 2430, <GEN1498> line 8.
Use of uninitialized value in length at /usr/local/bin/mknmz line 2427, <GEN1498> line 11.
Use of uninitialized value in concatenation (.) or string at /usr/local/bin/mknmz line 2430, <GEN1498> line 11.
Use of uninitialized value in length at /usr/local/bin/mknmz line 2427, <GEN1498> line 46.
Use of uninitialized value in concatenation (.) or string at /usr/local/bin/mknmz line 2430, <GEN1498> line 46.
Use of uninitialized value in length at /usr/local/bin/mknmz line 2427, <GEN1498> line 47.
Use of uninitialized value in concatenation (.) or string at /usr/local/bin/mknmz line 2430, <GEN1498> line 47.
Use of uninitialized value in length at /usr/local/bin/mknmz line 2427, <GEN1498> line 51.
Use of uninitialized value in concatenation (.) or string at /usr/local/bin/mknmz line 2430, <GEN1498> line 51.
Use of uninitialized value in length at /usr/local/bin/mknmz line 2427, <GEN1498> line 78.
Use of uninitialized value in concatenation (.) or string at /usr/local/bin/mknmz line 2430, <GEN1498> line 78.

このワーニングが多量にでた後、次のワーニングに変わります。

Use of uninitialized value in concatenation (.) or string at /usr/local/bin/mknmz line 2201.
Use of uninitialized value in length at /usr/local/bin/mknmz line 2200.
Use of uninitialized value in concatenation (.) or string at /usr/local/bin/mknmz line 2201.
Use of uninitialized value in length at /usr/local/bin/mknmz line 2200.
Use of uninitialized value in concatenation (.) or string at /usr/local/bin/mknmz line 2201.
Use of uninitialized value in length at /usr/local/bin/mknmz line 2200.
Use of uninitialized value in concatenation (.) or string at /usr/local/bin/mknmz line 2201.
Use of uninitialized value in length at /usr/local/bin/mknmz line 2200.
Use of uninitialized value in concatenation (.) or string at /usr/local/bin/mknmz line 2201
61/1479 - /***************/*.pdf [application/pdf]


namazuは、2.0.13-1を利用していて、Configulationは次のようになっております。
> mknmz -C
System: solaris
Namazu: 2.0.13
Perl: 5.008
File-MMagic: 1.22
NKF: module_nkf
KAKASI: no
ChaSen: module_chasen -j -F '%m '
Wakati: module_chasen -j -F '%m '
Lang_Msg: C
Lang: C
Coding System: euc
CONFDIR: /usr/local/etc/namazu
LIBDIR: /usr/local/share/namazu/pl
FILTERDIR: /usr/local/share/namazu/filter
TEMPLATEDIR: /usr/local/share/namazu/template
Supported media types:   (23)
Unsupported media types: (10) marked with minus (-) probably missing application in your $path.
  application/excel: excel.pl
  application/ichitaro5: taro56.pl
  application/ichitaro6: taro56.pl
- application/ichitaro7: taro7_10.pl
  application/macbinary: macbinary.pl
- application/msword: msword.pl
  application/pdf: pdf.pl
- application/postscript: postscript.pl
  application/powerpoint: powerpoint.pl
- application/rtf: rtf.pl
  application/vnd.sun.xml.calc: ooo.pl
  application/vnd.sun.xml.draw: ooo.pl
  application/vnd.sun.xml.impress: ooo.pl
  application/vnd.sun.xml.writer: ooo.pl
  application/x-apache-cache: apachecache.pl
  application/x-bzip2: bzip2.pl
  application/x-compress: compress.pl
- application/x-deb: deb.pl
- application/x-dvi: dvi.pl
  application/x-gzip: gzip.pl
- application/x-js-taro: taro7_10.pl
- application/x-rpm: rpm.pl
- application/x-tex: tex.pl
- audio/mpeg: mp3.pl
  message/news: mailnews.pl
  message/rfc822: mailnews.pl
  text/hnf: hnf.pl
  text/html: html.pl
  text/html; x-type=mhonarc: mhonarc.pl
  text/plain
  text/plain; x-type=rfc: rfc.pl
  text/x-hdml: hdml.pl
  text/x-roff: man.pl

また、上では5.0008となっておりますが、perlのバージョンは、
次のようになっております。
> /usr/local/bin/perl -v

This is perl, v5.8.0 built for sun4-solaris

Copyright 1987-2002, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.



今現在、まだ状況を追っている最中ですが、とりあえずは、場合分けをしながら考えてみます。

------------------
〒424-0821 静岡県静岡市清水相生町6-17
静岡市清水産業・情報プラザ611
(有)ジャストプレイヤー
瀧 康史
TEL : 0543-53-7660  FAX : 0543-53-7661
mailto:taki @ justplayer.com  http://www.justplayer.co.jp/





Namazu-devel-ja メーリングリストの案内