Archives

You are currently viewing archive for November 2008
Category: Computer
Posted by: Phantom

Apache 架好,網站的資料也都弄好,最後。自然是要來看看 log 檔。看看有沒有錯誤訊息,還是啥異常現象!

結果,一看,還真的有耶!

localhost - - [09/Nov/2008:08:16:36 +0800] "GET / HTTP/1.0" 200 16267 "-" "Apache (internal dummy connection)"

這是啥碗公呀?

照例,自然是要問一下 Google。

» Read More

Category: Computer
Posted by: Phantom

自從安裝了 Mysql 5.x,就發現我的 Nucleus Blog 有問題。

只是一開始,還沒抓出問題點在哪裡。只知道會有以下的錯誤訊息(有省略一部分):

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /var/www/nucleus/libs/BLOG.php on line 173

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/nucleus/libs/BLOG.php on line 212

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/nucleus/libs/BLOG.php on line 222

行數我不確定是否為上列這些,因為當時沒全抓下來。

 

» Read More

Category: Computer
Posted by: Phantom

最近新的系統剛上線,總是會有一些小狀況要來慢慢的調整。

在 anacron 每日的報告中看到了:

send-mail: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
send-mail: warning: inet_protocols: configuring for IPv4 support only
postdrop: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
postdrop: warning: inet_protocols: configuring for IPv4 support only

 

» Read More

Category: Computer
Posted by: Phantom

安裝好 etch 之後,它的 IPv6 預設是開啟的。

由於目前我覺得不需要,所以就先行關閉啦。

方法一定不只一種, 我就列出我用的方式。

先找到 /etc/modprobe.d/aliase,找到下面這一行:

alias net-pf-10 ipv6

改成:

alias net-pf-10 off
alias ipv6 off

 

» Read More