Re: [squid-users] UDP errors after upgrade to 3.1.1

From: donovan jeffrey j <donovan_at_beth.k12.pa.us>
Date: Thu, 8 Apr 2010 09:33:34 -0400

On Apr 8, 2010, at 9:12 AM, Dean Weimer wrote:

> -----Original Message-----
> From: donovan jeffrey j [mailto:donovan_at_beth.k12.pa.us]
> Sent: Thursday, April 08, 2010 7:37 AM
> To: Amos Jeffries
> Cc: squid-users_at_squid-cache.org
> Subject: Re: [squid-users] UDP errors after upgrade to 3.1.1
>
>
> <snip>
>
>> no pid file in the 3.1.1 build.
>
>> I check my other copies and they all made the PID file in
> /usr/local/squid/var/logs/squid.pid
>> nothing is in my 3.1.1
>
>> cat: /usr/local/squid/var/logs/squid.pid: No such file or directory
>
> The machines I have installed 3.1.1 on want to place the pid file in
> /usr/local/squid/var/run/squid.pid
>
> Unfortunately the install doesn't appear to build that directory, simply
> do a mkdir /usr/local/squid/var/run (make sure its owned by your squid
> user). Then either kill and restart squid, or manually create a
> squid.pid file with the process id in it.

YAY!
nc-106:var root# mkdir run
nc-106:var root# chown squid:wheel run

nc-106:var root# ls -la
total 0
drwxr-xr-x 4 squid wheel 136 Apr 8 09:27 .
drwxr-xr-x 11 root wheel 374 Apr 1 10:20 ..
drwxr-xr-x 36 squid wheel 1224 Apr 8 08:55 logs
drwxr-xr-x 2 squid wheel 68 Apr 8 09:27 run
nc-106:var root# cd run
nc-106:run root# ls
nc-106:run root# squid -d1x
nc-106:run root# ls
squid.pid
nc-106:run root# cat squid.pid
36555
nc-106:run root# squid -k check
"no news is good news "
nc-106:run root# squid -k rotate
<snip> logfileRotate: /usr/local/squid/var/logs/access.log
nc-106:run root# squid -k shutdown
<snip> Squid Cache (Version 3.1.1): Exiting normally.

worked like a champ.
I had to create the " run " directory, then all was happy.

thanks dean
-j
Received on Thu Apr 08 2010 - 13:33:41 MDT

This archive was generated by hypermail 2.2.0 : Thu Apr 08 2010 - 12:00:03 MDT