Всем привет.Пробовал у себя такие связки.Конфиги аналогичные статье на сайте.После запуска icap до и после squid выдвётся следущая ошибка (внизу лога) # ./c-icap -d 10 -D Enabling parameter -D Setting parameter :PidFile=/var/run/c-icap.pid Setting parameter :Timeout=300 Setting parameter :KeepAliveTimeout=600 Setting parameter :StartServers=3 Setting parameter :MaxServers=10 Setting parameter :MinSpareThreads=10 Setting parameter :MaxSpareThreads=20 Setting parameter :ThreadsPerChild=10 Setting parameter :Port=1344 Setting parameter :User=squid Setting parameter :Group=squid Setting parameter :TmpDir=/var/tmp Setting parameter :MaxMemObject=131072 Setting parameter :ServerLog=/var/log/c_icap/server.log Setting parameter :AccessLog=/var/log/c_icap/access.log Setting parameter :ModulesDir=/usr/local/lib/c_icap Loading service :logger path sys_logger.so Registering conf table:sys_logger 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:localsquid_respmod username:- service:- type:4 port:0 src_ip:10.0.2.12 src_netmask:255.255.255.255 server_ip:0.0.0.0 ACL spec name:localsquid username:- service:- type:0 port:0 src_ip:10.0.2.12 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 localsquid_respmod 1 added ACL entry localsquid 1 added ACL entry externalnet -1 added Setting parameter :ServicesDir=/usr/local/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 Going to initialize srvclamav Registering conf table:srv_clamav Going to search variable ScanFileTypes in table srv_clamav Iam going to scan data for simple scanning of type:,GIF,JPEG,MSOFFICE,TEXT,DATA,EXECUTABLE,ARCHIVE Going to search variable SendPercentData in table srv_clamav Setting parameter :SendPercentData=5 Going to search variable StartSendPercentDataAfter in table srv_clamav Setting parameter :StartSendPercentDataAfter=2097152 Going to search variable MaxObjectSize in table srv_clamav Setting parameter :MaxObjectSize=5242880 Going to search variable ClamAvTmpDir in table srv_clamav Setting parameter :ClamAvTmpDir=/usr/local/squid/tmp Going to search variable ClamAvMaxFilesInArchive in table srv_clamav Setting parameter :ClamAvMaxFilesInArchive=0 Going to search variable ClamAvMaxFileSizeInArchive in table srv_clamav Setting parameter :ClamAvMaxFileSizeInArchive=104857600 Going to search variable ClamAvMaxRecLevel in table srv_clamav Setting parameter :ClamAvMaxRecLevel=5 My hostname is:proxy.aromata.ru Error creating mutexCan't init shared memory.Fatal error, exiting!
Лог icap: Wed Mar 14 15:45:15 2007, general, Error creating mutexWed Mar 14 15:45:15 2007, general, can't get shared memory!Wed Mar 14 ЗЫ: Опция ядра есть если что.. # cat GENERIC | grep mem options SYSVSHM # SYSV-style shared memory
Куда копать, не пойму...