VideoCache

Squid dead after configuring it with videocache

by Anonymous on 26 Mar 2009

This is the last part of my cache.log file

2009/03/26 16:05:24| WARNING: url_rewriter #5 (FD 11) exited
2009/03/26 16:05:24| Too few url_rewriter processes are running
2009/03/26 16:05:24| storeDirWriteCleanLogs: Starting...
2009/03/26 16:05:24|   Finished.  Wrote 0 entries.
2009/03/26 16:05:24|   Took 0.0 seconds (   0.0 entries/sec).
FATAL: The url_rewriter helpers are crashing too rapidly, need help!

Squid Cache (Version 2.7.STABLE5): Terminated abnormally.
(squid)[0xb7fe92c5]
(squid)(fatal+0x30)[0xb7fe9820]
(squid)(fatalf+0x53)[0xb7fe9913]
(squid)[0xb7f965d5]
(squid)(commCallCloseHandlers+0xde)[0xb7f742ee]
(squid)(comm_close+0xc8)[0xb7f76408]
(squid)[0xb7f960b3]
(squid)(comm_select+0x827)[0xb7f78537]
(squid)(main+0x8b9)[0xb7fb16e9]
/lib/libc.so.6("libc_start_main+0xe5)[0xb7b6b705]
(squid)[0xb7f43641]
CPU Usage: 0.040 seconds = 0.020 user + 0.020 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
        total space in arena:    2492 KB
        Ordinary blocks:         2361 KB      8 blks
        Small blocks:               0 KB      0 blks
        Holding blocks:          1108 KB      1 blks
        Free Small blocks:          0 KB
        Free Ordinary blocks:     130 KB
        Total in use:            3469 KB 96%
        Total free:               130 KB 4%
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):
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
  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

Thank You
If anyone have idea whats wrong please tell me..

2 Answers

by invisible on 26 Mar 2009

If we can say that the python-iniparse is not installed !!!

linux-6hwr:/tmp/temp # rpm -ivh python-iniparse-0.2.4-3.1.i586.rpm
warning: python-iniparse-0.2.4-3.1.i586.rpm: Header V3 DSA signature: NOKEY, key ID 4a50f8f6
Preparing...                ########################################### [100%]
package python-iniparse-0.2.4-3.1.i586 is already installed
by Kulbir Saini on 26 Mar 2009

Anon,

It may still be a problem with iniparse installation via rpm or a problem with that version of iniparse. Please install the latest version from source from here.

Thank You!

You need to sign in. Please sign in to add answer to this question.