#1592 Package not working on OSX Mountain Lion

3.0.21
pending
Ian Silvester
startup (89)
5
2013-11-01
2013-09-09
Geordon
No

I just installed the OSX 10.8.3 version of Privoxy by package and configured my network proxy for Safari as outlined in the instruction. However, there seems to be something not working right with the proxy. When I try to go to the config page, the browser can't connect to the proxy.

When I look for Privoxy in the process list, there is nothing there:

Enso:~ gvantass$ ps -ef|Grep -i privo
501 7612 393 0 3:35PM ttys000 0:00.00 Grep -i privo
Enso:~ gvantass$

I have turned off the Mac firewall, trying to see if that was interfering, but that doesn't help, either. I'm kind of wondering if there is a missing config file somewhere, so would appreciate some guidance as to where those would be.

Thanks!

Discussion

1 2 > >> (Page 1 of 2)
  • Ian Silvester
    Ian Silvester
    2013-09-10

    Hi Geordon,

    Could you screenshot the error you get when trying to browse to the config page? Also in /Applications/Privoxy there should be a link to the install log file - could you attach this to the ticket too?

    Thanks,

    Ian

     
  • Ian Silvester
    Ian Silvester
    2013-09-10

    • assigned_to: nobody --> diem
     
  • Geordon
    Geordon
    2013-09-13

    install.log

     
    Attachments
  • Geordon
    Geordon
    2013-09-13

    I couldn't figure out how to scale the screen cap down to an acceptable size at 1:00 AM (in the middle of 6 chapters for the week. Ugh. College. :D ), so I uploaded it to my Dropbox: https://www.dropbox.com/s/0y6sod3h62nu5ni/privoxy.png

    I *do* have the privoxy process running at this time, after a complete fresh uninstall/reinstall of the package.

    I don't know if it's useful, but I am also running DNSCrypt and OpenDNS on the desktop that I want to install Privoxy on.

     
  • Geordon
    Geordon
    2013-09-13

    Further info: I did a full reboot and Privoxy did not auto start. However, I can force load it (launchctl load org.ijbswa.privoxy.plist) and it comes up.

    Also, now, if I re-set the proxy for localhost and port, Privoxy config comes up. So, something doesn't seem to like starting itself, it seems.

     
  • Ian Silvester
    Ian Silvester
    2013-09-13

    Hi Geordon,

    Okay then there's two things to do:

    - enable Privoxy logging (as described here: http://www.privoxy.org/user-manual/contact.html\) and send us a log extract
    - take a look in your system logs using Console - this will contain whatever error is causing the launchitem to fail (although it does look like a Privoxy internal error)

    I'm interested in your comment regarding "resetting the proxy for localhost and port" . Does this mean you had reconfigured the address Privoxy listens on? Perhaps the error is that it could not bind to that address/port?

    Ian

     
  • Geordon
    Geordon
    2013-09-13

    Oh, nothing of the sort, Ian. I meant that I changed the network preference settings to look for/not look for the proxy on 127.0.0.1:8118

    This morning, it would seem that there is no Privoxy running again I get the "can't connect to proxy server" page when trying to go to the config page. Then, when I look for the process I get this:

    Enso:LaunchDaemons gvantass$ ps -ef|Grep privoxy
    501 94704 10973 0 12:47PM ttys000 0:00.00 Grep privoxy
    Enso:LaunchDaemons gvantass$ launchctl load org.ijbswa.privoxy.plist
    org.ijbswa.privoxy: Already loaded
    Enso:LaunchDaemons gvantass$

    Unloading and reloading the .plist doesn't start the proxy again. So I rebooted but Privoxy didn't coma back up, nor can I manually start it. Truth be told, I'm stumped.

     
  • Ian Silvester
    Ian Silvester
    2013-09-14

    Okay so definitely do the two things I suggested:

    - enable logging as per my previous reply and attach a log to your next post - if Privoxy is at least being called and then failing to start this log should tell us why.
    - have a poke in Console and see if you can find an actual error code for the failed launchdaemon start

    Ian

     
  • Geordon
    Geordon
    2013-09-14

    launchctl listing

     
  • Geordon
    Geordon
    2013-09-14

    Debud level statements from config

     
  • Geordon
    Geordon
    2013-09-14

    console log from starting Privoxy via launchctl

     
    Attachments
  • Geordon
    Geordon
    2013-09-14

    Took me a bit to get the launchctl logging figured out, but I think I got what you're looking for in the "privoxy start log" file attached. For some reason, SourceForge doesn't like my (empty) Privoxy log file, keeps telling me that the file can't be more than 256k

     
  • Ian Silvester
    Ian Silvester
    2013-09-16

    Hi Geordon,

    What result do you get if you run Privoxy directly from the command line? It'll not want to start due to being the wrong user, but I'm keen to see what the log contains.

    Cheers,

    Ian

     
  • Geordon
    Geordon
    2013-09-17

    Error page when trying to access config

     
    Attachments
  • Geordon
    Geordon
    2013-09-17

    Working logfile.log

     
    Attachments
  • Geordon
    Geordon
    2013-09-17

    web config options

     
    Attachments
  • Geordon
    Geordon
    2013-09-17

    ls /Applications/Privoxy

     
  • Geordon
    Geordon
    2013-09-17

    ls /usr/local/etc/privoxy

     
  • Geordon
    Geordon
    2013-09-17

    After some file movement gymnastics, I got Privoxy to start from the command line. However, it wanted to see the config file in /Applications/Privoxy

    I did a little looking around, and am left wondering if the config file in /Apps/Privoxy should be a symlink to the one in /usr/local/etc/privoxy

     
  • Ian Silvester
    Ian Silvester
    2013-09-17

    Okay so at least it runs when run directly, so it must be something to do with invoking it as a LaunchDaemon.

    As an admin, please execute:

    /bin/launchctl unload /Library/LaunchDaemons/org.ijbswa.privoxy.plist

    then:

    /bin/launchctl load /Library/LaunchDaemons/org.ijbswa.privoxy.plist

    and then send me:

    - a terminal window screenshot (only if any errors are displayed)
    - a copy of the messages logged in Console
    - your install.log
    - /Library/LaunchDaemons/org.ijbswa.privoxy.plist

    The reason by the way that it wanted the config file in the dir where you ran it from (the ownership tells me you moved it there?) is because it only looks in the CWD when the config path and file are not specified on the command line, so in fact no symlink is required.

    Cheers,

    Ian

     
  • Geordon
    Geordon
    2013-09-24

    I think that I missed your last update, Ian. Forgive me.

    There were no error messages when manually un/loading the plist file via sudo
    Console messages attached
    plist file attached.

     
  • Geordon
    Geordon
    2013-09-24

     
    Attachments
  • Geordon
    Geordon
    2013-09-24

    plist file

     
  • Ian Silvester
    Ian Silvester
    2013-09-24

    No problem Geordon,

    Could you also send screenshots of directory listings of:

    /usr/local/sbin
    /Library/LaunchDaemons/org.ijbswa.privoxy.plist

    At this point my Googling suggests that the error in Console is either down to permissions of the launchd plist or privoxy itself, or an error thrown out by Privoxy itself when started by launchd. The screenshots will help rule out the former.

    Cheers,

    Ian

     
  • Geordon
    Geordon
    2013-09-25

     
    Attachments
1 2 > >> (Page 1 of 2)