دوستان privoxy رو نصب کردم و اینجوری کانفیگش کردم:
logdir /var/log/privoxy
listen-address 0.0.0.0:8118
forward-socks5t / 127.0.0.1:9050 .
forward 192.168.*.*/ .
forward 10.*.*.*/ .
forward 127.*.*.*/ .
forward localhost/ .
حالا وقتی میخوام فعالش کنم این خروجی رو بهم میده :
Synchronizing state of privoxy.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable privoxy
و موقع استارت و ریستارت هم این خروجی رو دارم:
Job for privoxy.service failed because the control process exited with error code.
See "systemctl status privoxy.service" and "journalctl -xe" for details.
خروجی دستور systemctl status privoxy.service هم این هست:
● privoxy.service - Privacy enhancing HTTP Proxy
Loaded: loaded (/lib/systemd/system/privoxy.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2017-11-23 13:53:03 +0330; 1min 24s ago
Docs: man:privoxy(8)
https://www.privoxy.org/user-manual/
Process: 9561 ExecStopPost=/bin/rm -f $PIDFILE (code=exited, status=0/SUCCESS)
Process: 9559 ExecStart=/usr/sbin/privoxy --pidfile $PIDFILE --user $OWNER $CONFIGFILE (code=exited, status=1/FAILURE)
Main PID: 6524 (code=exited, status=15)
Nov 23 13:53:02 mehran systemd[1]: Starting Privacy enhancing HTTP Proxy...
Nov 23 13:53:03 mehran systemd[1]: privoxy.service: Control process exited, code=exited status=1
Nov 23 13:53:03 mehran systemd[1]: Failed to start Privacy enhancing HTTP Proxy.
Nov 23 13:53:03 mehran systemd[1]: privoxy.service: Unit entered failed state.
Nov 23 13:53:03 mehran systemd[1]: privoxy.service: Failed with result 'exit-code'.
این هم محتویات فایل لاگش هست:
2017-11-23 13:33:53.237 7fc6be462500 Fatal error: can't bind to 0.0.0.0:8118: There may be another Privoxy or some other proxy running on port 8118
2017-11-23 13:35:30.160 7f5752f89500 Fatal error: can't bind to 0.0.0.0:8118: There may be another Privoxy or some other proxy running on port 8118
2017-11-23 13:40:21.597 7f9f38ede500 Fatal error: can't bind to 0.0.0.0:8118: There may be another Privoxy or some other proxy running on port 8118
مشکل از کجاست و راه حلش چیه؟