Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Dec 2003 16:48:25 +0200
From:      "Roland Giesler" <roland@thegreentree.org>
To:        <freebsd-questions@freebsd.org>
Subject:   RE: Squid not accessible
Message-ID:  <NFEBLNMJLPMABJMOEINDGEIGCJAA.roland@thegreentree.org>
In-Reply-To: <NFEBLNMJLPMABJMOEINDKEIECJAA.roland@giesler.za.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is strange! I had to restart my server to install a UPS and after
restarting Squid is behaving itself again and works fine.  I stopped and
restarted squid numerous times, but it had no positive effect.  Can someone
explain what's happening here?  Are there dependencies in FreeBSD that squid
needs?  I've read the manual in all sorts of places, but can't find anything
that pertains to the situation.

Thanks

Roland

> -----Original Message-----
> From: owner-freebsd-questions@freebsd.org
> [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Roland Giesler
> Sent: 19 December 2003 14:29
> To: freebsd-questions@freebsd.org
> Subject: Squid not accessible
>
>
> I had squid running on my FBSD box, but after restarting after a
> power-failure, squid doesn't allow clients to connect any more.
> Here's the
> cache.log after starting squid:
>
> 2003/12/18 13:51:50| Starting Squid Cache version 2.4.STABLE7 for
> i386-portbld-freebsd4.7...
> 2003/12/18 13:51:50| Process ID 16350
> 2003/12/18 13:51:50| With 4528 file descriptors available
> 2003/12/18 13:51:50| Performing DNS Tests...
> 2003/12/18 13:51:50| Successful DNS name lookup tests...
> 2003/12/18 13:51:50| DNS Socket created on FD 4
> 2003/12/18 13:51:50| Adding nameserver 196.38.110.1 from /etc/resolv.conf
> 2003/12/18 13:51:50| Adding nameserver 196.38.110.2 from /etc/resolv.conf
>
> My squid.conf file is:
>
> http_port 192.168.99.2:3132
> https_port 192.168.99.2:3132
>
> hierarchy_stoplist cgi-bin ?
>
> acl QUERY urlpath_regex cgi-bin \?
> no_cache deny QUERY
>
> cache_mem 16 MB
> cache_dir ufs /usr/local/squid/cache 200 16 256
>
> maximum_object_size 10240 KB
>
> cache_replacement_policy GDSF
>
> cache_access_log /usr/local/squid/logs/access.log
> cache_log /usr/local/squid/logs/cache.log
> cache_store_log /usr/local/squid/logs/store.log
> emulate_httpd_log on
>
> # mime_table /usr/local/etc/squid/mime.conf
> # log_mime_hdrs off
> # ftp_passive on
>
> acl localhost src 127.0.0.1/255.255.255.255
> acl localclient src 192.168.99.0/255.255.255.0
> acl manager proto cache_object
> 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 591		# filemaker
> acl Safe_ports port 777		# multiling http
> acl CONNECT method CONNECT
> acl all src 0.0.0.0/0.0.0.0
>
> http_access allow manager localhost
> http_access allow localhost localclient
>
> http_access deny !Safe_ports
> http_access deny CONNECT !SSL_ports
> #http_access deny all
>
> visible_hostname mail.theempire.co.za
> unique_hostname mail.theempire.co.za
>
> buffered_logs on
>
> never_direct deny localclient
> never_direct allow all
>
> cache_effective_user nobody
> cache_effective_group nogroup
>
> --end of squid.conf-
>
> I don't get any error when squid starts, it just doesn't work.  Any help
> anybody can offer?
>
> Thanks
>
> Roland
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NFEBLNMJLPMABJMOEINDGEIGCJAA.roland>