Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
try adding some log files, maybe output of dmesg... sometimes it is easier with log files than just guessing – Denwerko Aug 12 '11 at 7:25
or I think the problem is that I didn't set privoxy to start "normally" at boot? :\ how to set it correctly? – LanceBaynes Aug 28 '11 at 17:18
up vote 2 down vote accepted

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"

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

share|improve this answer

You likely see "Fatal error: can't bind to Cannot assign requested address" in your /var/log/privoxy/logfile file which means that the network interface has not become ready yet.

In that case, you're affected by Launchpad bug #427625 which is fixed in 3.0.16-1, but Lucid is still shipped with 3.0.15-3. As a workaround, you can try the fix as described in How to get Opera work correctly with Privoxy?.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.