hns - 日記自動生成システム - Version 2.19.9

先月 2003年09月 来月
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2003年09月10日(水) 旧暦 [n年日記]

#1 [Emacs] wl-2.10.0 で送信した後に

Exit MIME editor mode.
Sending...
wl-draft-hide: Attempt to delete minibuffer or sole ordinary window
wl-draft-mimic-kill-buffer: Quit
となることがある。


2003年09月09日(火) 旧暦 [n年日記]

#1 [Linux] Redhat 7.3 から 9 に入替えよう

としているので古い設定を写しておく

/etc/grub.conf:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,0)
#          kernel /boot/vmlinuz-version ro root=/dev/hda1
#          initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title NetBSD
        root (hd0,2,a)
        chainloader +1
title Red Hat Linux (2.4.18-3)
        root (hd0,0)
        kernel /boot/vmlinuz-2.4.18-3 ro root=/dev/hda1

/etc/sysconfig/keyboard:

KEYBOARDTYPE="pc"
KEYTABLE="jp106"

env LANG=C ls -l .ssh:

total 40
drwxr-xr-x    2 makoto   makoto       4096 Jan  3  2003 CVS
-rw-------    1 makoto   makoto       1155 Nov 19  2002 authorized_keys
-rw-------    1 makoto   makoto        824 Nov 19  2002 authorized_keys2
-rw-------    1 makoto   makoto        744 Nov 19  2002 id_dsa
-rw-r--r--    1 makoto   makoto        602 Nov 19  2002 id_dsa.pub
-rw-------    1 makoto   makoto        951 Nov 19  2002 id_rsa
-rw-r--r--    1 makoto   makoto        222 Nov 19  2002 id_rsa.pub
-rw-------    1 makoto   makoto        527 Nov 19  2002 identity
-rw-r--r--    1 makoto   makoto        331 Nov 19  2002 identity.pub
-rw-r--r--    1 makoto   makoto       2806 Jan 10  2003 known_hosts
覚えを書いてなかったかなぁ。


2003年09月08日(月) 旧暦 [n年日記]

#1 [Linux][FreeWnn] Redhat 9, amd, ypbind

次のような link を作って見た。 (番号と、どこに必要なのかは、良く分っていない)
[makoto@d174 etc]$ env LANG=C find . -mtime -1 -type l -ls
  13 Sep  8 10:58 ./rc.d/rc0.d/S28amd -> ../init.d/amd
  13 Sep  8 10:59 ./rc.d/rc1.d/S28amd -> ../init.d/amd
  13 Sep  8 10:59 ./rc.d/rc2.d/S28amd -> ../init.d/amd
  13 Sep  8 10:59 ./rc.d/rc3.d/S28amd -> ../init.d/amd
  16 Sep  8 11:09 ./rc.d/rc3.d/S19ypbind -> ../init.d/ypbind
  13 Sep  8 10:59 ./rc.d/rc4.d/S28amd -> ../init.d/amd
  13 Sep  8 10:59 ./rc.d/rc5.d/S28amd -> ../init.d/amd
  16 Sep  8 11:09 ./rc.d/rc5.d/S19ypbind -> ../init.d/ypbind
  13 Sep  8 10:59 ./rc.d/rc6.d/S28amd -> ../init.d/amd

FreeWnn (jserver) が UNIX domain だけを聞いている:

ような気がする。これって何故 ? inetd domain を聞くようにする にはどうしたらいいか ?
[makoto@d174 /etc]$ rpm -aq | grep FreeWnn
FreeWnn-common-1.11-34
FreeWnn-1.11-34

FreeWnn-1.1.1-a017.tar.gz を入れて見る:

tar zxf /e/u/j/distfiles/FreeWnn-1.1.1-a017.tar.gz
cd FreeWnn-1.1.1-a017/Xsi
./configure
make
make install
これで入った /usr/local/bin/Wnn4/jserver を起動すると、inet domain を聞いてくれる。 簡単に確認するには

/usr/bin/jserver が動いている時:

[root@d174 Xsi]# env JSERVER=localhost wnnstat
wnnstat:localhostサーバと接続できませんでした。
[root@d174 Xsi]# env JSERVER= wnnstat
ユーザ名:ホスト名       (ソケットNo.)   環境番号
(JSERVER に何か入っていると通信出来ない = UNIX domain)

/usr/local/bin/Wnn4/jserver が動いている時:

[makoto@d174 Xsi]$ env JSERVER=localhost wnnstat
ユーザ名:ホスト名       (ソケットNo.)   環境番号
[makoto@d174 Xsi]$ env JSERVER= wnnstat
wnnstat:サーバと接続できませんでした。
(通信するには JSERVER に何か入っている必要がある = inet domain)
FreeWnn-1.1.1-unix.patch で変更しているらしい

FreeWnn を cvs からもらって来て make:

(RedHat 9, make)
de.c: In function `new_client':
de.c:456: `is_internet_socket' undeclared (first use in this function)
de.c:456: (Each undeclared identifier is reported only once
この違いを見る ?
[makoto@d174 ~/local-src]$ find FreeWnn-1.1.1-a017 freewnn/FreeWnn -name de.c -ls
  24752 Mar 21  2000 FreeWnn-1.1.1-a017/Xsi/Wnn/jserver/de.c
  29281 Jun 21 01:10 freewnn/FreeWnn/Wnn/jserver/de.c

(NetBSD-1.6-current, ./configure):

checking dynamic linker characteristics... NetBSD ld.elf_so
configure: error: tag name "CXX" already exists


2003年09月06日() 旧暦 [n年日記]

#1 [Linux] telnet-server-0.17-25.i386.rpm

RedHat 8.0 を使っていなかった理由は 7.3 と同じように作業して も外から telnet 出来るようにはならなかったから。 9 になったら、また簡単に設定出来た。
  1. disc 2 から telnetd を入れる
    [makoto@d174 /]# rpm -ihv /mnt/cdrom/RedHat/RPMS/telnet-server-0.17-25.i386.rpm
    warning: /mnt/cdrom/RedHat/RPMS/telnet-server-0.17-25.i386.rpm: 
                                           V3 DSA signature: NOKEY, key ID db42a60e
    Preparing...                ########################################### [100%]
       1:telnet-server          ########################################### [100%]
    
  2. /etc/xinetd.d/telnet の disable = yes を no にする
  3. /etc/xinetd.d/telnet restart
Linux hostname 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386 GNU/Linux

am-utils-6.0.9-2.i386.rpm:

二枚目から:
/mnt/cdrom/RedHat/RPMS/am-utils-6.0.9-2.i386.rpm

nis ?:

に/etc/sysconfig/network ファイルの NISDOMAIN 変数」


2003年09月05日(金) 旧暦 [n年日記]

#1 [無題] 目黒

 8:32 千葉
 9:24 品川
目黒駅前の三井住友銀行を探してしまったが、 さくら銀行から探し始めたのが敗因。 気が付いたら、何回も行ったことがあるところだった。

新宿で電波時計を買う:

そこから電車に乗るのに、 特快ではないことを良く確めたつもりだったが

中野で特快に乗っていることに気が付いて:

あわてて降りたが、実は忘れ物をしていることに更に気が付き あわてて飛乗る。(なので、三鷹まで行ってしまった)

#2 [Linux] RedHat-9 iso files

9 を探すのに 2002/12/22 には 8.0 の情報があった。
 668991488 Mar 14 12:26 shrike-i386-disc1.iso
 677511168 Mar 14 12:30 shrike-i386-disc2.iso
 508592128 Mar 14 12:35 shrike-i386-disc3.iso
これって 650MByte では足りないということ ? どうも、足りるような気がするが既に 700MBytes に書いてしまったので確めてはいない。

#3 [MTA] spamassasin

/usr/pkgsrc/mail/spamassasin/ で make
Installing configuration files for spamassassin-2.55nb2:

    /usr/pkg/etc/spamassassin/local.cf
    /usr/pkg/etc/spamassassin/user_prefs.template
    /usr/pkg/etc/spamassassin/netbsd_lists.cf
===========================================================================

The following files should be created for spamassassin-2.55nb2:

        /etc/rc.d/spamd (m=0755)

===========================================================================

===========================================================================
You may wish to customize the following files for spamassassin-2.55nb2:

        /usr/pkg/etc/spamassassin/local.cf
        /usr/pkg/etc/spamassassin/user_prefs.template
===========================================================================
===> Please note the following:

===========================================================================
$NetBSD: MESSAGE,v 1.4 2003/04/15 00:02:24 heinz Exp $

***IMPORTANT***

  Version 2.53 changed the default tagging behavior. SpamAssassin will now
  create a new report message and attach the original spam message as a
  MIME part (use the "report_safe" option to change this).

  Some configuration options were changed (see Mail::SpamAssassin::Conf).
  Please check that your existing mail configuration still works.

  On NetBSD, the name of the auto-whitelist database file has changed and
  the auto-whitelist will be created from scratch.

  SpamAssassin does NOT deliver mail anymore. You _must_ use some local
  mail delivery agent, eg pkgsrc/mail/procmail.

More information can be found in the man pages for 'spamassassin',
'sa-learn', 'spamc' and 'spamd', with 'perldoc Mail::SpamAssassin::Conf'
and in

  /usr/pkg/share/doc/spamassassin/

===========================================================================

===> Registering installation for spamassassin-2.55nb2
spamassassin-2.55nb2 requires installed package p5-Digest-HMAC-1.01
spamassassin-2.55nb2 requires installed package p5-Digest-MD5-2.24
spamassassin-2.55nb2 requires installed package p5-Digest-SHA1-2.02
spamassassin-2.55nb2 requires installed package p5-HTML-Parser-3.31
spamassassin-2.55nb2 requires installed package p5-HTML-Tagset-3.03
spamassassin-2.55nb2 requires installed package p5-MIME-Base64-2.18
spamassassin-2.55nb2 requires installed package p5-Net-DNS-0.33
spamassassin-2.55nb2 requires installed package perl-5.6.1nb7
ttyp3:makoto@harry  23:13:40/030905(...mail/spamassassin)> 


2003年09月04日(木) 旧暦 [n年日記]

#1 [機械] 止っていた ?

Web が 5時間くらい止っていたような気がする


2003年09月03日(水) 旧暦 [n年日記]

#1 [NetBSD][gcc] gcc-3

椿井さんの 3.3.1 diff (2003/8/16) というのもあるし、 /usr/pkg/lang/gcc3 というのは今は作れるのかなと思って、 そうしたら、 binutils の新しいのが要るというから、
7:45    cd /export/pkgsrc/lang
7:45    cd gcc3
7:45    cvs update -dP -C
7:46    ( unsetenv PKG_PATH ; make )
7:46    cd ../..
7:46    cd devel/binutils/
7:46    cvs update -dP -C
7:47    ( unsetenv PKG_PATH ; make )
7:58    ( unsetenv PKG_PATH ; make install )
したら、
/bin/sh /export/pkgsrc/devel/binutils/work/binutils-2.14/install-sh -c -m 644 ./gprof.info-3 /usr/pkg/info/gprof.info-3
install-info --info-dir=/usr/pkg/info /usr/pkg/info/gprof.info
/usr/bin/find /usr/pkg/powerpc--netbsd/lib/ldscripts -type f -print | /usr/bin/sort -r | /usr/bin/sed 's;/usr/pkg/;;g' > /export/pkgsrc/devel/binutils/work/PLIST_DYNAMIC
install-info --info-dir=/usr/pkg/info /usr/pkg/info/gprof.info
/usr/bin/find /usr/pkg/powerpc--netbsd/lib/ldscripts -type f -print | /usr/bin/sort -r | /usr/bin/sed 's;/usr/pkg/;;g'
> /export/pkgsrc/devel/binutils/work/PLIST_DYNAMIC
--info-dir=/usr/pkg/info /usr/pkg/info/as.info
--remove: not found
--info-dir=/usr/pkg/info: not found
*** Error code 127
Makefile: post-install:
の、 PLIST_DYNAMIC を作るところまでは行っている気がするので、その後は 何をしているのだろう。 (この問題は無視してもいい..かな ..
> pkg_info | grep binu
pkg_info: disabling PKG_PATH when operating on all packages.
cross-binutils-2.9.1.2 Unified GNU binutils for cross build environments
だめそう。

ktrace は出来るけれど無力 ?:

( unsetenv PKG_PATH ; ktrace make install )

INSTALL_INFO が未定義 ?:

ttyp1:makoto@harry 8:17:48/030903(...pkgsrc/mk)> grep -n '\--remove ' * bsd.pkg.mk:2246: ${INSTALL_INFO} --remove --info-dir=${PREFIX}/info ${PREFIX}/info/${f}; \

/usr/pkg/mk で cvs update -dP -C したら解決:

で戻って Makefile を良く見たら、まだ gcc-3.3 だった。

#2 [Emacs] M-x help RET とか C-h で表示される画面を日本語(だけ)

にしたいとする。最も単純な方法。 emacs-21.3/lisp/help.el の中に書いてある部分を 訳して、euc-japan で保存 する。 ./configure make bootstrap すると help.elc が更新され、etc/DOC の中に それが含まれて、日本語になる。 (ただしこの方法では元の英語は無くなってしまう)
euc-japan でなく JIS(iso-2022-jp) で保存した場合、次のようになるか、ここは通過しても 表示が化けてしまう。
Loading loaddefs.el (source)...
((18265 . 15165) (5700 . 0) (496 . 14) 43807 21356 (5 . 0) (16 . 0) (2557 . 2042))
Loading help (source)...
Wrong type argument: listp, safe-chars
*** Error code 255


2003年09月02日(火) 旧暦 [n年日記]

#1 [機械] fvwm2 が .fvwm2rc を読んでくれない

朝起動したら、いつもと画面が違う。 良く々々見ると ~/.fvwm が 出来ていて、その下を見に行っている。 ( ~/.xinitrc を消して、手で fvwm2 を起動したら分った)
fvwm2 -f .fvwm2rc-keep [FVWM][Read]: <<ERROR>> file '.fvwm2rc-keep' not found in /home/makoto/.fvwm or /usr/X11R6/share/fvwm2
mv ~.fvwm2rc ~/.fvwm/ したら読んでくれるようになった。
心当りはないのだけれど何故かなぁ。

#2 [Namazu][hns] robot と hns

  1. 馬場さんの修正をして URL を diary/yyyy/mm/dd にする。
  2. robot が入口を見に来た時には diary の下のカレンダリンクだけを返す
といいような気がする (と表面的に毎日の更新が減るから、点数が下るかな)。

#3 [NetBSD][macppc] G3/300/1M

NetBSD 1.6U (INSECURE-ZS-L2PB2-SHM) #8: Tue Aug 5 18:11:05 JST 2003
makoto@ty:/export/20030726ts/src/sys/arch/macppc/compile/INSECURE-ZS-L2PB2-SHM
total memory = 160 MB
avail memory = 140 MB
using 2048 buffers containing 8292 KB of memory
bootpath: /bandit@F2000000/pci-bridge@14/ACARD,6260@7/disk@0
mainbus0 (root)
cpu0 at mainbus0: 750 (Revision 202), ID 0 (primary)
cpu0: HID0 8090c0a4<EMCP,DOZE,DPM,ICE,DCE,SGE,BTIC,BHT>
cpu0: 512KB, (2:1), Pipelined synchronous burst (PB2) SRAM backside L2 cache
以前に起動しないと言っていた kernel の気もする..
root on wd0a dumps on wd0b
WARNING: clock lost 13620 days -- CHECK AND RESET THE DATE!
root file system type: ffs

やはり止ってしまった。:

同じ kernel を netbsd.5 で起動した時には動いたと思ったが。
tty00:root@ty  10:44:32/030902(/)# ls -lagt netbsd*
-rwxr-xr-x  2 root    wheel  4611691 Aug  5 19:05 netbsd-as-is
-rwxr-xr-x  2 root    wheel  4611691 Aug  5 19:05 netbsd.5
-rwxr-xr-x  2 root    wheel  4611691 Aug  5 19:01 netbsd-no-verbose
-rwxr-xr-x  2 root    wheel  4611691 Aug  5 19:01 netbsd.4
-rwxr-xr-x  1 root    wheel  4611675 Aug  5 18:53 netbsd.3
-rwxr-xr-x  3 root    wheel  4611675 Aug  5 18:11 netbsd
-rwxr-xr-x  3 root    wheel  4611675 Aug  5 18:11 netbsd-INSEURE-ZS-L2PB2-SHM-bootverbose
-rwxr-xr-x  3 root    wheel  4611675 Aug  5 18:11 netbsd.2
-rwxr-xr-x  3 makoto  wheel  4611627 Aug  4 15:31 netbsd-1.6T-INSECURE-L2CR-SHM
-rwxr-xr-x  3 makoto  wheel  4611627 Aug  4 15:31 netbsd-INSECURE-ZS-L2PB2-SHM-modem
-rwxr-xr-x  3 makoto  wheel  4611627 Aug  4 15:31 netbsd.1
-rwxr-xr-x  1 root    wheel  4618688 Jul 31 15:41 netbsd-1.6U
-rwxr-xr-x  1 root    wheel  4586289 Jun 22 22:31 netbsd.0
-rwxr-xr-x  1 makoto  wheel  4572157 Jun 20 08:44 netbsd.-
tty00:root@ty  10:44:35/030902(/)# rm netbsd
tty00:root@ty  10:44:50/030902(/)# ln netbsd.5 netbsd
tty00:root@ty  10:44:54/030902(/)# reboot
Sep  2 10:44:57 ty reboot: rebooted by makoto
Sep  2 10:44:57 ty syslogd: Exiting on signal 15
syncing disks... 8 5 done
rebooting


Open Firmware, 2.0.2
To continue booting the MacOS type:
BYE<return>
To continue booting from the default boot device type:
BOOT<return>
 ok
0 > boot 
>> NetBSD/macppc OpenFirmware Boot, Revision 1.5
>> (root@serv, Thu Jul 31 15:13:58 JST 2003)
4160052+239408 [210080+175563]=0x490684
 start=0x100000
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.6U (INSECURE-ZS-L2PB2-SHM) #11: Tue Aug  5 19:05:20 JST 2003
        makoto@ty:/export/20030726ts/src/sys/arch/macppc/compile/INSECURE-ZS-L2PB2-SHM
total memory = 160 MB
avail memory = 140 MB
using 2048 buffers containing 8292 KB of memory
bootpath: /bandit@F2000000/pci-bridge@14/ACARD,6260@7/disk@0
mainbus0 (root)
cpu0 at mainbus0: 750 (Revision 202), ID 0 (primary)
cpu0: HID0 8090c0a4<EMCP,DOZE,DPM,ICE,DCE,SGE,BTIC,BHT>
cpu0
netbsd.4:  cpu0: 512KB backside L2 cache
netbsd.5:  cpu0

ACARD,6260:

disk は全然悪くなくてカードの所為で:
pciide0:0:0: lost interrupt
        type: ata tc_bcount: 2048 tc_skip: 0
wd0e: device timeout writing fsbn 16 of 16-19 
   (wd0 bn 2639968; cn 2619 tn 0 sn 16), retrying
Firmware 3.0.1 を 3.2.1 に更新したけれども。同じ。


2003年09月01日(月) 旧暦 [n年日記]

#1 [Namazu] 項目検索

  • データ型として数字を使えるようにする
  • x-mail-count: 1000-1010 という指定を出来るようにする
  • +date: の正規化 +month: +year: +day: +dayofw: かな ?
しかし NMZ.field.* を増やすと、 索引の大きさも、それにつれて大きくなる。

#2 [MTA] dsn=5.6.0, stat=Data format erro (DSN: Data format error)

これって ? あるところで
どうも、先方の relay-domain 条件に会わず拒否されているように見えます。
(reason: 553 5.1.8 <myname@hoge.mydomain>... Unreturnable address rejected)
ってなっていた。確かにその通り。



最近の日記
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
2024年02月29日
opendkim and senmail
2024年01月24日
chat/iam 0.0.8
2024年01月21日
uselocale vs setlocale (textproc/R-readxl)
以上、9 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)