LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Closed Thread
  Search this Thread
Old 11-14-2008, 11:51 PM   #1
navneetverma_cs
LQ Newbie
 
Registered: Feb 2006
Location: Jaipur, India
Distribution: RHEL4.0 ES
Posts: 7

Rep: Reputation: 0
URGENT! Help Required


Dear friends,

I have configured Squid2.5 Stable 11.0 on RHEL4 ES, it was working fine, the configuration file is given below:

http_port 8080
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 4000 MB
cache_replacement_policy heap LFUDA
memory_replacement_policy heap LFUDA
cache_dir diskd /cache 8192 16 256 Q1=64 Q2=72
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
pid_filename /var/run/squid.pid
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl Seedling src 192.168.0.0/22
acl spam src 207.210.0.0/255.255.255.0
acl block_url url_regex "/etc/squid/block.list"
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
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 25 110
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
http_access deny block_url
http_access deny spam
http_access allow Seedling
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access deny all
http_reply_access allow all
icp_access allow all
cache_mgr navneetverma_cs@sify.com
cache_effective_user squid
cache_effective_group squid
visible_hostname internetserver
coredump_dir /var/spool/squid

I switched to squid2.6.STABLE20 wiht same configuration, but on starting squid system is issuing following error:
2008/11/15 11:27:14| Creating Swap Directories
FATAL: Failed to make swap directory /Cache: (17) File exists
Squid Cache (Version 2.6.STABLE20): Terminated abnormally.
CPU Usage: 0.001 seconds = 0.001 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
FATAL: cache_dir /Cache: (13) Permission denied
Squid Cache (Version 2.6.STABLE20): Terminated abnormally.
CPU Usage: 0.007 seconds = 0.006 user + 0.001 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0

Drive /Cache has squid:squid owner and 755 permission,
kindly reply me as soon as possible

Regards
Navneet Verma
+91 98290 30324
 
Old 11-14-2008, 11:53 PM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
And don't double post.
 
Old 11-15-2008, 12:40 AM   #3
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Continue this thread here.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Urgent Help Required anurag_bagaria Fedora 2 02-27-2007 02:11 AM
Urgent help is required mian asbat Fedora 1 06-12-2006 07:36 AM
please urgent help required!!!!!!!!!! rajesh_it_04 Linux - Networking 1 03-18-2005 10:18 AM
Urgent help required parvezahmed Linux - Newbie 4 10-12-2003 05:25 AM
Urgent Help Required stevep119 Linux - Newbie 1 01-28-2002 03:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration