追記です。
ログを見ました。すると
ERROR: Problem with internal logger (UpdateLogFile = /usr/local/clamXav/share/clamav/freshclam.log).
ERROR: Can't open /usr/local/clamXav/share/clamav/freshclam.log in append mode (check permissions!).
とありました。パーミッションのエラーとありますが、どういう設定だと正しいのでしょう。この一連の流れの中にターミナルからfreshclam.logのパーミッション設定はないと思うのですが…。
system.logには
ClamXavSentry[3173]: can't connect to clamd
とあります。
ClamXav-scan.logを見ると
connect(): No such file or directory
WARNING: Can't connect to clamd.
connect(): No such file or directory
ClamXavSentry[3173:7283] can't connect to clamd
Error, can't connect to clamd through /tmp/clamd.
currentSubPaths length: 3
とあります。
/etc/ を見るとclamdというfileもdirectoryもありませんでした。手順の何かを見落としたのでしょうか…。上記の方法を一つずつ確認しましたが見つけられませんでした。申しわけありません。教えて下さい。
何度もありがとうございます。#をいれて実行しましたら、以下のような表示がでて実行できません。
config.log
をみましたが同じような内容が途中までで切れていました。以下コピーします。これはconfig.logではなく、ターミナルウインドウ上での結果です。長くてすみません。途中省略しました。
checking whether email keyserver support is requested... no
checking whether keyserver exec-path is enabled... yes
checking whether the included zlib is requested... no
checking for the size of the key and uid cache... 4096
checking whether use of capabilities is requested... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make sets $(MAKE)... (cached) no
checking whether build environment is sane... yes
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
Wed Feb 11 11:50:11 2009 child exited: 1
Wed Feb 11 11:50:11 2009 PHASE build: type method: command #0: failed
Wed Feb 11 11:50:11 2009 PHASE build: failed
Can't exec "make": No such file or directory at /usr/local/clamXav/bin/clamav-update.pl line 368.
Wed Feb 11 11:50:11 2009 fail to execute
Wed Feb 11 11:50:11 2009 PHASE build: type rollback: command #0: failed
ここの部分がエラーの表示だと思うのですが、configure: error: no acceptable C compiler found in $PATH
コンパイラーへのパスが通ってないということでしょうか?念のためコメントアウトした部分をコピーします。
# push @{$Phase{download}->{method}}, (
# [qw(curl --silent --location -o),
# "$Setting{option}->{dst}/$Setting{option}->{name}-$LatestVersion.$Setting{option}->{ext}.sig",
# "$Setting{option}->{src}/$Setting{option}->{name}-$LatestVersion.$Setting{option}->{ext}.sig",
# ],
# [qw(gpg --verify),
# "$Setting{option}->{dst}/$Setting{option}->{name}-$LatestVersion.$Setting{option}->{ext}.sig",
# ],
# );
本当に何度もご迷惑をおかけしてすみません。
気になる点は、上記の方で、まっきーさんが書かれてる clamd.socketに問題という部分、
freshclam.logにも
WARNING: Clamd was NOT notified: Can't connect to clamd through /var/clamav/clamd.socket
自分の環境では、freshclam.logを見ると
WARNING: Clamd was NOT notified: Can't connect to clamd through /var/ClamdOmitScan/clamd.socket
と表示されます。