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

  • 04/17(水) 不燃ごみ
  • 04/19(金) CQ Ham Radio
  • 04/20() 木之本会議
  • 04/25(木) Interface
  • 04/27() 2100 - 2100 ALL JA
  • 04/28() tokuda net 誕生日
  • 04/28() 自動車保険期限 (OS/Browser 制限有)
  • 04/30(火) NTT 東 払込期日
  • 04/30(火) ○ 固定資産税振替・支払
  • 05/01(水) atactl check
  • 05/01(水) 不燃ごみ
  • 05/03(金) 0900-1500 東京コンテスト
  • 05/14(火) All JA ログ締切
  • 05/15(水) 不燃ごみ
  • 403 JNUG 総会/BOF 2017/07/08 (土)
  • 402 用途別 Emacs ( C, LaTeX, 日本語 )
  • 380 cvsweb の移行
  • 370 tamago 辞書登録
  • 368 CROSS (cross/i386-mingw32, cross/powerpc-linux ) Framework --- binutils + gcc
  • 363 Wanderlust+HyperEstraier
  • 360 evbppc 用 patch / 玄箱
  • 335 /dev/battery is missing hack | libgcc_s_pic.a is missing | samba の -PIE 問題335 ntpd monitor
  • 325 tcode頁の更新
  • 322 software |hardware
  • 321 emacs-22 | IPv6
  • 320 bulk build (Mac OS X 10.4 and NetBSD/macppc)
  • 310 Wanderlust の Namazu の挙動
  • 290 WordPress 1.2 -> 1.5 migration
  • 220 Wanderlust で日本語題名の wl-summary-print-buffer
  • 215 NetBSD/ofppc
便利なツール
Emacs
らくらく 入門
rakuraku-emacs-cover

先月 2024年04月 来月
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 による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2011年05月30日(月) 旧暦 [n年日記] [更新:"2011/06/26 19:17:14"]

#1 [無線] 2011 CQ WW WPX CW SOSB/40 LP



2004年05月30日() 旧暦 [n年日記]

#3 [Emacs] osx-itunes.el

Loading mule-util...done で止ってしまう気がする。 (実は iTunes を起動したことがなかった)。単に時間がかっていただけ。

#2 [無題] 決算

ことしも時間ぎりぎり。資料を出したのが 5/28(金) の 15:00 頃。 その後に書類などを届けに行く。 そうしてきょうの 11:00 ごろに捺印と名前を書きに行く。

納品:

CD-R に印刷する機械(printer)を買おうと思っていたが、間に合わなかった。

30 度以上か。:

むし暑い。機械室は今年初めて冷房。

#1 [pkgsrc] ap2-auth-pgsql

ちょっと試してみる

ttyp7:makoto@harry 9:29:25/040530(...work/mod_auth_pgsql-2.0.2b1)> sudo /usr/pkg/sbin/apxs -i -a -c -I /usr/pkg/include/postgresql -L /usr/pkg/lib/postgresql -lpq mod_auth_pgsql.c
/usr/pkg/libexec/apr/libtool --silent --mode=compile gcc -prefer-pic -O2 -I/usr/pkg/include -DAP_HAVE_DESIGNATED_INITIALIZER -DNETBSD -I/usr/pkg/include/httpd -I/usr/pkg/include/apr-0 -I/usr/pkg/include/apr-0 -I/usr/pkg/include -I/usr/pkg/include/postgresql -c -o mod_auth_pgsql.lo mod_auth_pgsql.c && touch mod_auth_pgsql.slo
/usr/pkg/libexec/apr/libtool --silent --mode=link gcc -o mod_auth_pgsql.la -I/usr/pkg/include/postgresql -L/usr/pkg/lib/postgresql -lpq -rpath /usr/pkg/lib/httpd -module -avoid-version mod_auth_pgsql.lo

*** Warning: linker path does not have real file for library -lpq.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libpq but no candidates were found. (...for regex pattern test)

*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module mod_auth_pgsql. Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
/usr/pkg/share/httpd/build/instdso.sh SH_LIBTOOL='/usr/pkg/libexec/apr/libtool' mod_auth_pgsql.la /usr/pkg/lib/httpd
/usr/pkg/libexec/apr/libtool --mode=install cp mod_auth_pgsql.la /usr/pkg/lib/httpd/
cp .libs/mod_auth_pgsql.lai /usr/pkg/lib/httpd/mod_auth_pgsql.la
cp .libs/mod_auth_pgsql.a /usr/pkg/lib/httpd/mod_auth_pgsql.a
ranlib /usr/pkg/lib/httpd/mod_auth_pgsql.a
chmod 644 /usr/pkg/lib/httpd/mod_auth_pgsql.a
----------------------------------------------------------------------
Libraries have been installed in:
/usr/pkg/lib/httpd

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Warning! dlname not found in /usr/pkg/lib/httpd/mod_auth_pgsql.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/pkg/lib/httpd/mod_auth_pgsql.so
chmod: /usr/pkg/lib/httpd/mod_auth_pgsql.so: No such file or directory
apxs:Error: Command failed with rc=65536
.
ttyp7:makoto@harry 9:30:20/040530(...work/mod_auth_pgsql-2.0.2b1)>

確かに pq.so なんてないなぁ。:

-plq の代りに -plpgsql とすると、反応が変る。
libtool: link: libtool library `mod_auth_pgsql.la' must begin with `lib'


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

#3 [MTA] mail back to myself (Mx problem)

またこれで 38 通くらい失ってしまった。 内部用 dns

#2 [MTA] send-pr したメールが送られていないなぁ

ということがあって、echo test | mail hoge@foo とかしても同じ。

/var/log/maillog:

May 30 18:34:28 harry sendmail[557]: h4U9YSrw000557: to=hoge@foo, ctladdr=makoto (2029/500), delay=00:00:00, xdelay=00:00:0 0, mailer=relay, pri=30030, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
なんて書いてある。そうか sendmail を起動しておく必要があるのかと思って

/var/spool/clientmqueue:

May 30 18:34:28 harry sendmail[557]: dangerous permissions=40775 on queue directory /var/spool/clientmqueue/ と言っているので他の機械を見て、
drwxrwx--- 2 smmsp smmsp 1024 May 30 17:11 .
に直したら、その瞬間に起動したような気配。 で、/var/spool/clientmqueue に溜っているのを出すのはどうやるのかな というのがきょうの疑問
if [ -x /usr/sbin/sendmail ]; then
echo "Starting sendmail MTA daemon: /usr/sbin/sendmail -L sm-mta -bd -q25m"
/usr/sbin/sendmail -L sm-mta -bd -q25m
echo "Starting sendmail MSP queue runner: /usr/sbin/sendmail -L sm-msp-queue -Ac -q25m"
/usr/sbin/sendmail -L sm-msp-queue -Ac -q25m
fi
この辺かな。一つ目が MTA で、これが起動し終ってから二つ目を実行する。(& を付けてはいけない)

#1 [機械] 219 ?? IWsa 0:29.33 /usr/pkg/sbin/named

これって止っている ?
ttyp0:makoto@st3240  18:03:22/030530(~)> ps ax|grep named
 219 ?? IWsa 0:29.33 /usr/pkg/sbin/named 
kill -1 219 しても反応しない

1.6R:

ttyp0:root@st3240 18:09:36/030530(/home/makoto)# uname -a NetBSD st3240 1.6R NetBSD 1.6R (L2CR) #0: Sat May 17 20:04:39 JST 2003 makoto@st3240:/usr/s/src/sys/arch/macppc/compile/L2CR macppc

BIND 9.2.2:

ttyp0:root@st3240 18:09:44/030530(/home/makoto)# named -version さふいへば、こんな字が残っていた

/netbsd: sa_switch(219.10 flag 900004): Not enough stacks.:

May 30 11:34:12 st3240 /netbsd: sa_switch(219.10 flag 900004): Not enough stacks. May 30 11:34:12 st3240 /netbsd: sa_switch(219.10 flag 900004): Not enough stacks

また来た:

May 30 20:51:32 st3240 named[3941]: couldn't add command channel ::1#953: file n
sa_switch(3941.10 flag 900004): Not enough stacks.
sa_switch(3941.10 flag 900004): Not enough stacks.
May 30 21:01:44 st3240 /netbsd: sa_switch(3941.10 flag 900004): Not enough stack

netbsd-bugs: kern/20245:

core 有:

ttyp1:root@st3240 21:07:19/030530(/etc/named)# gdb /usr/pkg/sbin/named named.core
GNU gdb 5.0nb1
(gdb) where
#0 0x41b55ef4 in pthread__switch () from /usr/lib/libpthread.so.0
#1 0x41b55ee8 in pthread__switch () from /usr/lib/libpthread.so.0
(gdb)

kern_sa.c:

464 sa_switch(struct lwp *l, int type)
465 {
...  
505                 /*
506                  * XXX We need to allocate the sadata_upcall structure here,
507                  * XXX since we can't sleep while waiting for memory inside
508                  * XXX sa_upcall().  It would be nice if we could safely
509                  * XXX allocate the sadata_upcall structure on the stack, here.
510                  */
511
512                 if (sa->sa_nstacks == 0) {
513 #ifdef DIAGNOSTIC
514                         printf("sa_switch(%d.%d flag %x): Not enough stacks.\n",
515                             p->p_pid, l->l_lid, l->l_flag);
516 #endif
517                         goto sa_upcall_failed;

sysctl -a:

まさかこういう簡単な話 ?
> sysctl -a | grep stacks
proc.curproc.rlimit.stacksize.soft = 2097152
proc.curproc.rlimit.stacksize.hard = 33554432
# sysctl -w proc.curproc.rlimit.stacksize.soft=4194304
proc.curproc.rlimit.stacksize.soft: 2097152 -> 4194304
どこかで memory leak のようなことが起きていて、それがどこかが問題ということか。


2001年05月30日(水) 旧暦 [n年日記]

#2 [NetBSD] -current/tar_files が release-cycle に入っているのか

distrib/miniroot/list を見たら 古くなってしまっている。

#1 [Apache] 408 timeout 広瀬さん、ありがとうございます。

(link を張る元気がない...)
良くない知らせには違いないが、 原因ではなくて結果だったかも知れない。


2000年05月30日(火) 旧暦 [n年日記]

#1 [NetBSD] mail を送ろうとすると、send-mail: mailwrapper: execing : No such file or direct

と言われる。(NetBSD/macppc 1.4V, /usr/bin/mail)
makoto@harry  21:54:42/000530(~)> ls -l /usr/sbin/sendmail
lrwxr-xr-x  1 root  wheel  21 Feb  8 02:00 /usr/sbin/sendmail@ -> /usr/sbin/mailwrapper

これのようだが、存る。
makoto@harry  21:55:00/000530(~)> ls -l /usr/sbin/mailwrapper
-r-xr-xr-x  1 root  wheel  6052 Feb  8 02:00 /usr/sbin/mailwrapper*
makoto@harry  21:55:31/000530(~)> file !$
file /usr/sbin/mailwrapper
/usr/sbin/mailwrapper: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1, dynamically linked (uses shared libs), stripped
こちらかな。
cat /etc/mailer.conf
#       $NetBSD: mailer.conf,v 1.1 1998/12/25 22:11:49 perry Exp $
#
# Execute the "real" sendmail program, named /usr/sbin/sendmail.sendmail
#
sendmail        /usr/sbin/sendmail.sendmail
send-mail       /usr/sbin/sendmail.sendmail
mailq           /usr/sbin/sendmail.sendmail
newaliases      /usr/sbin/sendmail.sendmail
man mailwrapper(8) が正解のようだ。が、何をすればいいのか 書いてない。



最近の日記
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)
以上、5 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)