Warning: include(/home/zakimico/public_html/log.php) [function.include]: failed to open stream: No such file or directory in /home/zakimico/public_html/archives/2004/06/25/index.php on line 2

Warning: include() [function.include]: Failed opening '/home/zakimico/public_html/log.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/zakimico/public_html/archives/2004/06/25/index.php on line 2
Zakimi::Blog: 2004年06月25日 Archives

2004年06月25日

pre表示指定


 preタグで囲んだ文字列はそのまま表示されるためコード等を表示するとき利用される。結構便利なタグなんだけど、折り返しは自動的にしないから長い行があると当サイトのように2カラム表示が崩れてしまうことがしばしば。

 ところが下記のコードをスタイルシートに入れるとそれが直ります。どう直るかは各自で確認してみてもらうか当サイトでpreを使っている部分を見て下さい。

続きを読む...

Posted by zRyu at 01:11 | Updated at 2006年 3月 21日 23:13
Post 0 Comments & 1 TrackBacks

DNSが起動できなくなった

[ Linux ]

Linuxを再起動したら下記のエラーが出力され、DNSが起動できなくなったよー。

Jun 25 00:51:45 zcore  6月 25 00:51:45 named: named停止 failed
Jun 25 00:51:45 zcore named[2418]: starting BIND 9.2.1 -u bind
Jun 25 00:51:45 zcore named[2418]: using 1 CPU
Jun 25 00:51:45 zcore named[2421]: loading configuration from '/etc/named.conf'
Jun 25 00:51:45 zcore named[2421]: no IPv6 interfaces found
Jun 25 00:51:45 zcore named[2421]: listening on IPv4 interface lo, 127.0.0.1#53
Jun 25 00:51:45 zcore named[2421]: listening on IPv4 interface eth0, 192.168.1.254#53
Jun 25 00:51:45 zcore named[2421]: command channel listening on 127.0.0.1#953
Jun 25 00:51:45 zcore named[2421]: couldn't open pid file '/etc/namedb/named.pid': File exists
Jun 25 00:51:45 zcore named[2421]: exiting (due to early fatal error)
Jun 25 00:51:45 zcore  6月 25 00:51:45 named: named起動 failed

「name.pidがすでにあるよ」なんて言っていて、ためしに当該ファイルを削除しても、今度は

Jun 25 00:47:47 zcore named[2369]: couldn't open pid file '/etc/namedb/named.pid': Permission denied

「読み込む権限ないよ」なんていう。Linuxよ、おちょくってる? とにかく、今は時間が遅いからPCのDNSアドレスを自家DNSからプロバイダのDNSに変更して、問題の解析は明日以降にします。

Posted by zRyu at 00:56 | Updated at 2006年 3月 21日 23:13
Post 2 Comments & 0 TrackBacks

Copyright © 1999-2006 All Rights Reserved by Ryu Zakimi
リンク・フリーとなっていますのでご自由にリンクを張ってください