Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-16-2005, 02:24 AM
|
#1
|
|
LQ Newbie
Registered: Feb 2005
Posts: 5
Rep:
|
Redhat 9.0 Proxy [squid]
i have a problem in Redhat 9.0
for configuration of a Proxy [squid]
when i do
"service squid start.....'
then i received a messege
that is
{init_cache_dir /cache..................................starting squid....[FAILED] }
|
|
|
|
02-16-2005, 04:19 AM
|
#2
|
|
Member
Registered: Jan 2005
Location: Budapest/Hungary
Distribution: knoppix-hdd/debian
Posts: 56
Rep:
|
Do you have enough space for the configured size for the configured cache dir?
|
|
|
|
02-16-2005, 08:34 AM
|
#3
|
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,088
|
Moved: This thread is more suitable in Linux-Networking and has been moved accordingly to help your thread/question get the exposure it deserves.
|
|
|
|
03-17-2005, 05:18 AM
|
#4
|
|
LQ Newbie
Registered: Mar 2005
Posts: 17
Rep:
|
squid failed
squid failed. The error was: init_cache_dir /var/spool/squid... /etc/init.d/squid: line 162: 4597 Aborted $SQUID -z -F -D 2>/dev/null
Starting squid: /etc/init.d/squid: line 162: 4598 Aborted $SQUID $SQUID_OPTS 2>/dev/null
[FAILED]
squid is stopped
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.5.STABLE1): Terminated abnormally.
CPU Usage: 0.010 seconds = 0.010 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 406
/etc/init.d/squid: line 162: 4613 Aborted $SQUID -k check
:scratch: :scratch:
what is the soluion?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
|
|
03-13-2006, 01:55 AM
|
#5
|
|
LQ Newbie
Registered: Mar 2006
Posts: 3
Rep:
|
squid failed
Hi All,
I am also getting simlar error
I have installed REDHAT ENTERPRISE Linux on DL360 server
I am getting following error
init_cache_dir /var/spool/squid... /etc/init.d/squid: line 162: 16558 Aborted $SQUID -z -F -D 2>/dev/null
Starting squid: /etc/init.d/squid: line 162: 16559 Aborted $SQUID $SQUID_OPTS 2>/dev/null
[FAILED]
|
|
|
|
03-13-2006, 12:23 PM
|
#6
|
|
Member
Registered: Mar 2005
Location: India
Distribution: Debian
Posts: 368
Rep:
|
Check for the visible_hostname in squid.conf. I think that you have not set it. By default it will be commented.
nbaloch , check if you have enough space for the cache and permission of swap.state in /var/spool/squid. It's owner should be proxy.
|
|
|
|
03-14-2006, 06:17 AM
|
#7
|
|
LQ Newbie
Registered: Mar 2006
Posts: 3
Rep:
|
please check the owner and group of /var/log/squid
change them to squid
also give "visible_hostname" as your squid server host name.
give correct path for cache,access and store log
Execute /usr/sbin/squid -z
and start squid manually by giving following command
/usr/sbin/squid -D
|
|
|
|
03-16-2006, 02:14 AM
|
#8
|
|
LQ Newbie
Registered: Mar 2006
Posts: 3
Rep:
|
HI prasanta,
I have managed to start the squid.
But when I tried to access any site i am getting following error
While trying to retrieve yahoo site
The following error was encountered:
Access Denied.
Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.
Kinldy Help
|
|
|
|
03-18-2006, 01:22 PM
|
#9
|
|
Member
Registered: Mar 2005
Location: India
Distribution: Debian
Posts: 368
Rep:
|
I think that you have defined some acl's that prevents you from accessing the sites. Have you created a acl specifying that this are the comps that will be using the squid for internet access ? And if you have then define,
http_access allow <defined acl>
|
|
|
|
02-22-2007, 10:56 PM
|
#10
|
|
LQ Newbie
Registered: Feb 2005
Posts: 5
Original Poster
Rep:
|
SquidGuard running on Redhat9.0
i have squidguard-1.2.0-2.rh90.dag.i386.rpm
i want to know that how can i install and configure it.
and who is its configuration file also tell me its necessary configuration.
tell me how can it manupelate with squid.conf {squid}.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:34 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|