LINUX.ORG.RU
ФорумAdmin

squid+c_icap+clamav


0

0

Кто смог настроить подскажите как. Я уже третий день его мучаю.
Перечитал кучу статей. 
Имею:
 squid -v
Squid Cache: Version 2.6.STABLE1
'--enable-icap-support'
c_icap-180407
собран из исходников 
./configure --with-clamav --prefix=/usr/local/c_icap

clamd --v
ClamAV 0.90.1/4349/Thu Sep 20 02:46:46 2007

При вводе команды ./c-icap -N -d 10 -D
пишет
./c-icap -N -d 10 -D
Enabling parameter -D
Searching 0x805b38c for default valuenSetting parameter :PidFile=/var/run/c-icap.pid
Searching 0x805b3b0 for default valuenSetting parameter :Timeout=300
Searching 0x805b3b8 for default valuenSetting parameter :MaxKeepAliveRequests=100
Searching 0x805b3b4 for default valuenSetting parameter :KeepAliveTimeout=600
Searching 0x805b3c0 for default valuenSetting parameter :StartServers=3
Searching 0x805b3c4 for default valuenSetting parameter :MaxServers=10
Searching 0x805b3cc for default valuenSetting parameter :MinSpareThreads=10
Searching 0x805b3d0 for default valuenSetting parameter :MaxSpareThreads=20
Searching 0x805b3c8 for default valuenSetting parameter :ThreadsPerChild=10
Searching 0x805b838 for default valuenSetting parameter :MaxRequestsPerChild=0
Searching 0x805b380 for default valuenSetting parameter :Port=1344
Searching 0x805b394 for default valuenSetting parameter :User=nobody
Searching 0x805b398 for default valuenSetting parameter :Group=nobody
Searching 0x805b388 for default valuenSetting parameter :TmpDir=/tmp
Searching 0x805b820 for default valuenSetting parameter :MaxMemObject=131072
Searching 0x805b750 for default valuenSetting parameter :ServerLog=/usr/local/c_icap/var/log/server.log
Searching 0x805b754 for default valuenSetting parameter :AccessLog=/usr/local/c_icap/var/log/access.log
Searching 0x805b3ac for default valuenSetting parameter :ModulesDir=/usr/local/c_icap/lib/c_icap
Loading service :logger path sys_logger.so
Registering conf table:sys_logger
Loading service :perl_handler path perl_handler.so
Uknown type of module:perl_handler
Error loading service
Going to search variable Prefix in table sys_logger
Setting parameter :Prefix=C-ICAP:
Going to search variable Facility in table sys_logger
Setting parameter :Logger=file_logger
ACL spec name:localnet_respmod username:- service:- type:4 port:0 src_ip:127.0.0.1 src_netmask:255.255.255.255 server_ip:0.0.0.0
ACL spec name:localnet username:- service:- type:0 port:0 src_ip:127.0.0.1 src_netmask:255.255.255.255 server_ip:0.0.0.0
ACL spec name:externalnet username:- service:- type:0 port:0 src_ip:0.0.0.0 src_netmask:0.0.0.0 server_ip:0.0.0.0
ACL entry localnet_respmod 1  added
ACL entry localnet 1  added
ACL entry externalnet -1  added
Searching 0x805b3a8 for default valuenSetting parameter :ServicesDir=/usr/local/c_icap/lib/c_icap
Loading service :echo_module path srv_echo.so
Found handler C_handler for service with extension:.so
Initialization of echo module......
Loading service :url_check_module path srv_url_check.so
Found handler C_handler for service with extension:.so
Initialization of url_check module......
Loading service :antivirus_module path srv_clamav.so
Found handler C_handler for service with extension:.so
Error loading module srv_clamav.so:(null)
Error finding symbol "service" in  module srv_clamav.so
Error loading service
Going to search variable ScanFileTypes in table srv_clamav
Variable ScanFileTypes or table srv_clamav not found!
Going to search variable SendPercentData in table srv_clamav
Variable SendPercentData or table srv_clamav not found!
Going to search variable StartSendPercentDataAfter in table srv_clamav
Variable StartSendPercentDataAfter or table srv_clamav not found!
Going to search variable MaxObjectSize in table srv_clamav
Variable MaxObjectSize or table srv_clamav not found!
Going to search variable ClamAvTmpDir in table srv_clamav
Variable ClamAvTmpDir or table srv_clamav not found!
Going to search variable ClamAvMaxFilesInArchive in table srv_clamav
Variable ClamAvMaxFilesInArchive or table srv_clamav not found!
Going to search variable ClamAvMaxFileSizeInArchive in table srv_clamav
Variable ClamAvMaxFileSizeInArchive or table srv_clamav not found!
Going to search variable ClamAvMaxRecLevel in table srv_clamav
Variable ClamAvMaxRecLevel or table srv_clamav not found!
Going to search variable VirSaveDir in table srv_clamav
Variable VirSaveDir or table srv_clamav not found!
Going to search variable VirHTTPServer in table srv_clamav
Variable VirHTTPServer or table srv_clamav not found!
Going to search variable VirUpdateTime in table srv_clamav
Variable VirUpdateTime or table srv_clamav not found!
Going to search variable VirScanFileTypes in table srv_clamav
Variable VirScanFileTypes or table srv_clamav not found!


Ответ на: комментарий от COBICTb

Причем здесь файрлвол?
Если 
Error loading module srv_clamav.so:(null)
Error finding symbol "service" in  module srv_clamav.so
Error loading service

search
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.