Re: [newbie] Privoxy service won't start on reboot/startup
On Wednesday 23 Jun 2004 01:03, Terence Golightly wrote: On Tue, 2004-06-22 at 17:44, Derek Jennings wrote: On Tuesday 22 Jun 2004 21:57, Terence Golightly wrote: snip Privoxy runs as user daemon, but your log file is owned by root, so privoxy can only access the log file when you run as root. Change the ownership of /var/log/privoxy to daemon and you will be OK. derek Will do. Thanks Derek. Oh. Should group be daemon as well? Terry # ls -dl p* drwx-- 2 daemon daemon 4096 Jun 22 04:02 privoxy/ derek -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Privoxy service won't start on reboot/startup
On Wed, 2004-06-23 at 04:39, Derek Jennings wrote: On Wednesday 23 Jun 2004 01:03, Terence Golightly wrote: On Tue, 2004-06-22 at 17:44, Derek Jennings wrote: On Tuesday 22 Jun 2004 21:57, Terence Golightly wrote: snip Privoxy runs as user daemon, but your log file is owned by root, so privoxy can only access the log file when you run as root. Change the ownership of /var/log/privoxy to daemon and you will be OK. derek Will do. Thanks Derek. Oh. Should group be daemon as well? Terry # ls -dl p* drwx-- 2 daemon daemon 4096 Jun 22 04:02 privoxy/ derek Derek, Sorry if this seems tedious, I write something and then forget I needed to add something. I noticed that when I changed only the owner of the privoxy directory to daemon and all the files ownership under privoxy to daemon I was able to start up privoxy using: /etc/init.d/privoxy start with no complaints. Should all the files under privoxy be daemon.daemon as well. Thanks again, Terry Terry Golightly ... [EMAIL PROTECTED] ... Pittsburgh, Pa Mandrake Linux release 10.0 (Official) for i586 kernel 2.6.3-9mdk-i686-up-4GB 13:26:52 up 20:53, 3 users, load average: 0.28, 0.23, 0.10 A little word of doubtful number, A foe to rest and peaceful slumber. If you add an s to this, Great is the metamorphosis. Plural is plural now no more, And sweet what bitter was before. What am I? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
[newbie] Privoxy service won't start on reboot/startup
List, This is annoying little problem that one of you may have encountered using privoxy. It won't start on startup/reboot or from a service start under mcc or from the su commandline. I get the following message: [EMAIL PROTECTED] root]# /etc/init.d/privoxy start Starting privoxy: Jun 22 16:50:59 Privoxy(1075490944) Info: loading configuration file '/etc/privoxy/config': Jun 22 16:50:59 Privoxy(1075490944) Fatal error: init_error_log(): can't open logfile: /var/log/privoxy/logfile Jun 22 16:50:59 Privoxy(1075490944) Fatal error: init_error_log(): can't open logfile: /var/log/privoxy/logfile [EMAIL PROTECTED] root]# ls -l /var/log/privoxy total 392 -rw-r- 1 root root 239346 Jun 22 16:01 jarfile -rw-r- 1 root root 10822 Jun 22 16:53 logfile -rw-r- 1 root root 139131 Jun 19 23:09 logfile.1.gz However, as you can see from below, that is starts up find from the su terminal where it can find it's config file: [EMAIL PROTECTED] root]# privoxy Jun 22 16:53:04 Privoxy(1075490944) Info: loading configuration file '/root/config': Is anybody familiar with a fix? Thanks, Terry Terry Golightly ... [EMAIL PROTECTED] ... Pittsburgh, Pa Mandrake Linux release 10.0 (Official) for i586 kernel 2.6.3-9mdk-i686-up-4GB 16:51:44 up 18 min, 3 users, load average: 0.00, 0.10, 0.14 Reporter, n.: A writer who guesses his way to the truth and dispels it with a tempest of words. -- Ambrose Bierce, The Devil's Dictionary Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Privoxy service won't start on reboot/startup
On Tuesday 22 Jun 2004 21:57, Terence Golightly wrote: List, This is annoying little problem that one of you may have encountered using privoxy. It won't start on startup/reboot or from a service start under mcc or from the su commandline. I get the following message: [EMAIL PROTECTED] root]# /etc/init.d/privoxy start Starting privoxy: Jun 22 16:50:59 Privoxy(1075490944) Info: loading configuration file '/etc/privoxy/config': Jun 22 16:50:59 Privoxy(1075490944) Fatal error: init_error_log(): can't open logfile: /var/log/privoxy/logfile Jun 22 16:50:59 Privoxy(1075490944) Fatal error: init_error_log(): can't open logfile: /var/log/privoxy/logfile [EMAIL PROTECTED] root]# ls -l /var/log/privoxy total 392 -rw-r- 1 root root 239346 Jun 22 16:01 jarfile -rw-r- 1 root root 10822 Jun 22 16:53 logfile -rw-r- 1 root root 139131 Jun 19 23:09 logfile.1.gz However, as you can see from below, that is starts up find from the su terminal where it can find it's config file: [EMAIL PROTECTED] root]# privoxy Jun 22 16:53:04 Privoxy(1075490944) Info: loading configuration file '/root/config': Is anybody familiar with a fix? Thanks, Terry Privoxy runs as user daemon, but your log file is owned by root, so privoxy can only access the log file when you run as root. Change the ownership of /var/log/privoxy to daemon and you will be OK. derek -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Privoxy service won't start on reboot/startup
On Tue, 2004-06-22 at 17:44, Derek Jennings wrote: On Tuesday 22 Jun 2004 21:57, Terence Golightly wrote: snip Privoxy runs as user daemon, but your log file is owned by root, so privoxy can only access the log file when you run as root. Change the ownership of /var/log/privoxy to daemon and you will be OK. derek Will do. Thanks Derek. Oh. Should group be daemon as well? Terry Terry Golightly ... [EMAIL PROTECTED] ... Pittsburgh, Pa Mandrake Linux release 10.0 (Official) for i586 kernel 2.6.3-9mdk-i686-up-4GB 20:01:20 up 3:28, 3 users, load average: 0.05, 0.08, 0.04 Sam: What do you know there, Norm? Norm: How to sit. How to drink. Want to quiz me? -- Cheers, Loverboyd Sam: Hey, how's life treating you there, Norm? Norm: Beats me. ... Then it kicks me and leaves me for dead. -- Cheers, Loverboyd Woody: How would a beer feel, Mr. Peterson? Norm: Pretty nervous if I was in the room. -- Cheers, Loverboyd Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Privoxy
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday 30 June 2002 3:25 am, Dennis Myers wrote: Ok, I am going to give it a trial run. Someone else also asked if it was running so I did services privoxy start from command line and now it seems that it is working in Netscape. I will set it for Konqueror also since that is my prefered browser. Thanks for all the help folks. I already see a lack of popups, so let's see what else doesn't show up. Thanks again, Small molecule of advice; if you bank online switch Privoxy off _for the domain_ used by the bank. To do this add the domain to the Exceptions in the Manual Proxy Configuration screen, and make sure that 'Only use proxy for entries in this list' is _unticked_ (a wonderful user interface - that actually means 'Do not use proxy for entries in this list' :) Both my banks (smile.co.uk and newcastle.co.uk) use all sorts of Javascript tricks, and I believe most banking sites are similar. Privoxy, I suppose, could be laboriously configured to _not_ filter the tricks that matter, but it's easier simply to turn it off. In N months I've come across no other sites that require Privoxy to be turned off. Alastair - -- Alastair Scott (London, United Kingdom) http://www.unmetered.org.uk/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9HsbwCv59vFiSU4YRApU7AJ45w21yFID87u+Ym9eFpWH7qXhkOACffP73 xok9vrGIK6t0rfmVWx52AsY= =i1CQ -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Privoxy
On Sun, 30 Jun 2002 09:52:54 +0100, Alastair Scott [EMAIL PROTECTED] wrote: Both my banks (smile.co.uk and newcastle.co.uk) use all sorts of Javascript tricks, and I believe most banking sites are similar. Privoxy, I suppose, could be laboriously configured to _not_ filter the tricks that matter, but it's easier simply to turn it off. In N months I've come across no other sites that require Privoxy to be turned off. For some strange reason Privoxy blocks pclinuxonline.com. I had to edit one of the config files to change that. And in other news, Brazil just beat Germany 2-0 to win the World Cup!!! I was going for Germany :( -- Sridhar Dhanapalan Maybe somebody should tell gcc maintainers about programmers that know more than the compiler again. -- Linus Torvalds Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Privoxy
On Sat, 2002-06-29 at 13:55, Dennis Myers wrote: I have set up privoxy a couple of times in konqueror and each time I set it I can no longer connect to the internet at all. could not connect to host 127.0.0.1, try again later Disable the proxy server and all works. Yes I have RTFM. According to the manual I should have no problems setting up and using privoxy, but as usual the manual has left something out that is important to my configuration. Anyone had this kind of problem and how does it get fixed? Sometimes I need to have my hand held. TIA -- Dennis M. linux user #180842 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Dennis I installed and used privoxy for a day or two last week. It worked...sort of. Didn't lose my net connection but it is very fussy as to what sites it will connect to and load. I had to try again for six out of every ten sites I went to. Too annoying to be really useful so I wiped it off. I think it will be really useful when it is developed further, but right now I'll pass on it. Michael Biddulph Brisbane Australia Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Privoxy
On 29 Jun 2002 17:30:49 +1000, Michael Biddulph [EMAIL PROTECTED] wrote: On Sat, 2002-06-29 at 13:55, Dennis Myers wrote: I have set up privoxy a couple of times in konqueror and each time I set it I can no longer connect to the internet at all. could not connect to host 127.0.0.1, try again later Disable the proxy server and all works. Yes I have RTFM. According to the manual I should have no problems setting up and using privoxy, but as usual the manual has left something out that is important to my configuration. Anyone had this kind of problem and how does it get fixed? Sometimes I need to have my hand held. TIA I installed and used privoxy for a day or two last week. It worked...sort of. Didn't lose my net connection but it is very fussy as to what sites it will connect to and load. I had to try again for six out of every ten sites I went to. Too annoying to be really useful so I wiped it off. I think it will be really useful when it is developed further, but right now I'll pass on it. I've been using Privoxy for about six months and I've had very few problems. The error given above should not really have anything to do with the proxy. The IP address that is causing the problem, 127.0.0.1, refers to yourself. When you communicate with 127.0.0.1, the network messages are 'looped back' to you, and you communicate with yourself. In your browser proxy settings, there should be a text box titled something like 'No proxy for'. In this box, enter 'localhost' (without the quotes). Save the settings and reactivate Privoxy. Make sure your browser is set to use Privoxy as a proxy. Now everything should work as it should, minus the advertising on Web pages. -- Sridhar Dhanapalan Nothing would please me more than being able to hire ten programmers and deluge the hobby market with good software. -- Bill Gates, 'An Open Letter to Hobbyists', 1976-02-03 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Privoxy
On Saturday 29 June 2002 03:56 am, you wrote: On 29 Jun 2002 17:30:49 +1000, Michael Biddulph [EMAIL PROTECTED] wrote: On Sat, 2002-06-29 at 13:55, Dennis Myers wrote: I have set up privoxy a couple of times in konqueror and each time I set it I can no longer connect to the internet at all. could not connect to host 127.0.0.1, try again later Disable the proxy server and all works. Yes I have RTFM. According to the manual I should have no problems setting up and using privoxy, but as usual the manual has left something out that is important to my configuration. Anyone had this kind of problem and how does it get fixed? Sometimes I need to have my hand held. TIA I installed and used privoxy for a day or two last week. It worked...sort of. Didn't lose my net connection but it is very fussy as to what sites it will connect to and load. I had to try again for six out of every ten sites I went to. Too annoying to be really useful so I wiped it off. I think it will be really useful when it is developed further, but right now I'll pass on it. I've been using Privoxy for about six months and I've had very few problems. The error given above should not really have anything to do with the proxy. The IP address that is causing the problem, 127.0.0.1, refers to yourself. When you communicate with 127.0.0.1, the network messages are 'looped back' to you, and you communicate with yourself. In your browser proxy settings, there should be a text box titled something like 'No proxy for'. In this box, enter 'localhost' (without the quotes). Save the settings and reactivate Privoxy. Make sure your browser is set to use Privoxy as a proxy. Now everything should work as it should, minus the advertising on Web pages. Thanks for the help Sridhar, I tried the no proxy setting and still get the can't connect to 127.0.0.1. Guess I don't understand proxy and will just put up with the junk for now. I will continue to study docs and manuals to get an understanding and try again later. -- Dennis M. linux user #180842 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Privoxy
On Saturday 29 Jun 2002 4:55 am, Dennis Myers wrote: I have set up privoxy a couple of times in konqueror and each time I set it I can no longer connect to the internet at all. could not connect to host 127.0.0.1, try again later Disable the proxy server and all works. Yes I have RTFM. According to the manual I should have no problems setting up and using privoxy, but as usual the manual has left something out that is important to my configuration. Anyone had this kind of problem and how does it get fixed? Sometimes I need to have my hand held. TIA I'm running privoxy without any problem version privoxy-2.9.13-3.i386.rpm which I got from the privoxy download page. The only things I had to do was start the service (service privoxy start) and then point my browsers to port 8118 on localhost for http and https. Is your privoxy service running? It comes up in Mandrake Control centreSystemServices. I have not had to do any customising at all. Default settings work great. HTH derek Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Privoxy
SNIP I installed and used privoxy for a day or two last week. It worked...sort of. Didn't lose my net connection but it is very fussy as to what sites it will connect to and load. I had to try again for six out of every ten sites I went to. Too annoying to be really useful so I wiped it off. I think it will be really useful when it is developed further, but right now I'll pass on it. Michael Biddulph Brisbane Australia That message you get is often because the web site you were at redirects you to another site in a different domain. Since that sort of behaviour is indicative of 'advertising', privoxy's default behaviour is to block the page but offer to take you there if you really want to go. You can change the default behaviour either globally or on a site by site basis quite easily. Unfortunately it is very difficult for any proxy to 'know' if a page is advertising and to be blocked, or is a legitimate page. It can only follow general rules. The nice thing about privoxy is that it puts *you* in control of what those rules are. Personally I welcome the fact that I have not seen a pop up for On Line Casino Gambling, rated sites or Tiny video cameras for many months :-) derek Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Privoxy
On Saturday 29 June 2002 05:03 pm, you wrote: SNIP I installed and used privoxy for a day or two last week. It worked...sort of. Didn't lose my net connection but it is very fussy as to what sites it will connect to and load. I had to try again for six out of every ten sites I went to. Too annoying to be really useful so I wiped it off. I think it will be really useful when it is developed further, but right now I'll pass on it. Michael Biddulph Brisbane Australia That message you get is often because the web site you were at redirects you to another site in a different domain. Since that sort of behaviour is indicative of 'advertising', privoxy's default behaviour is to block the page but offer to take you there if you really want to go. You can change the default behaviour either globally or on a site by site basis quite easily. Unfortunately it is very difficult for any proxy to 'know' if a page is advertising and to be blocked, or is a legitimate page. It can only follow general rules. The nice thing about privoxy is that it puts *you* in control of what those rules are. Personally I welcome the fact that I have not seen a pop up for On Line Casino Gambling, rated sites or Tiny video cameras for many months :-) derek Ok, I am going to give it a trial run. Someone else also asked if it was running so I did services privoxy start from command line and now it seems that it is working in Netscape. I will set it for Konqueror also since that is my prefered browser. Thanks for all the help folks. I already see a lack of popups, so let's see what else doesn't show up. Thanks again, -- Dennis M. linux user #180842 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com