Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error when restarting squid

85 views
Skip to first unread message

Paul Reutas

unread,
Sep 8, 2002, 5:19:20 PM9/8/02
to
Hi,

I am receiving the following error message when I try to restart squid.

[root@Gatewy root]# /etc/rc.d/init.d/squid restart

Stopping squid: /etc/rc.d/init.d/squid: line 2: 26662 Aborted
SQUID -k check >/dev/null 2>&1
[FAILED]
Starting squid: [ OK ]

I am not aware of anything that I have changed that would have caused
this error and am wondering what the message is telling me and how I
would go about rectifying what is wrong.

Thanks for the help.

--
Regards

Paul Reutas

** No electrons were harmed or misused in any way during the creation of
this work **

For email, substitue "ampcom" for "junkmail"

Paul Reutas

unread,
Sep 8, 2002, 6:50:11 PM9/8/02
to
In article <MPG.17e65bab5...@news-server.bigpond.net.au>,
pa...@junkmail.com.au says...

> Hi,
>
> I am receiving the following error message when I try to restart squid.
>
> [root@Gatewy root]# /etc/rc.d/init.d/squid restart
>
> Stopping squid: /etc/rc.d/init.d/squid: line 2: 26662 Aborted
> SQUID -k check >/dev/null 2>&1
> [FAILED]
> Starting squid: [ OK ]
>
> I am not aware of anything that I have changed that would have caused
> this error and am wondering what the message is telling me and how I
> would go about rectifying what is wrong.
>
> Thanks for the help.
>
>
A little more info that may be of help...

Executing /etc/rc.d/init.d/squid status ..

squid (pid 10074 10072) is running...
2002/09/09 08:46:52| aclParseIpData: WARNING: Netmask masks away part of
the specified IP in '192.168.1.0/16'
FATAL: Could not determine fully qualified hostname. Please set
'visible_hostname'

Squid Cache (Version 2.4.STABLE3): Terminated abnormally.
CPU Usage: 0.070 seconds = 0.060 user + 0.010 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 290
/etc/rc.d/init.d/squid: line -157: 29049 Aborted $SQUID
-k check

I have 6 machines on the network, each having a fixed IP of 192.168.1.X
255.255.255.0

Gateway is set at 192.168.1.1

I get the feeling that I have set up the netmask in Squid's ACL
incorrectly.

Some help here would be much appreciated :)

te...@amerikalink.com

unread,
May 9, 2015, 4:39:54 PM5/9/15
to
*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/**/*/*/*/*/**/*/*-*//*/*/*/*/

Same problem Here


Stopping squid ...
.. Done
Initializing the Squid cache with the command squid -f /etc/squid/squid.conf -z ..
2015/05/09 13:00:58| aclIpParseIpData: WARNING: Netmask masks away part of the specified IP in '192.168.1.0/16'
2015/05/09 13:00:58| Creating Swap Directories
Failed to re-start Squid ..
2015/05/09 13:00:58| aclIpParseIpData: WARNING: Netmask masks away part of the specified IP in '192.168.1.0/16'


Tried deleting that ACL but doesn't works..
change the netmask doesn't works neither.

te...@amerikalink.com

unread,
May 9, 2015, 4:49:26 PM5/9/15
to
On Sunday, September 8, 2002 at 2:05:08 PM UTC-8, Paul Reutas wrote:
*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/
tried this

on 192.168.1.0/16 if /16 (netmask) , it has ip 192.168.0.1. to 192.168.255.254 , which you should set 192.168.0.0/16

te...@amerikalink.com

unread,
May 9, 2015, 5:18:00 PM5/9/15
to
Try this to store cache on disk, in my case this was also causing troubles:

vi /etc/squid/squid.conf

find this line:

# Uncomment and adjust the following to add a disk cache directory.
# cache_dir ufs /var/spool/squid3 100 16 256

"ufs" is the old well-known Squid storage format that has always
been there.

Usage:
cache_dir ufs Directory-Name Mbytes L1 L2 [options]

'Mbytes' is the amount of disk space (MB) to use under this
directory. The default is 100 MB. Change this to suit your
configuration. Do NOT put the size of your disk drive here.
Instead, if you want Squid to use the entire disk drive,
subtract 20% and use that value.

'L1' is the number of first-level subdirectories which
will be created under the 'Directory'. The default is 16.

'L2' is the number of second-level subdirectories which
will be created under each first-level directory. The default
is 256.
0 new messages