LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Redhat 9.0 Proxy [squid] (https://www.linuxquestions.org/questions/linux-networking-3/redhat-9-0-proxy-%5Bsquid%5D-290829/)

nbaloch 02-16-2005 02:24 AM

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] }

bbk 02-16-2005 04:19 AM

Do you have enough space for the configured size for the configured cache dir?

XavierP 02-16-2005 08:34 AM

Moved: This thread is more suitable in Linux-Networking and has been moved accordingly to help your thread/question get the exposure it deserves.

fdawy 03-17-2005 05:18 AM

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?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

phani1312 03-13-2006 01:55 AM

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]

prasanta 03-13-2006 12:23 PM

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.

phani1312 03-14-2006 06:17 AM

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

phani1312 03-16-2006 02:14 AM

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

prasanta 03-18-2006 01:22 PM

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>

nbaloch 02-22-2007 10:56 PM

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}.


All times are GMT -5. The time now is 08:53 AM.