我无法在我的 Ubuntu 14.04 服务器上启动 ClamAV 守护进程。这是我尝试启动服务时得到的结果:
sudo service clamav-daemon start
* Starting ClamAV daemon clamd [fail]
Run Code Online (Sandbox Code Playgroud)
当我尝试运行clamdscan这就是我得到的
clamdscan test.jpg
ERROR: Could not lookup (null): Servname not supported for ai_socktype
----------- SCAN SUMMARY -----------
Infected files: 0
Total errors: 1
Time: 0.000 sec (0 m 0 s)
Run Code Online (Sandbox Code Playgroud)
当我clamscan在文件上运行正常时,一切都很好:
clamscan test.jpg
test.jpg: OK
----------- SCAN SUMMARY -----------
Known viruses: 3708601
Engine version: 0.98.5
Scanned directories: 0
Scanned files: 1
Infected files: 0
Data scanned: 0.18 MB
Data read: …Run Code Online (Sandbox Code Playgroud)