Re: [SQU] connection refused with squid...

From: Mihai Bobos <mike@dont-contact.us>
Date: Mon, 11 Dec 2000 09:56:11 +0200

I think I have nothing else running on port 3128 (anyway, can you tell
me a way to check that? I have Redhat 6.2 on my system...)
I uninstalled squid (rpm), deleted config and log files, reinstalled and
reconfigured again manually from the installed squid.conf, but the same
result...the squid starts properly, no errors, /etc/rc.d/init/squid
status reports that squid is running, but when i try to use it with the
netscape/ie client or the linux client (client http://www.compaq.com) I
get no output (in verbose mode I get the next output:
[root@ns /root]# client -h 192.168.100.1 -v http://www.dnttm.ro
headers: 'GET http://www.dnttm.ro HTTP/1.0
Accept: */*

'
and no more response (it just ends up here...)

can you please tell me how can I trace squid so I can find out what is
going wrong?
this is what I get in /var/log/messages when I start squid:
Dec 11 09:48:20 ns squid[23987]: Starting Squid Cache version
2.3.STABLE4 for i686-pc-linux-gnu...
Dec 11 09:48:20 ns squid[23987]: Process ID 23987
Dec 11 09:48:20 ns squid[23987]: With 1024 file descriptors available
Dec 11 09:48:20 ns squid[23987]: DNS Socket created on FD 5
Dec 11 09:48:20 ns squid[23987]: Adding nameserver 194.102.146.253 from
/etc/resolv.conf
Dec 11 09:48:20 ns squid[23987]: Adding nameserver 193.226.99.17 from
/etc/resolv.conf
Dec 11 09:48:20 ns squid[23987]: Adding nameserver 193.226.99.18 from
/etc/resolv.conf
Dec 11 09:48:22 ns squid[23987]: Unlinkd pipe opened on FD 10
Dec 11 09:48:22 ns squid[23987]: Swap maxSize 614400 KB, estimated 47261
objects
Dec 11 09:48:22 ns squid[23987]: Target number of buckets: 945
Dec 11 09:48:22 ns squid[23987]: Using 8192 Store buckets
Dec 11 09:48:22 ns squid[23987]: Max Mem size: 16384 KB
Dec 11 09:48:22 ns squid[23987]: Max Swap size: 614400 KB
Dec 11 09:48:22 ns squid[23987]: Using LFUDA disk replacement policy
Dec 11 09:48:22 ns squid[23987]: Rebuilding storage in /var/cache
(CLEAN)
Dec 11 09:48:22 ns squid[23987]: Rebuilding storage in /cache (CLEAN)
Dec 11 09:48:22 ns squid[23987]: Set Current Directory to /var/cache
Dec 11 09:48:23 ns squid[23987]: Loaded Icons.
Dec 11 09:48:23 ns squid[23987]: Accepting HTTP connections at
192.168.100.1, port 3128, FD 12.
Dec 11 09:48:23 ns squid[23987]: Accepting ICP messages at 0.0.0.0, port
3130, FD 13.
Dec 11 09:48:23 ns squid[23987]: Accepting SNMP messages on port 3401,
FD 14.
Dec 11 09:48:23 ns squid[23987]: WCCP Disabled.
Dec 11 09:48:23 ns squid[23987]: Pinger socket opened on FD 16
Dec 11 09:48:23 ns squid[23987]: NETDB state reloaded; 0 entries, 15
msec
Dec 11 09:48:23 ns squid[23987]: Ready to serve requests.

Thank you very much and hope to find something out...

Nathan Lewis wrote:
>
> Perhaps you have something else running on 3128? Reminants of the old
> squid? Or perhaps your config file got messed up when your HD got messed
> up, screwing up your access lists. Go over your config file line by line -
> make sure there is no gibberish in it. Could also be that squid isn't
> running properly because of a parse error in your config - when you
> switched versions, the parameters for the config file might have changed -
> squid won't run if it doesn't understand something in the config file.
>
> Also check the logs as suggested.
>
> At 05:39 PM 12/8/2000 -0700, Duane Wessels wrote:
>
> >On Fri, 8 Dec 2000, Mihai Bobos wrote:
> >
> > > Hello!
> > > I have a bad problem with my squid (2.3STABLE4)
> > > I upgraded the server with extra RAM, but the simms must be deffective,
> > > cause the server crashed after about one day (freezed in fact)
> > > the only thing to do was stop the server and restart, fsck, errors found
> > > on hdd, etc...
> > > the only problem noticed till now is squid doesn't want to work
> > > anymore...
> > > I tried to rebuildthe cache, I tried upgrading (from 2.3STABLE3 to
> > > 2.3STABLE4), i tried uninstalling, deleted all squid related files, then
> > > reinstalling squid again, with the same working configuration file, but
> > > the result is always the same: squid doesn't work...
> > > my browser sais:
> > > Connect: Contacting host x.x.x.x:3128 (that's my server) and after a
> > > while i get a Connection failed with error 110 Connection timed out...
> > >
> > > when i use the client program in linux i get the message:
> > > client: ERROR: Cannot connect to localhost:3128: Connection refused
> > >
> > > can you please tell me what to do with it? i ran out of ideas, and don't
> > > want to reinstall the hole server again...
> >
> >check syslog
> >
> > check /usr/local/squid/logs/cache.log
> >
> >--
> >To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
>
> --
> To unsubscribe, see http://www.squid-cache.org/mailing-lists.html

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Mon Dec 11 2000 - 01:00:02 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:56:54 MST