2014年5月27日 星期二

ClamAV freshclam 失敗

/etc/cron.daily/freshclam: 

ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log). 
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!). 

網路查詢到這篇文章

http://chaeltung.blogspot.tw/2013/06/freshclam.html

# chown clam:clam /var/log/clamav/freshclam.log
# chown clam:clam /var/log/clamav/clamd.log

但我需要改成

# chown clamav:clamav /var/log/clamav/freshclam.log
# chown clamav:clamav /var/log/clamav/clamd.log

隔天收到錯誤訊息

/etc/cron.daily/freshclam: 

ERROR: Can't open /var/clamav/mirrors.dat for writing 
ERROR: Can't open /var/clamav/mirrors.dat for writing 
ERROR: Can't open /var/clamav/mirrors.dat for writing 
ERROR: Can't open /var/clamav/mirrors.dat for writing 
ERROR: Can't open /var/clamav/mirrors.dat for writing 
ERROR: Can't open /var/clamav/mirrors.dat for writing 
ERROR: Can't open /var/clamav/mirrors.dat for writing 
ERROR: Can't open /var/clamav/mirrors.dat for writing 
ERROR: Can't open /var/clamav/mirrors.dat for writing 
ERROR: Can't open /var/clamav/mirrors.dat for writing 
ERROR: Can't open /var/clamav/mirrors.dat for writing 

執行

#freshclam

ERROR: Can't open /var/clamav/mirrors.dat for writing 

執行

# clamscan -v 

Detected duplicate databases /var/clamav/main.cvd and /var/clamav/main.cld, please 
manually remove one of them 

找到這篇文章,依文章執行

http://ithelp.ithome.com.tw/question/10069867

***
之後還有問題,發現檔案權限不對更改相關檔案權限為clam後已解決。




2014年5月6日 星期二

openwebmail無法刪除通訊錄單筆資料

openwebmail 無法刪除通訊錄單筆資料

版本2.53

使用IE無法刪除

改用chrome可以單筆刪除