LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-16-2005, 02:24 AM   #1
nbaloch
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Rep: Reputation: 0
Question 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] }
 
Old 02-16-2005, 04:19 AM   #2
bbk
Member
 
Registered: Jan 2005
Location: Budapest/Hungary
Distribution: knoppix-hdd/debian
Posts: 56

Rep: Reputation: 15
Do you have enough space for the configured size for the configured cache dir?
 
Old 02-16-2005, 08:34 AM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
Moved: This thread is more suitable in Linux-Networking and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 03-17-2005, 05:18 AM   #4
fdawy
LQ Newbie
 
Registered: Mar 2005
Posts: 17

Rep: Reputation: 0
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?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
Old 03-13-2006, 01:55 AM   #5
phani1312
LQ Newbie
 
Registered: Mar 2006
Posts: 3

Rep: Reputation: 0
Question 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]
 
Old 03-13-2006, 12:23 PM   #6
prasanta
Member
 
Registered: Mar 2005
Location: India
Distribution: Debian
Posts: 368

Rep: Reputation: 37
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.
 
Old 03-14-2006, 06:17 AM   #7
phani1312
LQ Newbie
 
Registered: Mar 2006
Posts: 3

Rep: Reputation: 0
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
 
Old 03-16-2006, 02:14 AM   #8
phani1312
LQ Newbie
 
Registered: Mar 2006
Posts: 3

Rep: Reputation: 0
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
 
Old 03-18-2006, 01:22 PM   #9
prasanta
Member
 
Registered: Mar 2005
Location: India
Distribution: Debian
Posts: 368

Rep: Reputation: 37
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>
 
Old 02-22-2007, 10:56 PM   #10
nbaloch
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Original Poster
Rep: Reputation: 0
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}.
 
  


Reply


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
squid proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 11:25 AM
configure squid proxy with microsoft proxy as a parent proxy nintykola Linux - Software 1 08-28-2007 01:38 AM
Need help to connect a squid proxy to connect to another squid proxy server bellerophon Linux - Newbie 1 02-07-2006 06:52 AM
Redhat 9.0 Proxy [squid] nbaloch LinuxQuestions.org Member Intro 1 02-18-2005 07:59 AM
RedHat 9 squid proxy mosdgte Linux - Software 6 11-05-2003 02:43 PM


All times are GMT -5. The time now is 02:10 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration