clamd socket找不到錯誤解決
/var/log/maillog中有一段錯誤如下
Mar 7 14:41:40 bbn107 amavis[4899]: (04899-02) (!)ClamAV-clamd: Can't connect to UNIX socket /var/run/clamav/clamd: Connection refused, retrying (2)
Mar 7 14:41:46 bbn107 amavis[4899]: (04899-02) (!)run_av (ClamAV-clamd, built-in i/f): Too many retries to talk to /var/run/clamav/clamd (Can't connect to UNIX socket /var/run/clamav/clamd: Connection refused) at (eval 98) line 310.
Mar 7 14:41:46 bbn107 amavis[4899]: (04899-02) (!!)ClamAV-clamd av-scanner FAILED: CODE(0x94bade8) Too many retries to talk to /var/run/clamav/clamd (Can't connect to UNIX socket /var/run/clamav/clamd: Connection refused) at (eval 98) line 310. at (eval 98) line 511.
Mar 7 14:41:46 bbn107 amavis[4899]: (04899-02) (!!)WARN: all primary virus scanners failed, considering backups
ps ax也找不到程式clamd
啟動/usr/local/sbin/clamd後,過一段時間clamd程式會消失.
/var/log/clamav/clamd.log中的錯誤資訊
root@bbn107:/var/log/clamav# grep -i "ERROR" clamd.log
Mon Jan 28 00:00:25 2008 -> ERROR: Socket file /var/run/clamav/clamd is in use by another process.
Mon Jan 28 00:32:37 2008 -> ERROR: Socket file /var/run/clamav/clamd is in use by another process.
Wed Jan 30 11:49:01 2008 -> ERROR: Socket file /var/run/clamav/clamd is in use by another process.
Fri Mar 7 11:15:42 2008 -> ERROR: Socket file /var/run/clamav/clamd exists. Either remove it, or configure a different one.
Fri Mar 7 14:10:26 2008 -> ERROR: Socket file /var/run/clamav/clamd exists. Either remove it, or configure a different one.
其實錯誤資訊中已經提示如何處理了: 刪除socket檔案,然後重啟clamd程式就會重新建立一個.
處理過程:
1, #rm /var/run/clamav/clamd
2, #/usr/local/sbin/clamd
Mar 7 14:41:40 bbn107 amavis[4899]: (04899-02) (!)ClamAV-clamd: Can't connect to UNIX socket /var/run/clamav/clamd: Connection refused, retrying (2)
Mar 7 14:41:46 bbn107 amavis[4899]: (04899-02) (!)run_av (ClamAV-clamd, built-in i/f): Too many retries to talk to /var/run/clamav/clamd (Can't connect to UNIX socket /var/run/clamav/clamd: Connection refused) at (eval 98) line 310.
Mar 7 14:41:46 bbn107 amavis[4899]: (04899-02) (!!)ClamAV-clamd av-scanner FAILED: CODE(0x94bade8) Too many retries to talk to /var/run/clamav/clamd (Can't connect to UNIX socket /var/run/clamav/clamd: Connection refused) at (eval 98) line 310. at (eval 98) line 511.
Mar 7 14:41:46 bbn107 amavis[4899]: (04899-02) (!!)WARN: all primary virus scanners failed, considering backups
ps ax也找不到程式clamd
啟動/usr/local/sbin/clamd後,過一段時間clamd程式會消失.
/var/log/clamav/clamd.log中的錯誤資訊
root@bbn107:/var/log/clamav# grep -i "ERROR" clamd.log
Mon Jan 28 00:00:25 2008 -> ERROR: Socket file /var/run/clamav/clamd is in use by another process.
Mon Jan 28 00:32:37 2008 -> ERROR: Socket file /var/run/clamav/clamd is in use by another process.
Wed Jan 30 11:49:01 2008 -> ERROR: Socket file /var/run/clamav/clamd is in use by another process.
Fri Mar 7 11:15:42 2008 -> ERROR: Socket file /var/run/clamav/clamd exists. Either remove it, or configure a different one.
Fri Mar 7 14:10:26 2008 -> ERROR: Socket file /var/run/clamav/clamd exists. Either remove it, or configure a different one.
其實錯誤資訊中已經提示如何處理了: 刪除socket檔案,然後重啟clamd程式就會重新建立一個.
處理過程:
1, #rm /var/run/clamav/clamd
2, #/usr/local/sbin/clamd
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/94384/viewspace-600325/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Windows下make clean指令錯誤[錯誤碼2](系統找不到指定檔案)的解決方案Windows
- Ocelot錯誤解決
- 解決 Python UnicodeEncodeError 錯誤PythonUnicodeError
- dbfread報錯ValueError錯誤解決方法Error
- PbootCMS 404 錯誤解決方法boot
- Linux下錯誤解決方案Linux
- latex 錯誤以及解決方案
- HTTP 錯誤 500.19- Internal Server Error 錯誤解決方法HTTPServerError
- Eclipse除錯找不到源的解決辦法Eclipse除錯
- steam磁碟寫入錯誤怎麼解決 steam磁碟寫入錯誤解決方法大全
- dedecms提示500錯誤解決方法
- 解決java.lang.NoSuchMethodError錯誤JavaError
- HTTP代理錯誤怎麼解決?HTTP
- SAXParseException的錯誤解決之二Exception
- ORA-28000錯誤解決方案
- undefined reference to錯誤的解決方法Undefined
- Cocopods的升級錯誤解決
- ORA-12005 錯誤的解決
- PHP curl error 60 錯誤解決PHPError
- linux解決“XXX is not in the sudoers file”錯誤Linux
- TCP網路除錯助手提示錯誤:“1035:未知錯誤” 解決方案TCP除錯
- Mac電腦下使用Socket報錯socket丟擲Can’t assign requested address解決Mac
- 解決MySQL server has gone away錯誤的解決方案MySqlServerGo
- 畢設之錯誤解決辦法
- 代理508限制錯誤怎麼解決?
- Excel匯入null錯誤解決方式ExcelNull
- 解決 ngrok 的 Domain 錯誤問題AI
- Hadoop常見錯誤及解決方案Hadoop
- 錯誤解決:Attempting to use uninitialized value VariableZed
- Ubuntu Cannot allocate memory 錯誤解決方案Ubuntu
- Qt報Multiple definition錯誤的解決QT
- Idea編譯錯誤解決辦法Idea編譯
- Go:錯誤 could not launch process: EOF 解決Go
- 錯誤: 找不到或無法載入主類
- java.sql.SQLException:IO 錯誤:Socket read timed out !JavaSQLException
- Got socket error trying to find package flutter_lints at https://pub.dev Flutter pub.dev錯誤的解決方案GoErrorPackageFlutterHTTPdev
- 錯誤720寬頻連線解決辦法 寬頻連線錯誤程式碼720怎麼解決
- win10系統找不到指定的檔案提示錯誤程式碼0x80070002解決方案Win10
- CS0234 錯誤,奇葩bug,解決方案