Web Server forum
Back To The Forum Home!Search!Private Messaging System

This is Interesting: Free IT Magazines Now Free shipping to   
Web Server Talk Web Server Talk > Unix and Linux reviews > SUSE Linux > Privoxy for a newbie




Pages (2): [1] 2 »   Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Privoxy for a newbie  
DG


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-12-04 01:48 AM

Well, I've successfully installed Privoxy but can't seem to get it to run.

I checked their webpage and they claim that SuSE should start the program at
bootup.

http://www.privoxy.org/user-manual/quickstart.html

That does not seem to happen on my machine.  I have checked the KDE system
guard looking for it but don't see it running.  I have configured my
browser to use it but it says "can't connect to proxy".  I'm using SuSSE
9.1 Pro and Opera.  Konqueror gets the same message after configuring to
use it.

I've supposedly started the program via:
# rcprivoxy start
but I don't see a process in the KDE System guard.

Obviously there is something that I am missing.

Help would be most appreciated.






[ Post a follow-up to this message ]



    Re: Privoxy for a newbie  
TomK


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-12-04 07:51 AM

On Mon, 12 Jul 2004 01:06:54 GMT, DG <xxxxx@xxx.xxx> wrote:

>Well, I've successfully installed Privoxy but can't seem to get it to run.
>
>I checked their webpage and they claim that SuSE should start the program a
t
>bootup.
>
>http://www.privoxy.org/user-manual/quickstart.html
>
>That does not seem to happen on my machine.  I have checked the KDE system
>guard looking for it but don't see it running.  I have configured my
>browser to use it but it says "can't connect to proxy".  I'm using SuSSE
>9.1 Pro and Opera.  Konqueror gets the same message after configuring to
>use it.

It starts at bootup on my 9.0 system -- but there's some interaction based
on my being dialup (at least, that's my assumpton) that prevents me
getting a connection until I restart privoxy after connecting to my ISP.
Then it works fine until I need to reboot again.

Tom
>
>I've supposedly started the program via:
># rcprivoxy start
>but I don't see a process in the KDE System guard.
>
>Obviously there is something that I am missing.
>
>Help would be most appreciated.






[ Post a follow-up to this message ]



    Re: Privoxy for a newbie  
Jan Ritzerfeld


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-12-04 07:51 AM

TomK schrieb:

> (...).
> It starts at bootup on my 9.0 system -- but there's some interaction based
> on my being dialup (at least, that's my assumpton) that prevents me
> getting a connection until I restart privoxy after connecting to my ISP.
> Then it works fine until I need to reboot again.

Your Privoxy runs in a chroot-jail. At startup your resolv.conf gets copied
to the jail -- if you're offline, there will be no resolv.conf. You can
restart privoxy in a shell-script in /etc/ppp/ip-up.d .

HTH,
Jan
--
There is no greater wrath than a woman scorned. (or one that thinks she was)






[ Post a follow-up to this message ]



    Re: Privoxy for a newbie  
houghi


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-12-04 10:59 PM

DG wrote:
> Well, I've successfully installed Privoxy but can't seem to get it to run.

With Yast?
>
> I checked their webpage and they claim that SuSE should start the program 
at
> bootup.
>
> http://www.privoxy.org/user-manual/quickstart.html
>
> That does not seem to happen on my machine.  I have checked the KDE system
> guard looking for it but don't see it running.  I have configured my
> browser to use it but it says "can't connect to proxy".  I'm using SuSSE
> 9.1 Pro and Opera.  Konqueror gets the same message after configuring to
> use it.

Well, yes and no. Sometimes it just hangs. Happend to me as well. No
idea why. I asume it should have another startnumber.

>
> I've supposedly started the program via:
> # rcprivoxy start
> but I don't see a process in the KDE System guard.
>
> Obviously there is something that I am missing.

When you do rcprivoxy start in a terminal, what do you see? Normaly on
the right side you should be able to see a green 'Done' or a red
'Failed' or the like. To test it do two things:
rcprivoxy status. That will either give a black 'unsused' or a green
'running'.

Another test is to do a 'telnet localhost 8118' wich should give:
root@houghi # telnet localhost 8118
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

Enter wil give an error. That is normal. If it is not running, you
should see something like:
root@houghi # telnet localhost 8118
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
Trying ::1...
telnet: connect to address ::1: Connection refused

When privoxy seems to be running (both above tests are positive) go to
the proxy settings and set them to localhost on port 8118.
--
http://www.houghi.org     |                    |   _)
\ \  \ /\ \  \ /\ \  \ /    \   _ \ |  |  _` |   \  |    _ \  _|_` |
\_/\_/  \_/\_/  \_/\_/_)_| _|\___/\_,_|\__, |_| _|_|_)\___/_|\__, |
My experience with SUSE.                 ____/                 ____/





[ Post a follow-up to this message ]



    Re: Privoxy for a newbie  
Jan Ritzerfeld


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-12-04 10:59 PM

DG schrieb:

> Well, I've successfully installed Privoxy but can't seem to get it to run.

How did you install privoxy?
1. from SUSE-CD/DVD/FTP with YaST
2. got the rpm from privoxy home
3. compiled the source for yourself

> I checked their webpage and they claim that SuSE should start the program
> at bootup.

If "chkconfig privoxy" says on ...

> (...). I have checked the KDE system
> guard looking for it but don't see it running.

Try "rcprivoxy status".

> (...).
> I've supposedly started the program via:
> # rcprivoxy start
> but I don't see a process in the KDE System guard.

What output did "rcprivoxy start" produce? done, failed ... ?
The logfile of privoxy is here: /var/lib/privoxy/log/logfile

HTH,
Jan
--
Acceptance without proof is the fundamental characteristic of all religions.






[ Post a follow-up to this message ]



    Re: Privoxy for a newbie  
DG


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-12-04 10:59 PM

houghi wrote:
>
>DG wrote: 
>
>With Yast?

YaST2.
 
>
>Well, yes and no. Sometimes it just hangs. Happend to me as well. No
>idea why. I asume it should have another startnumber.

Pardon my ignorance but what is a "startnumber"?
 
>
>When you do rcprivoxy start in a terminal, what do you see?

I click on the terminal program on the launch bar. (shell - konsole on
the title bar)
I type in "rcprivoxy start" and hit enter.  It responds with:
bash: rcprivoxy: command not found

>Normaly on
>the right side you should be able to see a green 'Done' or a red
>'Failed' or the like. To test it do two things:
>rcprivoxy status. That will either give a black 'unsused' or a green
>'running'.

I get this:
bash: rcprivoxy: command not found
and I don't see black or green anything.

>Another test is to do a 'telnet localhost 8118' wich should give:
>root@houghi # telnet localhost 8118
>Trying 127.0.0.1...
>Connected to localhost.
>Escape character is '^]'.
>
>Enter wil give an error. That is normal. If it is not running, you
>should see something like:
>root@houghi # telnet localhost 8118
>Trying 127.0.0.1...
>telnet: connect to address 127.0.0.1: Connection refused
>Trying ::1...
>telnet: connect to address ::1: Connection refused

I get the second scenario.

>When privoxy seems to be running (both above tests are positive) go to
>the proxy settings and set them to localhost on port 8118.

I wish that I could get to that point.  It's embarassing that I can't
get this program to work.

-=   https://home.comcast.net/~d.j.go/   =-





[ Post a follow-up to this message ]



    Re: Privoxy for a newbie  
DG


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-12-04 10:59 PM

Jan Ritzerfeld wrote:
>DG schrieb:
> 
>
>How did you install privoxy?
>1. from SUSE-CD/DVD/FTP with YaST
>2. got the rpm from privoxy home

This is what I did.  I downloaded it.  Then I clicked on "install with
yast"

>3. compiled the source for yourself
> 
>
>If "chkconfig privoxy" says on ...

I must being doing something really wrong.  When I type that I get an
error message.

bash: rcprivoxy: command not found
 
>
>Try "rcprivoxy status".

Same error as above.
 
>
>What output did "rcprivoxy start" produce? done, failed ... ?

bash: rcprivoxy: command not found

>The logfile of privoxy is here: /var/lib/privoxy/log/logfile

What program do I use to look at the logfile?

-=   https://home.comcast.net/~d.j.go/   =-





[ Post a follow-up to this message ]



    Re: Privoxy for a newbie  
Jan Ritzerfeld


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-12-04 10:59 PM

DG schrieb:

> Jan Ritzerfeld wrote: 
>
> This is what I did.  I downloaded it.  Then I clicked on "install with
> yast"

Why didn't you install the SUSE version with YaST?
 
>
> I must being doing something really wrong.  When I type that I get an
> error message.
>
> bash: rcprivoxy: command not found

You must do that as root.
 
>
> Same error as above.

dito
 
>
> bash: rcprivoxy: command not found

dito
 
>
> What program do I use to look at the logfile?

e. g. less. But that's the location for the SUSE privoxy.

MfG,
Jan
--
A liberal is someone too poor to be conservative, and too rich to be a
communist.






[ Post a follow-up to this message ]



    Re: Privoxy for a newbie  
DG


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-12-04 10:59 PM

Karlheinz Klingbeil wrote:

> DG schrub am Montag, 12. Juli 2004 03:06 folgendes:
> 
>
> If you have SuSe
>
> 1. open a root shell
> 2. type /etc/init.d/privoxy start (you should see a
> green "done" after a split second
> 3. configure your browser to use a http proxy on port
> 8118
> 4. type in the url "http://config.privoxy.org" into
> your browser. You should now see a page saying "this
> is privoxy on localhost:8118"
> 5. start yast, go to System->runlevel Editor. In the
> List you should find privoxy. Enable it and save.
> 6. enjoy

That did it.  I did not start it from the root shell.  Holy crap that was
dumb of me.  Now I have it up and running.

It's been less than one week and I'm learning...  So far, so good...

Thanks to all for the help!






[ Post a follow-up to this message ]



    Re: Privoxy for a newbie  
DG


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-12-04 10:59 PM

Jan Ritzerfeld wrote:
>DG schrieb:
> 
>
>Why didn't you install the SUSE version with YaST?

I downloaded the SuSE version.
 
>
>You must do that as root.

Ahhh.....
 
>
>dito

Ahhh....
 
>
>dito

I feel much better that it was user stupidity that created this
problem.  I don't think I'll make that mistake again.
 
>
>e. g. less. But that's the location for the SUSE privoxy.
>
>MfG,
> Jan

-=   https://home.comcast.net/~d.j.go/   =-





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:54 PM.      Post New Thread    Post A Reply      
Pages (2): [1] 2 »   Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 

Back To The Top
Home | Usercp | Faq | Register