[squid-users] "proper" way to restart squid on Ubuntu 10.04

2010-09-28 Thread GravyFace
Hello, Have squid up and running (from the Ubuntu repo, not sure the version at the moment but assume it's the latest stable) with a whitelist (/etc/squid/whitelist) and all is well. Today I went to add a domain to the whitelist, assumed that the squid process needed to be restarted, so I issued:

Re: [squid-users] "proper" way to restart squid on Ubuntu 10.04

2010-09-28 Thread Amos Jeffries
On Tue, 28 Sep 2010 18:55:37 -0400, GravyFace wrote: > Hello, > > Have squid up and running (from the Ubuntu repo, not sure the version > at the moment but assume it's the latest stable) with a whitelist > (/etc/squid/whitelist) and all is well. > > Today I went to add a domain to the whitelist,

Re: [squid-users] "proper" way to restart squid on Ubuntu 10.04

2010-09-28 Thread GravyFace
On Tue, Sep 28, 2010 at 7:49 PM, Amos Jeffries wrote: > On Tue, 28 Sep 2010 18:55:37 -0400, GravyFace wrote: >> Hello, >> >> Have squid up and running (from the Ubuntu repo, not sure the version >> at the moment but assume it's the latest stable) with a whitelist >> (/etc/squid/whitelist) and all

Re: [squid-users] "proper" way to restart squid on Ubuntu 10.04

2010-09-29 Thread Helmut Hullen
Hallo, GravyFace, Du meintest am 28.09.10: > Today I went to add a domain to the whitelist, assumed that the squid > process needed to be restarted, so I issued: sudo /etc/init.d/squid > restart. That's not good. squid -k reconfigure does the job. Perhaps under Ubuntu sudo squ

Re: [squid-users] "proper" way to restart squid on Ubuntu 10.04

2010-09-29 Thread Jordon Bedwell
On 09/29/2010 01:36 AM, Helmut Hullen wrote: Hallo, GravyFace, Du meintest am 28.09.10: Today I went to add a domain to the whitelist, assumed that the squid process needed to be restarted, so I issued: sudo /etc/init.d/squid restart. That's not good. squid -k reconfigure does the

Re: [squid-users] "proper" way to restart squid on Ubuntu 10.04

2010-09-29 Thread Helmut Hullen
Hallo, Jordon, Du meintest am 29.09.10: >> squid -k reconfigure >> >> does the job. Perhaps under Ubuntu >> >> sudo squid -k reconfigure > service squid restart > That is how you restart squid on Ubuntu. May be. If you only change the whitelist then it's not necessary to resta

Re: [squid-users] "proper" way to restart squid on Ubuntu 10.04

2010-09-29 Thread Jordon Bedwell
On 09/29/2010 02:28 AM, Helmut Hullen wrote: Hallo, Jordon, Du meintest am 29.09.10: squid -k reconfigure does the job. Perhaps under Ubuntu sudo squid -k reconfigure service squid restart That is how you restart squid on Ubuntu. May be. If you only change the whitel

Re: [squid-users] "proper" way to restart squid on Ubuntu 10.04

2010-09-29 Thread Helmut Hullen
Hallo, Jordon, Du meintest am 29.09.10: >> If you only change the whitelist then it's not necessary to restart >> squid. Neither under Ubuntu nor under any other Linux distribution. >> For only re-reading the configuration squid needs only >> >> squid -k reconfigure > The proper way to

Re: [squid-users] "proper" way to restart squid on Ubuntu 10.04

2010-09-29 Thread Jordon Bedwell
On 09/29/2010 05:42 AM, Helmut Hullen wrote: Hallo, Jordon, Du meintest am 29.09.10: If you only change the whitelist then it's not necessary to restart squid. Neither under Ubuntu nor under any other Linux distribution. For only re-reading the configuration squid needs only squid

Re: [squid-users] "proper" way to restart squid on Ubuntu 10.04

2010-09-29 Thread Jordon Bedwell
On 09/29/2010 05:59 AM, Jordon Bedwell wrote: Right, so it shall be, you are wrong too, because you should be using start-stop-daemon which is more graceful on a Debian system. Not that you would know that since you are too busy telling people they are wrong, also the easy way to reload on Debia

Re: [squid-users] "proper" way to restart squid on Ubuntu 10.04

2010-09-29 Thread Helmut Hullen
Hallo, Jordon, Du meintest am 29.09.10: >> Right, so it shall be, you are wrong too, because you should be >> using start-stop-daemon which is more graceful on a Debian system. >> Not that you would know that since you are too busy telling people >> they are wrong, also the easy way to reload on

Re: [squid-users] "proper" way to restart squid on Ubuntu 10.04

2010-09-29 Thread GravyFace
On Wed, Sep 29, 2010 at 8:47 AM, Helmut Hullen wrote: > Hallo, Jordon, > > Du meintest am 29.09.10: > >>> Right, so it shall be, you are wrong too, because you should be >>> using start-stop-daemon which is more graceful on a Debian system. >>> Not that you would know that since you are too busy t

Re: [squid-users] "proper" way to restart squid on Ubuntu 10.04

2010-09-29 Thread Jordon Bedwell
On 09/29/2010 07:47 AM, Helmut Hullen wrote: Hallo, Jordon, Du meintest am 29.09.10: Right, so it shall be, you are wrong too, because you should be using start-stop-daemon which is more graceful on a Debian system. Not that you would know that since you are too busy telling people they are wr

Re: [squid-users] "proper" way to restart squid on Ubuntu 10.04

2010-09-29 Thread Helmut Hullen
Hallo, GravyFace, Du meintest am 29.09.10: > The issue is that squid does not seem to be restarting gracefully, > regardless of whether I use /etc/init.d/squid restart or service > squid restart: it failed with (something like) unknown process which > to me implies that squid wasn't running, even

Re: [squid-users] "proper" way to restart squid on Ubuntu 10.04

2010-09-29 Thread Jordon Bedwell
On 09/29/2010 10:20 AM, Helmut Hullen wrote: Hallo, GravyFace, Du meintest am 29.09.10: The issue is that squid does not seem to be restarting gracefully, regardless of whether I use /etc/init.d/squid restart or service squid restart: it failed with (something like) unknown process which to me

Re: [squid-users] "proper" way to restart squid on Ubuntu 10.04

2010-09-29 Thread Ralf Hildebrandt
* Jordon Bedwell : > While I don't agree that he should have squid send a SIG1 or HUP > directly Oh yes. > I need to ask, which version of squid are you using? squid > -k reconfigure will only work on legacy squid, if you are using the > new squid from the repo (squid3) then the command is: squi

Re: [squid-users] "proper" way to restart squid on Ubuntu 10.04

2010-09-29 Thread Helmut Hullen
Hallo, Jordon, Du meintest am 29.09.10: >> Then try >> >> squid -X -k debug > While I don't agree that he should have squid send a SIG1 or HUP > directly I need to ask, which version of squid are you using? "HUP" doesn't work as expected - just believe it (my gerlish isn't good enou

Re: [squid-users] "proper" way to restart squid on Ubuntu 10.04

2010-09-29 Thread Henrik Nordström
ons 2010-09-29 klockan 13:37 -0500 skrev Jordon Bedwell: > While I don't agree that he should have squid send a SIG1 or HUP > directly I need to ask, which version of squid are you using? squid -k > reconfigure will only work on legacy squid, if you are using the new > squid from the repo (squi

Re: [squid-users] "proper" way to restart squid on Ubuntu 10.04

2010-09-29 Thread Jordon Bedwell
On 09/29/2010 03:00 PM, Henrik Nordström wrote: ons 2010-09-29 klockan 13:37 -0500 skrev Jordon Bedwell: While I don't agree that he should have squid send a SIG1 or HUP directly I need to ask, which version of squid are you using? squid -k reconfigure will only work on legacy squid, if you are

Re: [squid-users] "proper" way to restart squid on Ubuntu 10.04

2010-09-29 Thread Amos Jeffries
On Wed, 29 Sep 2010 09:13:04 -0400, GravyFace wrote: > On Wed, Sep 29, 2010 at 8:47 AM, Helmut Hullen wrote: >> Hallo, Jordon, >> >> Du meintest am 29.09.10: >> Right, so it shall be, you are wrong too, because you should be using start-stop-daemon which is more graceful on a Debian sys

Re: [squid-users] "proper" way to restart squid on Ubuntu 10.04

2010-09-29 Thread Helmut Hullen
Hallo, Jordon, Du meintest am 29.09.10: > squid -k reconfigure will only work on legacy squid, if you are using > the new squid from the repo (squid3) then the command is: squid3 -k > reconfigure or distro specific service squid3 reload (which will send > a SIG1 with start-stop-daemon and log mes