您的位置:首页 > 运维架构 > Linux

CentOS 5.2 安装后CLAMAV 0.94无法启动问题

2008-10-07 13:52 771 查看
出错信息:[root@localhost ~]# /etc/init.d/clamd startStarting Clam AntiVirus Daemon: LibClamAV Error: cli_loaddbdir(): Can't open directory /var/clamavERROR: Unable to open file or directory[root@localhost ~]# freshclamClamAV update process started at Mon Oct  6 20:15:57 2008Downloading main-48.cdiff [100%]main.cld updated (version: 48, sigs: 399264, f-level: 35, builder: sven)WARNING: getfile: daily-8139.cdiff not found on remote server (IP: 155.98.64.86)WARNING: getpatch: Can't download daily-8139.cdiff from db.us.clamav.netTrying host db.us.clamav.net (208.72.56.53)...WARNING: getfile: daily-8139.cdiff not found on remote server (IP: 208.72.56.53)WARNING: getpatch: Can't download daily-8139.cdiff from db.us.clamav.netTrying host db.us.clamav.net (199.184.215.2)...WARNING: getfile: daily-8139.cdiff not found on remote server (IP: 199.184.215.2)WARNING: getpatch: Can't download daily-8139.cdiff from db.us.clamav.netWARNING: Incremental update failed, trying to download daily.cvdTrying host db.us.clamav.net (199.184.215.2)...Downloading daily.cvd [100%]daily.cvd updated (version: 8381, sigs: 37683, f-level: 35, builder: guitar)Database updated (436947 signatures) from db.us.clamav.net (IP: 199.184.215.2)WARNING: Clamd was NOT notified: Can't connect to clamd through /tmp/clamd.socketconnect(): No such file or directory[root@localhost ~]# WARNING: Clamd was NOT notified: Can't connect to clamd through /tmp/clamd.socket> connect(): No such file or directory>文章出处:http://www.mail-archive.com/clamav-users@lists.clamav.net/msg29950.html原因是受SELinux控制影响解决方法:
方法1.禁用SELinux
修改/etc/selinux/config将SELINUX=enforcing更改为SELINUX=disabled保存后重启
方法2.运行setsebool -P clamd_disable_trans=1,使clam不受SELinux的控制
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: