namazu-dev(ring)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mknmz: NMZ.r (39469) and NMZ.t (39485) are not consistent!



>                                   Thu Dec 16 22:53:39 1999
>                                            千葉市中央区長洲
>                                                    藤原  誠
>                                                makoto@xxxxx
高林さん、本当に素早い対応ありがとうございます。

題名の件ですが、僕の方はまだ直っていない気がします。
index を全部消して、一度 mknmz して、二回目に同じことを言われ
ます。
mknmz: NMZ.r (406) and NMZ.t (407) are not consistent!

(横長で申訳けありませんが)
makoto@tateyama  22:48:30/991216(~/namazu)> sh -xv cron.sh

(折返しています)
mknmz  -O /usr/local/share/namazu/index \
--replace='s#/amd/tatsumi/export/home##;
s#/htdocs#http://www.ki.nu#;s#/fujiwara/public_html#http://www.ki.nu#
' \ /home/htdocs/software + mknmz -O /usr/local/share/namazu/index
--replace=s#/amd/tatsumi/export/home##;
s#/htdocs#http://www.ki.nu#;s#/fujiwara/public_html#http://www.ki.nu#
/home/htdocs/software


Reading config file:  /usr/local/etc/namazu/mknmzrc /home/makoto/.mknmzrc
Unsuccessful stat on filename containing newline at /usr/local/share/namazu/pl/find.pl line 119.

Reference found where even-sized list expected at /usr/local/bin/mknmz line 1024.
mknmz: NMZ.r (406) and NMZ.t (407) are not consistent!

makoto@tateyama  22:49:37/991216(~/namazu)> sort NMZ.r |uniq -c |sort -nr |head -3
makoto@tateyama  22:50:05/991216(~/namazu)> pushd /usr/local/share/namazu/index/
/usr/local/share/namazu/index ~/namazu /home6/making/namazu-1999-12-16 
makoto@tateyama  22:50:14/991216(...namazu/index)> sort NMZ.r |uniq -c |sort -nr |head -3
   2 /amd/tatsumi/export/home/htdocs/software/linux-pmac/customize-installer.html
   1 /amd/tatsumi/export/home/htdocs/software/tgif/index.shtml
   1 /amd/tatsumi/export/home/htdocs/software/spam/index.shtml

makoto@tateyama  22:53:02/991216(...namazu/index)> cat -n `which mknmz` | sed -n 1021,1029p
  1021      }
  1022
  1023      # uniq @flist
  1024      my %mark = {};
  1025      @flist = grep {$mark{$_}++; $mark{$_} == 1} @flist;
  1026
  1027      return @flist;
  1028  }
  1029
makoto@tateyama  22:53:12/991216(...namazu/index)> 

ところで、(直っていないのに恐縮ですが)
Reference found where even-sized list expected at /usr/local/bin/mknmz line 1024.
  1024      my %mark = {};
             ↓
            my %mark = ();
ではないでしょうか。

○別件で、
1.9.8 から 1.9.12 に入直したら lib/var.pl -> pl/var.pl と位置が変っ
たためか、上書きされず、しかも古い方を先に見るので verion 1.9.8 と
表示されたりしました。その辺は全部消してから入直しましたが。

それと、付加えておいた方がいいかなという情報で、件の
/linux-pmac/customize-installer.html 辺のことですが、NFS mount し
ているもので、何故か(僕には)不思議なことに directory が hard link
しているような状態になっています。近いうちに OS を入替る予定なの
で、その後で面倒を見ようとは思っていますが。
(とは言うものの、検索対象は全てそういう directory の下にあります)

makoto@tateyama  23:09:03/991216(...export/home)> ls -lagi htdocs/software/linux-pmac/customize-installer.html
513051 -rw-r--r--  1 makoto  operator  593 Jan 12  1998 htdocs/software/linux-pmac/customize-installer.html

makoto@tateyama  23:09:15/991216(...export/home)> ls -lagi fujiwara/public_html/software/linux-pmac/customize-installer.html
513051 -rw-r--r--  1 makoto  operator  593 Jan 12  1998 fujiwara/public_html/software/linux-pmac/customize-installer.html

makoto@tateyama  23:09:45/991216(/home)> ls -lagid htdocs fujiwara/public_html
369994 drwxr-xr-x  17 makoto  operator  1024 Dec 14 23:01 fujiwara/public_html/
369994 drwxr-xr-x  17 makoto  operator  1024 Dec 14 23:01 htdocs/
makoto@tateyama  23:09:56/991216(/home)> 

---
(藤原)