[opensuse] trouble starting privoxy
Anyone running privoxy having a problem since upgrade to 13.1 ??? -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/21/2013 01:34 AM, Patrick Shanahan wrote:
Anyone running privoxy having a problem since upgrade to 13.1 ???
- yes : am getting error messages : ................... # systemctl -l status privoxy.service privoxy.service - Privoxy Web Proxy With Advanced Filtering Capabilities Loaded: loaded (/usr/lib/systemd/system/privoxy.service; enabled) Active: failed (Result: exit-code) since Thu 2013-11-21 08:03:14 EET; 3min 28s ago Process: 3424 ExecStart=/usr/sbin/privoxy --pidfile /run/privoxy.pid --user privoxy /etc/privoxy/config (code=exited, status=1/FAILURE) Nov 21 08:03:13 AIG systemd[1]: Starting Privoxy Web Proxy With Advanced Filtering Capabilities... Nov 21 08:03:14 AIG systemd[1]: privoxy.service: control process exited, code=exited status=1 Nov 21 08:03:14 AIG systemd[1]: Failed to start Privoxy Web Proxy With Advanced Filtering Capabilities. Nov 21 08:03:14 AIG systemd[1]: Unit privoxy.service entered failed state. ................................ regards -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* ellanios82
On 11/21/2013 01:34 AM, Patrick Shanahan wrote:
Anyone running privoxy having a problem since upgrade to 13.1 ???
- yes : am getting error messages : ................... # systemctl -l status privoxy.service privoxy.service - Privoxy Web Proxy With Advanced Filtering Capabilities Loaded: loaded (/usr/lib/systemd/system/privoxy.service; enabled) Active: failed (Result: exit-code) since Thu 2013-11-21 08:03:14 EET; 3min 28s ago Process: 3424 ExecStart=/usr/sbin/privoxy --pidfile /run/privoxy.pid --user privoxy /etc/privoxy/config (code=exited, status=1/FAILURE)
Nov 21 08:03:13 AIG systemd[1]: Starting Privoxy Web Proxy With Advanced Filtering Capabilities... Nov 21 08:03:14 AIG systemd[1]: privoxy.service: control process exited, code=exited status=1 Nov 21 08:03:14 AIG systemd[1]: Failed to start Privoxy Web Proxy With Advanced Filtering Capabilities. Nov 21 08:03:14 AIG systemd[1]: Unit privoxy.service entered failed state. ................................ regards
solution is provided in bug#849923 as root, edit /usr/lib/systemd/system/privoxy.service and change line beginning with: ExecStart= to: ExecStart=/usr/sbin/privoxy --chroot --pidfile /run/privoxy.pid --user privoxy /etc/config yours is probably only missing "--chroot" note, I find location of "--chroot" is critical gud luk, -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/21/2013 04:50 PM, Patrick Shanahan wrote: > ExecStart=/usr/sbin/privoxy --chroot --pidfile /run/privoxy.pid --user privoxy /etc/config - many thanks : will give it a try regards -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/22/2013 10:45 AM, ellanios82 wrote: > On 11/21/2013 04:50 PM, Patrick Shanahan wrote: >> ExecStart=/usr/sbin/privoxy --chroot --pidfile /run/privoxy.pid >> --user privoxy /etc/config > - many thanks : will give it a try ___________ - thanks : still no joy . . . still privoxy refuses to start :( regards -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* ellanios82[11-22-13 05:13]: > On 11/22/2013 10:45 AM, ellanios82 wrote: > >On 11/21/2013 04:50 PM, Patrick Shanahan wrote: > >>ExecStart=/usr/sbin/privoxy --chroot --pidfile /run/privoxy.pid --user > >>privoxy /etc/config > > - many thanks : will give it a try > ___________ > > - thanks : still no joy . . . still privoxy refuses to start :( do in order systemctl daemon-reload systemctl start privoxy.service it is working for my and the *only* change required was to add "--chroot" to the privoxy.service script as noted above. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/22/2013 03:31 PM, Patrick Shanahan wrote: > * ellanios82[11-22-13 05:13]: >> On 11/22/2013 10:45 AM, ellanios82 wrote: >>> On 11/21/2013 04:50 PM, Patrick Shanahan wrote: >>>> ExecStart=/usr/sbin/privoxy --chroot --pidfile /run/privoxy.pid --user >>>> privoxy /etc/config >>> - many thanks : will give it a try >> ___________ >> >> - thanks : still no joy . . . still privoxy refuses to start :( > do in order > > systemctl daemon-reload > systemctl start privoxy.service > > it is working for my and the *only* change required was to add "--chroot" > to the privoxy.service script as noted above. _____________ thanks : my /usr/lib/systemd/system/privoxy.service file looks as : [Unit] Description=Privoxy Web Proxy With Advanced Filtering Capabilities After=network.target [Service] Type=forking PIDFile=/run/privoxy.pid ExecStart=/usr/sbin/privoxy --chroot --pidfile /run/privoxy.pid --user privoxy /etc/config [Install] WantedBy=multi-user.target .............. [ i think i must be getting spots-before-the-eyes] after executing : systemctl daemon-reload systemctl start privoxy.service - still . . . i am getting : "Job for privoxy.service failed" ............... [ think i better take our doggie for a walk!] ........... thanks again best regards -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* ellanios82
On 11/22/2013 03:31 PM, Patrick Shanahan wrote: [...]
do in order
systemctl daemon-reload systemctl start privoxy.service
it is working for my and the *only* change required was to add "--chroot" to the privoxy.service script as noted above.
thanks : my
/usr/lib/systemd/system/privoxy.service file looks as :
[Unit] Description=Privoxy Web Proxy With Advanced Filtering Capabilities After=network.target
[Service] Type=forking PIDFile=/run/privoxy.pid ExecStart=/usr/sbin/privoxy --chroot --pidfile /run/privoxy.pid --user privoxy /etc/config
[Install] WantedBy=multi-user.target
..............
[ i think i must be getting spots-before-the-eyes]
after executing : systemctl daemon-reload systemctl start privoxy.service
- still . . . i am getting : "Job for privoxy.service failed"
...............
[ think i better take our doggie for a walk!]
Hoping the doggie enjoyed the walk, try: zypper -v in --force privoxy systemctl daemon-reload systemctl start privoxy.service :^) -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/22/2013 11:59 PM, Patrick Shanahan wrote:
* ellanios82
[11-22-13 09:05]: On 11/22/2013 03:31 PM, Patrick Shanahan wrote: [...]
do in order
systemctl daemon-reload systemctl start privoxy.service
it is working for my and the *only* change required was to add "--chroot" to the privoxy.service script as noted above.
thanks : my
/usr/lib/systemd/system/privoxy.service file looks as :
[Unit] Description=Privoxy Web Proxy With Advanced Filtering Capabilities After=network.target
[Service] Type=forking PIDFile=/run/privoxy.pid ExecStart=/usr/sbin/privoxy --chroot --pidfile /run/privoxy.pid --user privoxy /etc/config
[Install] WantedBy=multi-user.target
..............
[ i think i must be getting spots-before-the-eyes]
after executing : systemctl daemon-reload systemctl start privoxy.service
- still . . . i am getting : "Job for privoxy.service failed"
...............
[ think i better take our doggie for a walk!] Hoping the doggie enjoyed the walk, try:
zypper -v in --force privoxy systemctl daemon-reload systemctl start privoxy.service
_____________ thank you for suggestion. - after trying these, i still did not yet succeed to start privoxy : ____________ output of journalctl -xn : "# journalctl -xn -- Logs begin at Tue 2012-09-04 18:58:29 EEST, end at Sat 2013-11-23 00:10:08 EET. Nov 23 00:08:38 AIG systemd-fstab-generator[22625]: Failed to create mount unit fil Nov 23 00:08:38 AIG systemd-fstab-generator[22625]: Failed to create mount unit fil Nov 23 00:08:38 AIG systemd-fstab-generator[22625]: Failed to create mount unit fil Nov 23 00:08:55 AIG systemd[1]: Starting Privoxy Web Proxy With Advanced Filtering -- Subject: Unit privoxy.service has begun with start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit privoxy.service has begun starting up. Nov 23 00:08:56 AIG systemd[1]: privoxy.service: control process exited, code=exite Nov 23 00:08:56 AIG systemd[1]: Failed to start Privoxy Web Proxy With Advanced Fil -- Subject: Unit privoxy.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/be02cf68 -- -- Unit privoxy.service has failed. -- -- The result is failed. Nov 23 00:08:56 AIG systemd[1]: Unit privoxy.service entered failed state. Nov 23 00:09:15 AIG kernel: SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=90:fb:a6:6d:72:d " ______________ thank you regards [ doggie very old : much pleased with walk] -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* ellanios82
-- Unit privoxy.service has failed. -- -- The result is failed. Nov 23 00:08:56 AIG systemd[1]: Unit privoxy.service entered failed state. Nov 23 00:09:15 AIG kernel: SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=90:fb:a6:6d:72:d "
another attempt: as <user> ps aux |grep privoxy if exist, kill if not proceed privoxy --config-test /etc/privoxy/config if no error presented: privoxy --no-daemon /etc/privoxy/config does it succeed? ps aux |grep privoxy my config contains: grep -v ^# /etc/privoxy/config confdir /etc logdir /log actionsfile match-all.action # Actions that are applied to all sites and maybe overruled later on. actionsfile default.action # Main actions file actionsfile user.action # User customizations filterfile default.filter filterfile user.filter # User customizations logfile logfile debug 4096 # Startup banner and warnings debug 8192 # Non-fatal errors listen-address 127.0.0.1:8118 toggle 1 enable-remote-toggle 0 enable-remote-http-toggle 0 enable-edit-actions 1 enforce-blocks 0 buffer-limit 4096 forwarded-connect-retries 0 accept-intercepted-requests 0 allow-cgi-request-crunching 0 split-large-forms 0 keep-alive-timeout 5 socket-timeout 300 handle-as-empty-doc-returns-ok 1
[ doggie very old : much pleased with walk]
I feel much like doggie, and very old applies :^) -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/23/2013 12:28 AM, Patrick Shanahan wrote:
* ellanios82
[11-22-13 17:16]: [...] -- Unit privoxy.service has failed. -- -- The result is failed. Nov 23 00:08:56 AIG systemd[1]: Unit privoxy.service entered failed state. Nov 23 00:09:15 AIG kernel: SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=90:fb:a6:6d:72:d " another attempt:
as <user> ps aux |grep privoxy if exist, kill if not proceed
privoxy --config-test /etc/privoxy/config if no error presented:
privoxy --no-daemon /etc/privoxy/config
does it succeed? ps aux |grep privoxy
my config contains: grep -v ^# /etc/privoxy/config confdir /etc logdir /log actionsfile match-all.action # Actions that are applied to all sites and maybe overruled later on. actionsfile default.action # Main actions file actionsfile user.action # User customizations filterfile default.filter filterfile user.filter # User customizations logfile logfile debug 4096 # Startup banner and warnings debug 8192 # Non-fatal errors listen-address 127.0.0.1:8118 toggle 1 enable-remote-toggle 0 enable-remote-http-toggle 0 enable-edit-actions 1 enforce-blocks 0 buffer-limit 4096 forwarded-connect-retries 0 accept-intercepted-requests 0 allow-cgi-request-crunching 0 split-large-forms 0 keep-alive-timeout 5 socket-timeout 300 handle-as-empty-doc-returns-ok 1 _____________________
- been thru list : after few adjustments mine now same as above list : my /var/lib/privoxy/log/logfile complains : " 2013-11-23 00:33:29.857 7f60e2153700 Fatal error: can't load re_filterfile '/etc/default.filter': No such file or directory" ........... i have checked that /var/lib/privoxy/etc/default.filter does exist ! .............. think i better take a break ........ many thanks for help regards -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* ellanios82
my /var/lib/privoxy/log/logfile complains : " 2013-11-23 00:33:29.857 7f60e2153700 Fatal error: can't load re_filterfile '/etc/default.filter': No such file or directory" ...........
i have checked that /var/lib/privoxy/etc/default.filter does exist !
and: /etc/privoxy is a link to /var/lib/privoxy/etc/ so you can see /etc/privoxy/default.filter -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/23/2013 04:08 AM, Patrick Shanahan wrote:
and: /etc/privoxy is a link to /var/lib/privoxy/etc/ so you can see /etc/privoxy/default.filter
- a miracle :) - after taking my doggie for another walk : had another look at : /usr/lib/systemd/system/privoxy.service . . . made an adjustment to ONE line, in a line that had become line-wraped : made it a ONE-liner & and, NOW, privoxy is running ............. many thanks for help -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* ellanios82
- a miracle :)
- after taking my doggie for another walk : had another look at :
/usr/lib/systemd/system/privoxy.service
. . . made an adjustment to ONE line, in a line that had become line-wraped : made it a ONE-liner
&
and, NOW, privoxy is running
.............
many thanks for help
It was the "doggie walk" what done it :^) glad you made it. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
ellanios82
-
Patrick Shanahan