[root@mach2 videocache-1.9.1]# squid -k parse
FATAL: Bungled squid.conf line 83: url_rewrite_program /usr/bin/python /usr/share/videocache/videocache.py
Squid Cache (Version 2.7.STABLE6): Terminated abnormally.
[root@mach2 videocache-1.9.1]# cat /etc/httpd/conf/extra/httpd-videocache.conf
#
# file : /etc/httpd/conf.d/videocache.conf
#
# videocache is a squid url rewriter to cache videos from various websites.
# Check http://cachevideos.com/ for more details.
#
# ------------------- Note This --------------------
# Don't forget to reload httpd and squid services if you change this file.
Alias /videocache /squid/videocache
<Directory /squid/videocache>
Options +Indexes
Order Allow,Deny
#Comment the following line and uncomment the next for public use
Allow from all
#Deny from all
</Directory>
Include conf/extra/httpd-videocache.conf
I only changed this directive below
[root@mach2 videocache-1.9.1]# cat /etc/videocache.conf
base_dir = /squid/videocache/
[root@mach2 videocache-1.9.1]# cat /usr/sbin/update-vc | grep squid
# The user which runs the squid proxy server or daemon. Change this according to your system.
squid_user = 'proxy'
# The group which runs the squid proxy server or daemon. Change this according to your system.
squid_group = 'proxy'
# main config
http_port 3128
visible_hostname rixserv
#email_err_data off
cache_mgr rixadmin@rixserv
# main config
cache_dir aufs /squid/cache 8192 16 256
cache_mem 64 MB
maximum_object_size 64 MB
maximum_object_size_in_memory 64 KB
# tweaks
cache_replacement_policy heap LFUDA
cache_swap_low 90
cache_swap_high 95
memory_pools off
quick_abort_min 0 KB
quick_abort_max 0 KB
log_icp_queries off
client_db off
buffered_logs on
half_closed_clients off
# addons
#url_rewrite_program /etc/adzapper/wrapzap
#url_rewrite_children 10
#url_rewrite_bypass on
redirect_program /usr/local/bin/squid_redirect
# acl
acl all src all
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl rixnet src 192.168.0.0/24
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow rixnet
http_access allow localhost
http_access deny all
delay_pools 1
delay_class 1 2
delay_access 1 allow rixnet
delay_access 1 deny all
delay_parameters 1 100000/100000 90000/90000
hierarchy_stoplist cgi-bin ?
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern (cgi-bin|\\?) 0 0% 0
refresh_pattern . 0 20% 4320
forwarded_for off
access_log /var/log/squid/access.log squid
coredump_dir /var/cache/squid
# --BEGIN-- videocache config for squid
url_rewrite_program /usr/bin/python /usr/share/videocache/videocache.py
url_rewrite_children 7
acl videocache_allow_url url_regex -i \\.youtube\\.com\\/get_video\\?
acl videocache_allow_url url_regex -i \\.googlevideo\\.com\\/videoplayback \\.googlevideo\\.com\\/videoplay \\.googlevideo\\.com\\/get_video\\
?
acl videocache_allow_url url_regex -i \\.google\\.com\\/videoplayback \\.google\\.com\\/videoplay \\.google\\.com\\/get_video\\?
acl videocache_allow_url url_regex -i \\.google\\.[a-z][a-z]\\/videoplayback \\.google\\.[a-z][a-z]\\/videoplay \\.google\\.[a-z][a-z]\\/get_
video\\?
acl videocache_allow_url url_regex -i (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4
][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\/videoplayback\\?
acl videocache_allow_url url_regex -i (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4
][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\/videoplay\\?
acl videocache_allow_url url_regex -i (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4
][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\/get_video\\?
acl videocache_allow_url url_regex -i proxy[a-z0-9\\-][a-z0-9][a-z0-9][a-z0-9]?\\.dailymotion\\.com\\/
acl videocache_allow_url url_regex -i vid\\.akm\\.dailymotion\\.com\\/
acl videocache_allow_url url_regex -i [a-z0-9][0-9a-z][0-9a-z]?[0-9a-z]?[0-9a-z]?\\.xtube\\.com\\/(.*)flv
acl videocache_allow_url url_regex -i bitcast\\.vimeo\\.com\\/vimeo\\/videos\\/
acl videocache_allow_url url_regex -i va\\.wrzuta\\.pl\\/wa[0-9][0-9][0-9][0-9]?
acl videocache_allow_url url_regex -i \\.files\\.youporn\\.com\\/(.*)\\/flv\\/
acl videocache_allow_url url_regex -i \\.msn\\.com\\.edgesuite\\.net\\/(.*)\\.flv
acl videocache_allow_url url_regex -i media[a-z0-9]?[a-z0-9]?[a-z0-9]?\\.tube8\\.com\\/ mobile[a-z0-9]?[a-z0-9]?[a-z0-9]?\\.tube8\\.com\\/
acl videocache_allow_url url_regex -i \\.mais\\.uol\\.com\\.br\\/(.*)\\.flv
acl videocache_allow_url url_regex -i \\.video[a-z0-9]?[a-z0-9]?\\.blip\\.tv\\/(.*)\\.(flv|avi|mov|mp3|m4v|mp4|wmv|rm|ram)
acl videocache_allow_url url_regex -i video\\.break\\.com\\/(.*)\\.(flv|mp4)
acl videocache_allow_dom dstdomain .mccont.com dl.redtube.com .cdn.dailymotion.com
acl videocache_deny_url url_regex -i http:\\/\\/[a-z][a-z]\\.youtube\\.com http:\\/\\/www\\.youtube\\.com
url_rewrite_access deny videocache_deny_url
url_rewrite_access allow videocache_allow_url
url_rewrite_access allow videocache_allow_dom
redirector_bypass on
# --END-- videocache config for squid
[root@mach2 videocache-1.9.1]# cat /usr/share/videocache/config.py | grep squid/videocache
base_dir = Option('/squid/videocache/')
tar -xvzf videocache-1.9.1.tar.gz
cd videocache-1.9.1
cp videocache-httpd.conf /etc/httpd/conf/extra/httpd-videocache.conf
cp videocache-sysconfig.conf /etc/videocache.conf
cp update-vc /usr/sbin/update-vc
chmod 744 /usr/sbin/update-vc
cp scripts/vccleaner /usr/sbin/vccleaner
chmod 744 /usr/sbin/vccleaner
cp -r videocache /usr/share/
cd /squid
mkdir -p videocache/tmp videocache/youtube videocache/metacafe videocache/dailymotion videocache/google videocache/redtube videocache/xtube videocache/vimeo videocache/wrzuta videocache/youporn videocache/soapbox videocache/tube8 videocache/tvuol videocache/bliptv videocache/break
chown -R proxy:proxy videocache
chmod -R 755 videocache
mkdir -p /var/log/videocache
chmod -R 755 /var/log/videocache/
chown -R proxy:proxy /var/log/videocache/
I don't know what I'm doing wrong. Please help thanks!
7 Answers
Hi!
It may be that copy pasting the configuration lines into squid.conf didn't work properly. And the error can be due to missing new line or something like that.
PS : Which operating system are you using?
Thank You!
Hi admin. Sorry, forgot to mention I use ArchLinux. If you're positive of that, what should I do?
I've verified I've copy pasted the squid lines just fine.
If you want ssh access to my box to have a look, no problem. I've seen a few others have this problem but no solutions :)
It's my test box anyway.
Biatche,
Then I would request you try starting/restarting squid and then have a look at store.log and cache.log for any errors or tracebacks. That would really help in debugging.
Thank You!
I've removed the adzapper line and now squid starts. However, problem now is I can't load any page at all.
In firefox, this is what I get
Proxy Server Refused Connection
Firefox is configured to use a proxy server that is refusing connections.
The browser is configured to use a proxy server, but the proxy refused a connection.
* Is the browser's proxy configuration correct? Check the settings and try again.
* Does the proxy service allow connections from this network?
* Still having trouble? Consult your network administrator or Internet provider for assistance.
Any ideas?
[root@mach2 squid]# cat cache.log
2009/06/29 16:42:51| Starting Squid Cache version 2.7.STABLE6 for i686-pc-linux-gnu...
2009/06/29 16:42:51| Process ID 2140
2009/06/29 16:42:51| With 65535 file descriptors available
2009/06/29 16:42:51| Using poll for the IO loop
2009/06/29 16:42:51| DNS Socket created at 0.0.0.0, port 6835, FD 5
2009/06/29 16:42:51| Adding nameserver 192.168.0.1 from /etc/resolv.conf
2009/06/29 16:42:51| helperOpenServers: Starting 7 'python' processes
2009/06/29 16:42:51| User-Agent logging is disabled.
2009/06/29 16:42:51| Referer logging is disabled.
2009/06/29 16:42:51| logfileOpen: opening log /var/log/squid/access.log
2009/06/29 16:42:51| Unlinkd pipe opened on FD 17
2009/06/29 16:42:51| Swap maxSize 8388608 + 65536 KB, estimated 0 objects
2009/06/29 16:42:51| Target number of buckets: 32515
2009/06/29 16:42:51| Using 32768 Store buckets
2009/06/29 16:42:51| Max Mem size: 65536 KB
2009/06/29 16:42:51| Max Swap size: 8388608 KB
2009/06/29 16:42:51| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2009/06/29 16:42:51| logfileOpen: opening log /var/log/squid/store.log
2009/06/29 16:42:51| Rebuilding storage in /squid/cache (DIRTY)
2009/06/29 16:42:51| Using Least Load store dir selection
2009/06/29 16:42:51| Set Current Directory to /var/cache/squid
2009/06/29 16:42:51| Loaded Icons.
2009/06/29 16:42:51| Accepting proxy HTTP connections at 0.0.0.0, port 3128, FD 21.
2009/06/29 16:42:51| Accepting ICP messages at 0.0.0.0, port 3130, FD 22.
2009/06/29 16:42:51| Accepting HTCP messages on port 4827, FD 23.
2009/06/29 16:42:51| WCCP Disabled.
2009/06/29 16:42:51| Ready to serve requests.
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
2009/06/29 16:42:52| WARNING: url_rewriter #4 (FD 9) exited
2009/06/29 16:42:52| WARNING: url_rewriter #2 (FD 7) exited
2009/06/29 16:42:52| WARNING: url_rewriter #1 (FD 6) exited
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
2009/06/29 16:42:52| Store rebuilding is 4.6% complete
2009/06/29 16:42:52| WARNING: url_rewriter #7 (FD 12) exited
2009/06/29 16:42:52| Too few url_rewriter processes are running
FATAL: The url_rewriter helpers are crashing too rapidly, need help!
Squid Cache (Version 2.7.STABLE6): Terminated abnormally.
CPU Usage: 0.067 seconds = 0.023 user + 0.043 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
total space in arena: 2524 KB
Ordinary blocks: 2492 KB 7 blks
Small blocks: 0 KB 0 blks
Holding blocks: 19228 KB 6 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 31 KB
Total in use: 21720 KB 100%
Total free: 31 KB 0%
2009/06/29 16:42:55| Starting Squid Cache version 2.7.STABLE6 for i686-pc-linux-gnu...
2009/06/29 16:42:55| Process ID 2168
2009/06/29 16:42:55| With 65535 file descriptors available
2009/06/29 16:42:55| Using poll for the IO loop
2009/06/29 16:42:55| DNS Socket created at 0.0.0.0, port 57999, FD 5
2009/06/29 16:42:55| Adding nameserver 192.168.0.1 from /etc/resolv.conf
2009/06/29 16:42:55| helperOpenServers: Starting 7 'python' processes
2009/06/29 16:42:55| User-Agent logging is disabled.
2009/06/29 16:42:55| Referer logging is disabled.
2009/06/29 16:42:55| logfileOpen: opening log /var/log/squid/access.log
2009/06/29 16:42:55| Unlinkd pipe opened on FD 17
2009/06/29 16:42:55| Swap maxSize 8388608 + 65536 KB, estimated 0 objects
2009/06/29 16:42:55| Target number of buckets: 32515
2009/06/29 16:42:55| Using 32768 Store buckets
2009/06/29 16:42:55| Max Mem size: 65536 KB
2009/06/29 16:42:55| Max Swap size: 8388608 KB
2009/06/29 16:42:55| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2009/06/29 16:42:55| logfileOpen: opening log /var/log/squid/store.log
2009/06/29 16:42:55| Rebuilding storage in /squid/cache (DIRTY)
2009/06/29 16:42:55| Using Least Load store dir selection
2009/06/29 16:42:55| Set Current Directory to /var/cache/squid
2009/06/29 16:42:55| Loaded Icons.
2009/06/29 16:42:55| Accepting proxy HTTP connections at 0.0.0.0, port 3128, FD 21.
2009/06/29 16:42:55| Accepting ICP messages at 0.0.0.0, port 3130, FD 22.
2009/06/29 16:42:55| Accepting HTCP messages on port 4827, FD 23.
2009/06/29 16:42:55| WCCP Disabled.
2009/06/29 16:42:55| Ready to serve requests.
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
2009/06/29 16:42:55| WARNING: url_rewriter #1 (FD 6) exited
2009/06/29 16:42:55| WARNING: url_rewriter #7 (FD 12) exited
2009/06/29 16:42:55| WARNING: url_rewriter #3 (FD 8) exited
2009/06/29 16:42:55| WARNING: url_rewriter #2 (FD 7) exited
2009/06/29 16:42:55| Too few url_rewriter processes are running
FATAL: The url_rewriter helpers are crashing too rapidly, need help!
Squid Cache (Version 2.7.STABLE6): Terminated abnormally.
CPU Usage: 0.043 seconds = 0.013 user + 0.030 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
total space in arena: 2524 KB
Ordinary blocks: 2444 KB 7 blks
Small blocks: 0 KB 0 blks
Holding blocks: 19228 KB 6 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 79 KB
Total in use: 21672 KB 100%
Total free: 79 KB 0%
2009/06/29 16:42:58| Starting Squid Cache version 2.7.STABLE6 for i686-pc-linux-gnu...
2009/06/29 16:42:58| Process ID 2194
2009/06/29 16:42:58| With 65535 file descriptors available
2009/06/29 16:42:58| Using poll for the IO loop
2009/06/29 16:42:58| DNS Socket created at 0.0.0.0, port 52973, FD 5
2009/06/29 16:42:58| Adding nameserver 192.168.0.1 from /etc/resolv.conf
2009/06/29 16:42:58| helperOpenServers: Starting 7 'python' processes
2009/06/29 16:42:58| User-Agent logging is disabled.
2009/06/29 16:42:58| Referer logging is disabled.
2009/06/29 16:42:58| logfileOpen: opening log /var/log/squid/access.log
2009/06/29 16:42:58| Unlinkd pipe opened on FD 17
2009/06/29 16:42:58| Swap maxSize 8388608 + 65536 KB, estimated 0 objects
2009/06/29 16:42:58| Target number of buckets: 32515
2009/06/29 16:42:58| Using 32768 Store buckets
2009/06/29 16:42:58| Max Mem size: 65536 KB
2009/06/29 16:42:58| Max Swap size: 8388608 KB
2009/06/29 16:42:58| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2009/06/29 16:42:58| logfileOpen: opening log /var/log/squid/store.log
2009/06/29 16:42:58| Rebuilding storage in /squid/cache (DIRTY)
2009/06/29 16:42:58| Using Least Load store dir selection
2009/06/29 16:42:58| Set Current Directory to /var/cache/squid
2009/06/29 16:42:58| Loaded Icons.
2009/06/29 16:42:59| Accepting proxy HTTP connections at 0.0.0.0, port 3128, FD 21.
2009/06/29 16:42:59| Accepting ICP messages at 0.0.0.0, port 3130, FD 22.
2009/06/29 16:42:59| Accepting HTCP messages on port 4827, FD 23.
2009/06/29 16:42:59| WCCP Disabled.
2009/06/29 16:42:59| Ready to serve requests.
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
2009/06/29 16:42:59| WARNING: url_rewriter #1 (FD 6) exited
2009/06/29 16:42:59| WARNING: url_rewriter #3 (FD 8) exited
2009/06/29 16:42:59| WARNING: url_rewriter #2 (FD 7) exited
2009/06/29 16:42:59| Store rebuilding is 4.6% complete
2009/06/29 16:42:59| WARNING: url_rewriter #7 (FD 12) exited
2009/06/29 16:42:59| Too few url_rewriter processes are running
FATAL: The url_rewriter helpers are crashing too rapidly, need help!
Squid Cache (Version 2.7.STABLE6): Terminated abnormally.
CPU Usage: 0.057 seconds = 0.020 user + 0.037 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
total space in arena: 2524 KB
Ordinary blocks: 2492 KB 5 blks
Small blocks: 0 KB 0 blks
Holding blocks: 19228 KB 6 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 31 KB
Total in use: 21720 KB 100%
Total free: 31 KB 0%
2009/06/29 16:43:02| Starting Squid Cache version 2.7.STABLE6 for i686-pc-linux-gnu...
2009/06/29 16:43:02| Process ID 2220
2009/06/29 16:43:02| With 65535 file descriptors available
2009/06/29 16:43:02| Using poll for the IO loop
2009/06/29 16:43:02| DNS Socket created at 0.0.0.0, port 50133, FD 5
2009/06/29 16:43:02| Adding nameserver 192.168.0.1 from /etc/resolv.conf
2009/06/29 16:43:02| helperOpenServers: Starting 7 'python' processes
2009/06/29 16:43:02| User-Agent logging is disabled.
2009/06/29 16:43:02| Referer logging is disabled.
2009/06/29 16:43:02| logfileOpen: opening log /var/log/squid/access.log
2009/06/29 16:43:02| Unlinkd pipe opened on FD 17
2009/06/29 16:43:02| Swap maxSize 8388608 + 65536 KB, estimated 0 objects
2009/06/29 16:43:02| Target number of buckets: 32515
2009/06/29 16:43:02| Using 32768 Store buckets
2009/06/29 16:43:02| Max Mem size: 65536 KB
2009/06/29 16:43:02| Max Swap size: 8388608 KB
2009/06/29 16:43:02| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2009/06/29 16:43:02| logfileOpen: opening log /var/log/squid/store.log
2009/06/29 16:43:02| Rebuilding storage in /squid/cache (DIRTY)
2009/06/29 16:43:02| Using Least Load store dir selection
2009/06/29 16:43:02| Set Current Directory to /var/cache/squid
2009/06/29 16:43:02| Loaded Icons.
2009/06/29 16:43:03| Accepting proxy HTTP connections at 0.0.0.0, port 3128, FD 21.
2009/06/29 16:43:03| Accepting ICP messages at 0.0.0.0, port 3130, FD 22.
2009/06/29 16:43:03| Accepting HTCP messages on port 4827, FD 23.
2009/06/29 16:43:03| WCCP Disabled.
2009/06/29 16:43:03| Ready to serve requests.
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
2009/06/29 16:43:03| WARNING: url_rewriter #1 (FD 6) exited
2009/06/29 16:43:03| WARNING: url_rewriter #7 (FD 12) exited
2009/06/29 16:43:03| WARNING: url_rewriter #4 (FD 9) exited
2009/06/29 16:43:03| WARNING: url_rewriter #3 (FD 8) exited
2009/06/29 16:43:03| Too few url_rewriter processes are running
FATAL: The url_rewriter helpers are crashing too rapidly, need help!
Squid Cache (Version 2.7.STABLE6): Terminated abnormally.
CPU Usage: 0.053 seconds = 0.037 user + 0.017 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
total space in arena: 2524 KB
Ordinary blocks: 2472 KB 7 blks
Small blocks: 0 KB 0 blks
Holding blocks: 19228 KB 6 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 51 KB
Total in use: 21700 KB 100%
Total free: 51 KB 0%
2009/06/29 16:43:06| Starting Squid Cache version 2.7.STABLE6 for i686-pc-linux-gnu...
2009/06/29 16:43:06| Process ID 2246
2009/06/29 16:43:06| With 65535 file descriptors available
2009/06/29 16:43:06| Using poll for the IO loop
2009/06/29 16:43:06| DNS Socket created at 0.0.0.0, port 63055, FD 5
2009/06/29 16:43:06| Adding nameserver 192.168.0.1 from /etc/resolv.conf
2009/06/29 16:43:06| helperOpenServers: Starting 7 'python' processes
2009/06/29 16:43:06| User-Agent logging is disabled.
2009/06/29 16:43:06| Referer logging is disabled.
2009/06/29 16:43:06| logfileOpen: opening log /var/log/squid/access.log
2009/06/29 16:43:06| Unlinkd pipe opened on FD 17
2009/06/29 16:43:06| Swap maxSize 8388608 + 65536 KB, estimated 0 objects
2009/06/29 16:43:06| Target number of buckets: 32515
2009/06/29 16:43:06| Using 32768 Store buckets
2009/06/29 16:43:06| Max Mem size: 65536 KB
2009/06/29 16:43:06| Max Swap size: 8388608 KB
2009/06/29 16:43:06| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2009/06/29 16:43:06| logfileOpen: opening log /var/log/squid/store.log
2009/06/29 16:43:06| Rebuilding storage in /squid/cache (DIRTY)
2009/06/29 16:43:06| Using Least Load store dir selection
2009/06/29 16:43:06| Set Current Directory to /var/cache/squid
2009/06/29 16:43:06| Loaded Icons.
2009/06/29 16:43:06| Accepting proxy HTTP connections at 0.0.0.0, port 3128, FD 21.
2009/06/29 16:43:06| Accepting ICP messages at 0.0.0.0, port 3130, FD 22.
2009/06/29 16:43:06| Accepting HTCP messages on port 4827, FD 23.
2009/06/29 16:43:06| WCCP Disabled.
2009/06/29 16:43:06| Ready to serve requests.
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
2009/06/29 16:43:06| WARNING: url_rewriter #1 (FD 6) exited
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 25, in <module>
from config import readMainConfig, readStartupConfig
File "/usr/share/videocache/config.py", line 30, in <module>
from iniparse.compat import NoSectionError, NoOptionError, ConfigParser
ImportError: No module named iniparse.compat
2009/06/29 16:43:07| WARNING: url_rewriter #3 (FD 8) exited
2009/06/29 16:43:07| WARNING: url_rewriter #2 (FD 7) exited
2009/06/29 16:43:07| Store rebuilding is 4.6% complete
2009/06/29 16:43:07| WARNING: url_rewriter #4 (FD 9) exited
2009/06/29 16:43:07| Too few url_rewriter processes are running
FATAL: The url_rewriter helpers are crashing too rapidly, need help!
Squid Cache (Version 2.7.STABLE6): Terminated abnormally.
CPU Usage: 0.057 seconds = 0.017 user + 0.040 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
total space in arena: 2524 KB
Ordinary blocks: 2487 KB 9 blks
Small blocks: 0 KB 0 blks
Holding blocks: 19228 KB 6 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 36 KB
Total in use: 21715 KB 100%
Total free: 36 KB 0%
[root@mach2 squid]# pacman -Qs iniparse
local/iniparser 3.0b-2
A free stand-alone ini file parsing library written in portable ANSI C
I'm not sure how iniparse works. I see stuff written about iniparse, how can I check if iniparse is working properly?
Biatche,
Can you please update to the latest iniparse version its 0.3.1 and then try videocache? Check iniparse project page. Project page says that they introduced some bug in version 0.3 .
Thank you!