Many thanks Joe I checked and set the cache directory but I have not checked
the log directory.
Many thanks
Mike
-----Original Message-----
From: Joe Cooper [mailto:joe@swelltech.com]
Sent: Monday, 27 May 2002 22:17
To: Linux
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] Squid won't restart
Ok, in that case...
Check permissions again. Make sure the cache_dir and log directory are
writable by Squid (for example, on a Red Hat machine with Squid
installed from RPM, Squid will run as user squid, group squid...so the
ownership of all cache_dirs and /var/log/squid should be squid:squid).
This is the only thing it can be if Squid is telling you it doesn't have
permission to write to the directory.
By default Squid listens on port 3128 for client connections. Outgoing
connections will usually be on port 80. If using Squid to proxy for FTP
and HTTPS you will also have outgoing requests on 20 and 21 and 443.
Some other ports come up as well, like 8080 and 8000, for standard http
traffic.
Return traffic back to Squid from origin servers will be on ephemeral or
user ports, above port 1024.
I think that covers it...Henrik, am I missing anything?
Linux wrote:
> The ports is not a problem it is an off topic side issue for my knowledge.
> The main issue is that squid won't restart
>
> Many thanks
>
> Mike
>
> -----Original Message-----
> From: Joe Cooper [mailto:joe@swelltech.com]
> Sent: Monday, 27 May 2002 22:03
> To: Linux
> Cc: squid-users@squid-cache.org
> Subject: Re: [squid-users] Squid won't restart
>
>
> I'm confused...Is the problem still "permission denied"? If so, why ask
> about ports...or is this a new problem?
>
> Linux wrote:
>
>>Hi
>>
>>I have done what you suggested below but it has made no difference. I am
>>still unable to start Squid on this server.
>>
>>What port(s) does squid use when web traffic leaves it for the Internet.
>>i.e. users come in on port xx and requests leave squid for the Internet on
>>port ??
>>
>>Many thanks
>>
>>Mike
>>
>>-----Original Message-----
>>From: Squid Support (Henrik Nordstrom) [mailto:hno@marasystems.com]
>>Sent: Tuesday, 14 May 2002 21:43
>>To: Linux; squid-users@squid-cache.org
>>Subject: Re: [squid-users] Squid won't restart
>>
>>
>>On Tuesday 14 May 2002 11:22, Linux wrote:
>>
>>
>>
>>>FATAL: Failed to make swap directory /var/spool/squid: (13)
>>>Permission denied
>>
>>
>>You need to make sure the user who Squid runs as
>>(cache_effective_user) has permission to write to your cache_dir
>>directories (/var/spool/squid above) and to the directory where you
>>have told Squid to keep it's log files and pid file (usually
>>/var/log/squid)
>>
>
>
>
>
-- Joe Cooper <joe@swelltech.com> Web caching appliances and support. http://www.swelltech.com This mail was processed by Mail essentials for Exchange/SMTP, the email security & management gateway. Mail essentials adds content checking, email encryption, anti spam, anti virus, attachment compression, personalised auto responders, archiving and more to your Microsoft Exchange Server or SMTP mail server. For more information visit http://www.mailessentials.comReceived on Mon May 27 2002 - 04:28:47 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:08:14 MST