Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 5885  / 1 Year ago, thu, february 2, 2023, 1:42:53

I have an Ubuntu 10.04 installed and I installed Privoxy:



apt-get install -y privoxy


Okay, it works great with my rules, fine.



When I boot up my desktop PC I can see that Privoxy is started, it runs, great.
But when I want to view webpages through it it doesn't work (error loading page).



But if i restart the privoxy with



service privoxy restart


then it works!



What could the problem be? Why do I have to restart Privoxy after every boot?


More From » 10.04

 Answers
7

It likely that Privoxy did not start successfully because it started before the Network interface was initialised - there is a similar bug report with Fedora.



Suggestion 1



Starting privoxy was also discussed on Ubuntu Forums.



Have a look at the file /var/log/privoxy



If there is an error in the file that looks like "Fatal error: can't bind to localhost:8118: The hostname is not resolvable" then change the listen-address in the privoxy configuration file /etc/privoxy/config.



i.e. change "listen-address localhost:8118" to be "listen-address 127.0.0.1:8118"



Suggestion 2



The author of the Fedora bug report suggested adding the following line of text to /etc/rc.local i.e. add it before "exit 0" not after it.



/bin/sleep 20 && /etc/init.d/privoxy start


[#43904] Friday, February 3, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
cocal

Total Points: 236
Total Questions: 111
Total Answers: 123

Location: Belarus
Member since Tue, Mar 14, 2023
1 Year ago
cocal questions
Tue, Oct 12, 21, 20:46, 3 Years ago
Sat, Oct 8, 22, 04:23, 2 Years ago
Wed, Sep 14, 22, 22:38, 2 Years ago
Sun, Dec 18, 22, 02:24, 1 Year ago
Wed, Jun 29, 22, 17:31, 2 Years ago
;