家サーバ

ちょっと看破できぬぐらい重いので少し手を入れてみる。

まずは apache の起動時に毎回でている下記エラー(わら

""[Fri Jul 08 17:29:15 2005] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
こちらは /etc/apache2/sites-available をあらゆる編集して下記のような感じに。

次にあらゆる VirtuanHost のログが肥大化しているのもアレなので

/etc/logrotate.d/vhost-base を作って以下のような感じにしてみる。
/var/lib/vhost-base/*/logs/* {
weekly
missingok
rotate 52
compress
delaycompress
notifempty
create 640 root adm
sharedscripts
postrotate
if [ -f /var/run/apache2.pid ]; then
/etc/init.d/apache2 restart > /dev/null
fi
endscript
}
まぁこれで変化するとは思えないけど。