Search squid archive

Re: UDP errors after upgrade to 3.1.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

> -----Original Message-----
> From: donovan jeffrey j [mailto:donovan@xxxxxxxxxxxxxx] 
> Sent: Thursday, April 08, 2010 7:37 AM
> To: Amos Jeffries
> Cc: squid-users@xxxxxxxxxxxxxxx
> Subject: Re:  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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux