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

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

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

#1 [pkgsrc] PostgreSQL .. is not compatible with this version 7.3.2.

# grep postgres /etc/rc.local
# POSTGRES=/a/j/postgres
POSTGRES=/export/postgres
su postgres -c /etc/rc.postgres
# su postgres -c /etc/rc.postgres
postmaster successfully started
# FATAL: The data directory was initialized by PostgreSQL version 7.1, which is not compatible with this version 7.3.2.

# cat /etc/rc.postgres
#!/bin/sh
/usr/pkg/bin/pg_ctl -D /export/postgres start
がーん

#2 [pkgsrc] ndtpd

ttypd:root@u 22:42:38/030412(~)# /usr/pkg/sbin/ndtpd
ttypd:root@u 21:19:33/030413(~)# tail -f /var/log/messages
Apr 13 21:19:34 u ndtpd[26478]: failed to open the file, Permission denied: /var/run/ndtpd/jitenban97.lock
Apr 13 21:19:34 u ndtpd[26478]: failed to open the file, Permission denied: /var/run/ndtpd/ndtpd.lock
Apr 13 21:19:34 u ndtpd[26478]: the server exits
.. ttype:makoto@u 21:22:25/030413(...textproc/eb)> ls -lag /var/run/ndtpd/
total 4
drwxr-xr-x 2 root wheel 512 Apr 13 16:57 ./
drwxr-xr-x 3 root wheel 512 Apr 13 16:57 ../
これの原因がまだ分っていない。
Index: Makefile
===================================================================
RCS file: /e/celeron/CVSup/main/pkgsrc/textproc/ndtpd/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile	6 Feb 2003 04:24:13 -0000	1.6
+++ Makefile	13 Apr 2003 10:02:44 -0000
@@ -34,6 +34,9 @@
 post-install:
 	@${INSTALL_SCRIPT} ${WRKDIR}/ndtpd.sh ${PREFIX}/etc/rc.d/ndtpd.sh
 
+PKG_GROUPS=     ndtpgrp
+PKG_USERS=      ndtpuser::ndtpgrp
+
 .include "../../devel/gettext-lib/buildlink2.mk"
 .include "../../textproc/eb/buildlink2.mk"
 .include "../../mk/texinfo.mk"
した方がいいような気がする (が上とはとりあえず関係なさそう)。

chown -R ndtpuser /var/run/ndtpd/:

ttypb:root@u 21:20:49/030413(...makoto/vc)# chown -R ndtpuser /var/run/ndtpd/
ttypb:root@u 21:24:11/030413(...makoto/vc)# /usr/pkg/sbin/ndtpd
ttypb:root@u 21:24:19/030413(...makoto/vc)# tail -f /var/log/messages
....
Apr 13 21:24:19 u ndtpd[18918]: the appendix is not available, failed to open an appendix catalog file: /usr/pkg/share/eb/appendix
Apr 13 21:24:19 u last message repeated 2 times
Apr 13 21:24:19 u ndtpd[18918]: server started

何とか動いている様子。:

 ttyph:makoto@u  21:26:40/030413(~)>  telnet localhost ndtp
 Trying ::1...
 Connected to localhost.
 Escape character is '^]'.
 T
 1       広辞苑 第四版 電子ブック版
 2       付属資料
 3       現代国語辞典
 4       センチュリ+ビジネス+クラウン
 5       三省堂「大辞林」
 6       三省堂「大辞林」
 $*
 Q
 Connection closed by foreign host.
 ttyph:makoto@u  21:26:50/030413(~)> 



最近の日記
2024年05月08日
comparison on ./buildsh tools
2024年05月06日
py-setuptools (python 3.11.9)
make release took 1 hours and 10 min
qemu invocation for 10.99.10
2024年05月05日
Windows 10 version
serial connection
bc bench
2024年05月04日
Trial on 10.99.10
another version (later trial) to succeed
2024年04月29日
dkim
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)