[squid-users] Re: ERROR: This proxy does not support the 'rock' cache type. Ignoring.

From: Ahmad <ahmed.zaeem_at_netstream.ps>
Date: Wed, 4 Sep 2013 00:28:23 -0700 (PDT)

hi amos ,
thanks alot for clarification ,

but again i still have problems ,

after i corrected rock storage and recompiled squid ,
it worked , but wccp is no longer working with router ???!!!!! but if i use
port in my explorer it works !!!!

when i comment smp options and restart squid , i note that wccp works with
router ???!!!!

========================================
here is sample start when disable smp :
2013/09/04 09:19:05 kid1| Squid Cache (Version 3.3.8): Exiting normally.
2013/09/04 09:19:10 kid1| Starting Squid Cache version 3.3.8 for
i486-pc-linux-gnu...
2013/09/04 09:19:10 kid1| Process ID 21334
2013/09/04 09:19:10 kid1| Process Roles: worker
2013/09/04 09:19:10 kid1| With 65536 file descriptors available
2013/09/04 09:19:10 kid1| Initializing IP Cache...
2013/09/04 09:19:10 kid1| DNS Socket created at [::], FD 7
2013/09/04 09:19:10 kid1| DNS Socket created at 0.0.0.0, FD 8
2013/09/04 09:19:10 kid1| Adding nameserver x.x.x.x from squid.conf
2013/09/04 09:19:10 kid1| Adding nameserver x.x.x.x from squid.conf
2013/09/04 09:19:10 kid1| Adding nameserver 8.8.8.8 from squid.conf
2013/09/04 09:19:10 kid1| Logfile: opening log
daemon:/var/log/squid3/access.log
2013/09/04 09:19:10 kid1| Logfile Daemon: opening log
/var/log/squid3/access.log
2013/09/04 09:19:10 kid1| Local cache digest enabled; rebuild/rewrite every
3600/3600 sec
2013/09/04 09:19:10 kid1| Store logging disabled
2013/09/04 09:19:10 kid1| Swap maxSize 0 + 524288 KB, estimated 40329
objects
2013/09/04 09:19:10 kid1| Target number of buckets: 2016
2013/09/04 09:19:10 kid1| Using 8192 Store buckets
2013/09/04 09:19:10 kid1| Max Mem size: 524288 KB
2013/09/04 09:19:10 kid1| Max Swap size: 0 KB
2013/09/04 09:19:10 kid1| Using Least Load store dir selection
2013/09/04 09:19:10 kid1| Set Current Directory to /var/cache/squid
2013/09/04 09:19:10 kid1| Loaded Icons.
2013/09/04 09:19:10 kid1| Accepting WCCPv2 messages on port 2048, FD 11.
2013/09/04 09:19:10 kid1| Initialising all WCCPv2 lists
2013/09/04 09:19:10 kid1| HTCP Disabled.
2013/09/04 09:19:10 kid1| Squid plugin modules loaded: 0
2013/09/04 09:19:10 kid1| Adaptation support is off.
2013/09/04 09:19:10 kid1| Accepting HTTP Socket connections at
local=x.x.x.x:3128 remote=[::] FD 12 flags=9
2013/09/04 09:19:10 kid1| Accepting TPROXY spoofing HTTP Socket connections
at local=x.x.x.x:64000 remote=[::] FD 13 flags=25
2013/09/04 09:19:10 kid1| Accepting SNMP messages on 0.0.0.0:3401
2013/09/04 09:19:10 kid1| Sending SNMP messages from 0.0.0.0:3401
2013/09/04 09:19:11 kid1| storeLateRelease: released 0 objects
2013/09/04 09:19:10 kid1| Starting Squid Cache version 3.3.8 for
i486-pc-linux-gnu...
2013/09/04 09:19:10 kid1| Process ID 21334
2013/09/04 09:19:10 kid1| Process Roles: worker
2013/09/04 09:19:10 kid1| With 65536 file descriptors available
2013/09/04 09:19:10 kid1| Initializing IP Cache...
2013/09/04 09:19:10 kid1| DNS Socket created at [::], FD 7
2013/09/04 09:19:10 kid1| DNS Socket created at 0.0.0.0, FD 8
2013/09/04 09:19:10 kid1| Adding nameserver x.x.x.x from squid.conf
2013/09/04 09:19:10 kid1| Adding nameserver x.x.x.x from squid.conf
2013/09/04 09:19:10 kid1| Adding nameserver 8.8.8.8 from squid.conf
2013/09/04 09:19:10 kid1| Logfile: opening log
daemon:/var/log/squid3/access.log
2013/09/04 09:19:10 kid1| Logfile Daemon: opening log
/var/log/squid3/access.log
2013/09/04 09:19:10 kid1| Local cache digest enabled; rebuild/rewrite every
3600/3600 sec
2013/09/04 09:19:10 kid1| Store logging disabled
2013/09/04 09:19:10 kid1| Swap maxSize 0 + 524288 KB, estimated 40329
objects
2013/09/04 09:19:10 kid1| Target number of buckets: 2016
2013/09/04 09:19:10 kid1| Using 8192 Store buckets
2013/09/04 09:19:10 kid1| Max Mem size: 524288 KB
2013/09/04 09:19:10 kid1| Max Swap size: 0 KB
2013/09/04 09:19:10 kid1| Using Least Load store dir selection
2013/09/04 09:19:10 kid1| Set Current Directory to /var/cache/squid
2013/09/04 09:19:10 kid1| Loaded Icons.
2013/09/04 09:19:10 kid1| Accepting WCCPv2 messages on port 2048, FD 11.
2013/09/04 09:19:10 kid1| Initialising all WCCPv2 lists
2013/09/04 09:19:10 kid1| HTCP Disabled.
2013/09/04 09:19:10 kid1| Squid plugin modules loaded: 0
2013/09/04 09:19:10 kid1| Adaptation support is off.
2013/09/04 09:19:10 kid1| Accepting HTTP Socket connections at
local=x.x.x.x:3128 remote=[::] FD 12 flags=9
2013/09/04 09:19:10 kid1| Accepting TPROXY spoofing HTTP Socket connections
at local=x.x.x.x:xxxxremote=[::] FD 13 flags=25
2013/09/04 09:19:10 kid1| Accepting SNMP messages on 0.0.0.0:3401
2013/09/04 09:19:10 kid1| Sending SNMP messages from 0.0.0.0:3401
2013/09/04 09:19:11 kid1| storeLateRelease: released 0 objects

====================================
here is when i add and start squid
#########SMP implementations######################
# Rockstore filesytem
workers 2
cache_dir rock /squid-cache/rock-1 3000 max-size=31000 max-swap-rate=250
swap-timeout=350
###########################################################

FATAL: kid1 registration timed out
Squid Cache (Version 3.3.8): Terminated abnormally.
CPU Usage: 0.050 seconds = 0.000 user + 0.050 sys
Maximum Resident Size: 77328 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
        total space in arena: 4612 KB
        Ordinary blocks: 4553 KB 15 blks
        Small blocks: 0 KB 1 blks
        Holding blocks: 36892 KB 8 blks
        Free Small blocks: 0 KB
        Free Ordinary blocks: 58 KB
        Total in use: 41445 KB 899%
        Total free: 59 KB 1%
FATAL: Ipc::Mem::Segment::open failed to
shm_open(/squid-squid-page-pool.shm): (2) No such file or directory

Squid Cache (Version 3.3.8): Terminated abnormally.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 19552 KB
Page faults with physical i/o: 8
FATAL: Ipc::Mem::Segment::open failed to
shm_open(/squid-squid-page-pool.shm): (2) No such file or directory

Squid Cache (Version 3.3.8): Terminated abnormally.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 19552 KB
Page faults with physical i/o: 0
FATAL: Ipc::Mem::Segment::open failed to
shm_open(/squid-squid-page-pool.shm): (2) No such file or directory

Squid Cache (Version 3.3.8): Terminated abnormally.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 19552 KB
Page faults with physical i/o: 0
FATAL: Ipc::Mem::Segment::open failed to
shm_open(/squid-squid-page-pool.shm): (2) No such file or directory

Squid Cache (Version 3.3.8): Terminated abnormally.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 19568 KB
Page faults with physical i/o: 0
=========================================================================
here is permissions and mount :
root_at_drvirus:/home/squid-3.3.8# ls -l /var/run/squid
total 0
srwxr-x--- 1 proxy proxy 0 Sep 4 09:28 coordinator.ipc
srwxr-x--- 1 proxy proxy 0 Sep 4 09:28 kid-1.ipc
srwxr-x--- 1 proxy proxy 0 Sep 4 09:28 kid-2.ipc
srwxr-x--- 1 proxy proxy 0 Sep 4 09:28 kid-3.ipc
srwxr-x--- 1 proxy proxy 0 Sep 3 15:37 kid-4.ipc
===========================================================
root_at_drvirus:/home/squid-3.3.8# mount
/dev/sda1 on / type ext4 (rw,noatime)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
none on /opt/vyatta/config type tmpfs (rw,nosuid,nodev,mode=775,nr_inodes=0)
/opt/vyatta/etc/config on /config type none (rw,bind)
shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)
shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)
root_at_drvirus:/home/squid-3.3.8#

wts wrong ???

agian , note that although error above still exist , i still can use procy
by port , but wccp is no longer up with router ???!!!

regards

-----
Mr.Ahmad

--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/ERROR-This-proxy-does-not-support-the-rock-cache-type-Ignoring-tp4661924p4661953.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Wed Sep 04 2013 - 07:29:04 MDT

This archive was generated by hypermail 2.2.0 : Wed Sep 04 2013 - 12:00:05 MDT