[squid-users] Error creating mutexCan't init shared memory.freebsd 4.9/6.0 + squid2.5st14/2.6st11 + icap + clamav

From: Maxim A. Socolov <maksim@dont-contact.us>
Date: Tue, 20 Mar 2007 15:54:00 +0300

freebsd 4.9/6.0 + squid2.5st14/2.6st10 + icap + clamav
result: šError creating mutexCan't init shared memory.Fatal error, exiting!

# ./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!

Log 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
P.S.
# cat GENERIC | grep mem
options SYSVSHM # SYSV-style shared memory

Help

Best regards,
Maxim A. Socolov
Klas company
tel.š +7 495 916-5220
fax. +7 495 916-5221
www.aromata.ru
š
Received on Tue Mar 20 2007 - 06:54:19 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Mar 31 2007 - 13:00:02 MDT