You are hereForums / Support / Can't start squid

Version 1.9.9 is out. We have added support for Youtube mobile videos, Facebook, AOL and MySpace videos as well. Fixed caching issues for some already supported websites. Options to control cache directory selection algorithm, bandwidth usage by videocache, etc. More robust videocache scheduler with a lot more options and features. Have a look at changelog for more details. If you have purchased Videocache in last one year, Contact Us to claim your free upgrade. Please mention the email address using which you purchased Videocache. New users proceed to Pricing Page right now, secure your copy and enjoy caching :-) Also, check our new and simplified upgrade policy :-)

Can't start squid


No replies
Anonymous
Can't start squid
Printer-friendly versionSend to friend

Dear Admin,
I had configured videocache and result at the first time like here :
Squid Cache (Version 2.7.STABLE6): Terminated abnormally.
CPU Usage: 2.405 seconds = 1.117 user + 1.288 sys
Maximum Resident Size: 21420 KB
Page faults with physical i/o: 5
2009/07/30 17:57:34| Starting Squid Cache version 2.7.STABLE6 for i386-unknown-freebsd7.0...
2009/07/30 17:57:34| Process ID 2175
2009/07/30 17:57:34| With 7207 file descriptors available
2009/07/30 17:57:34| Using kqueue for the IO loop
2009/07/30 17:57:34| DNS Socket created at 0.0.0.0, port 63240, FD 6
2009/07/30 17:57:34| Adding domain cache2.tnc.local from /etc/resolv.conf
2009/07/30 17:57:34| Adding nameserver 58.65.243.53 from /etc/resolv.conf
2009/07/30 17:57:34| Adding nameserver 202.152.0.2 from /etc/resolv.conf
2009/07/30 17:57:34| helperOpenServers: Starting 10 'python2.6' processes
2009/07/30 17:57:34| User-Agent logging is disabled.
2009/07/30 17:57:34| logfileOpen: opening log /var/log/squid/access.log
2009/07/30 17:57:34| Unlinkd pipe opened on FD 21
2009/07/30 17:57:34| Swap maxSize 49152000 + 174080 KB, estimated 0 objects
2009/07/30 17:57:34| Target number of buckets: 189715
2009/07/30 17:57:34| Using 262144 Store buckets
2009/07/30 17:57:34| Max Mem size: 174080 KB
2009/07/30 17:57:34| Max Swap size: 49152000 KB
2009/07/30 17:57:34| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2009/07/30 17:57:34| Store logging disabled
2009/07/30 17:57:34| Rebuilding storage in /cache1 (DIRTY)
2009/07/30 17:57:34| Rebuilding storage in /cache2 (DIRTY)
2009/07/30 17:57:34| Rebuilding storage in /cache3 (DIRTY)
2009/07/30 17:57:34| Rebuilding storage in /cache4 (DIRTY)
2009/07/30 17:57:34| Using Least Load store dir selection
2009/07/30 17:57:34| Current Directory is /root
2009/07/30 17:57:34| Loaded Icons.
2009/07/30 17:57:35| Accepting transparently proxied HTTP connections at 0.0.0.0, port 3128, FD 32.
2009/07/30 17:57:35| Accepting ICP messages at 0.0.0.0, port 3130, FD 33.
2009/07/30 17:57:35| Accepting HTCP messages on port 4827, FD 34.
2009/07/30 17:57:35| Accepting SNMP messages on port 3401, FD 35.
2009/07/30 17:57:35| WCCP Disabled.
2009/07/30 17:57:35| Ready to serve requests.
2009/07/30 17:57:35| Store rebuilding is 2.1% complete
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 41, in
mainconf = readMainConfig(readStartupConfig('/etc/videocache.conf', '/'))
File "/usr/share/videocache/config.py", line 681, in readStartupConfig
raise Errors.ConfigError("Parsing file failed: %s" % e)
ErrorsTraceback (most recent call last):
. File "/usr/share/videocache/videocache.py", line 41, in
ConfigError : mainconf = readMainConfig(readStartupConfig('/etc/videocache.conf', '/'))
Parsing file failed: File contains no section headers.
file: file:///etc/videocache.conf, line: 2
'enable_video_cache = 1\n' File "/usr/share/videocache/config.py", line 681, in readStartupConfig

Traceback (most recent call last):
raise Errors.ConfigError("Parsing file failed: %s" % e)
File "/usr/share/videocache/videocache.py", line 41, in
Errors .mainconf = readMainConfig(readStartupConfig('/etc/videocache.conf', '/'))
ConfigError File "/usr/share/videocache/config.py", line 681, in readStartupConfig
: Parsing file failed: File contains no section headers.
file: file:///etc/videocache.conf, line: 2
'enable_video_cache = 1\n'raise Errors.ConfigError("Parsing file failed: %s" % e)

Errors.ConfigErrorTraceback (most recent call last):
: Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 41, in
Parsing file failed: File contains no section headers.
file: file:///etc/videocache.conf, line: 2
'enable_video_cache = 1\n'Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 41, in
mainconf = readMainConfig(readStartupConfig('/etc/videocache.conf', '/'))
File "/usr/share/videocache/config.py", line 681, in readStartupConfig

File "/usr/share/videocache/videocache.py", line 41, in
raise Errors.ConfigError("Parsing file failed: %s" % e)
mainconf = readMainConfig(readStartupConfig('/etc/videocache.conf', '/'))
Errors File "/usr/share/videocache/config.py", line 681, in readStartupConfig
. mainconf = readMainConfig(readStartupConfig('/etc/videocache.conf', '/'))
ConfigErrorraise Errors.ConfigError("Parsing file failed: %s" % e)
File "/usr/share/videocache/config.py", line 681, in readStartupConfig
: Errors Parsing file failed: File contains no section headers.
file: file:///etc/videocache.conf, line: 2
'enable_video_cache = 1\n'.raise Errors.ConfigError("Parsing file failed: %s" % e)

ConfigErrorErrors: .Parsing file failed: File contains no section headers.
file: file:///etc/videocache.conf, line: 2
'enable_video_cache = 1\n'ConfigError
: Parsing file failed: File contains no section headers.
file: file:///etc/videocache.conf, line: 2
'enable_video_cache = 1\n'
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 41, in
mainconf = readMainConfig(readStartupConfig('/etc/videocache.conf', '/'))
File "/usr/share/videocache/config.py", line 681, in readStartupConfig
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 41, in
mainconf = readMainConfig(readStartupConfig('/etc/videocache.conf', '/'))
raise Errors.ConfigError("Parsing file failed: %s" % e)
File "/usr/share/videocache/config.py", line 681, in readStartupConfig
Errors.ConfigError: Parsing file failed: File contains no section headers.
file: file:///etc/videocache.conf, line: 2
'enable_video_cache = 1\n'raise Errors.ConfigError("Parsing file failed: %s" % e)

Errors.ConfigError: Parsing file failed: File contains no section headers.
file: file:///etc/videocache.conf, line: 2
'enable_video_cache = 1\n'
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 41, in
mainconf = readMainConfig(readStartupConfig('/etc/videocache.conf', '/'))
File "/usr/share/videocache/config.py", line 681, in readStartupConfig
raise Errors.ConfigError("Parsing file failed: %s" % e)
Errors.ConfigError: Parsing file failed: File contains no section headers.
file: file:///etc/videocache.conf, line: 2
'enable_video_cache = 1\n'
Traceback (most recent call last):
File "/usr/share/videocache/videocache.py", line 41, in
mainconf = readMainConfig(readStartupConfig('/etc/videocache.conf', '/'))
File "/usr/share/videocache/config.py", line 681, in readStartupConfig
raise Errors.ConfigError("Parsing file failed: %s" % e)
Errors.ConfigError: Parsing file failed: File contains no section headers.
file: file:///etc/videocache.conf, line: 2
'enable_video_cache = 1\n'
2009/07/30 17:57:35| Done reading /cache1 swaplog (191610 entries)
2009/07/30 17:57:37| WARNING: url_rewriter #8 (FD 14) exited
2009/07/30 17:57:37| WARNING: url_rewriter #1 (FD 7) exited
2009/07/30 17:57:37| WARNING: url_rewriter #10 (FD 16) exited
2009/07/30 17:57:37| WARNING: url_rewriter #5 (FD 11) exited
2009/07/30 17:57:37| WARNING: url_rewriter #4 (FD 10) exited
2009/07/30 17:57:37| Too few url_rewriter processes are running
FATAL: The url_rewriter helpers are crashing too rapidly, need help!

What's the wrong with my configuration ?
The permit owner each file or directory had been squid user.
I used freebsd 7.0

Thanks,

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <code>
  • Lines and paragraphs break automatically.
  • HTML tags will be transformed to conform to HTML standards.

More information about formatting options

CAPTCHA
Are you a human visitor ?
Image CAPTCHA
Enter the characters (without spaces) shown in the image.

My Book on Squid

Purchase/Renew

One License - USD $399
One License - USD $349*
Validity - One Year
Need more? Contact Us
*Includes free upgrades and support for one year.



For details, check pricing.

Recent comments

Who's online

There are currently 1 user and 113 guests online.