无法开始私有化


0

我刚刚将Privoxy安装到我的Raspberry Pi上(运行Raspbian)。但是,当我尝试启动它时,我收到以下错误:

$ service privoxy start
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to start 'privoxy.service'.
Authenticating as: root
Password: 
==== AUTHENTICATION COMPLETE ===
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 Wed 2018-08-22 00:49:15 UTC; 3min 23s ago
     Docs: man:privoxy(8)
           https://www.privoxy.org/user-manual/
  Process: 1521 ExecStart=/usr/sbin/privoxy --pidfile $PIDFILE --user $OWNER $CONFIGFILE (code=exited, status=1/FAILURE)
 Main PID: 31551 (code=exited, status=15)

Aug 22 00:49:14 raspberrypi systemd[1]: Starting Privacy enhancing HTTP Proxy...
Aug 22 00:49:15 raspberrypi systemd[1]: privoxy.service: Control process exited, code=exited status=1
Aug 22 00:49:15 raspberrypi systemd[1]: Failed to start Privacy enhancing HTTP Proxy.
Aug 22 00:49:15 raspberrypi systemd[1]: privoxy.service: Unit entered failed state.
Aug 22 00:49:15 raspberrypi systemd[1]: privoxy.service: Failed with result 'exit-code'.

也:

$ journalctl -xe

...

Aug 22 00:49:09 raspberrypi polkitd(authority=local)[31919]: Registered Authentication Agent for unix-process:1487:650260 (system bus name :1.104 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US) (disconnected from bus)
Aug 22 00:49:14 raspberrypi polkitd(authority=local)[31919]: Operator of unix-process:1487:650260 successfully authenticated as unix-user:root to gain ONE-SHOT authorization for action org.freedesktop.systemd1.manage-units for system-bus-name::1.105 [systemctl start privoxy.service] (owned by unix-user:pi)
Aug 22 00:49:14 raspberrypi systemd[1]: Starting Privacy enhancing HTTP Proxy...
-- Subject: Unit privoxy.service has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- Unit privoxy.service has begun starting up.
Aug 22 00:49:15 raspberrypi systemd[1]: privoxy.service: Control process exited, code=exited status=1
Aug 22 00:49:15 raspberrypi systemd[1]: Failed to start Privacy enhancing HTTP Proxy.
-- Subject: Unit privoxy.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- Unit privoxy.service has failed.
-- 
-- The result is failed.
Aug 22 00:49:15 raspberrypi systemd[1]: privoxy.service: Unit entered failed state.
Aug 22 00:49:15 raspberrypi systemd[1]: privoxy.service: Failed with result 'exit-code'.
Aug 22 00:49:15 raspberrypi polkitd(authority=local)[31919]: Unregistered Authentication Agent for unix-process:1487:650260 (system bus name :1.104, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, l
Aug 22 00:49:27 raspberrypi sshd[1537]: Received disconnect from 142.93.13.238 port 57518:11: Bye Bye [preauth]
Aug 22 00:49:27 raspberrypi sshd[1537]: Disconnected from 142.93.13.238 port 57518 [preauth]
Aug 22 00:50:08 raspberrypi sudo[1552]:       pi : TTY=pts/0 ; PWD=/home/pi ; USER=root ; COMMAND=/usr/bin/apt update privoxy
Aug 22 00:50:08 raspberrypi sudo[1552]: pam_unix(sudo:session): session opened for user root by pi(uid=0)
Aug 22 00:50:08 raspberrypi sudo[1552]: pam_unix(sudo:session): session closed for user root
Aug 22 00:50:12 raspberrypi sudo[1560]:       pi : TTY=pts/0 ; PWD=/home/pi ; USER=root ; COMMAND=/usr/bin/apt update
Aug 22 00:50:12 raspberrypi sudo[1560]: pam_unix(sudo:session): session opened for user root by pi(uid=0)
Aug 22 00:50:14 raspberrypi sudo[1560]: pam_unix(sudo:session): session closed for user root

我似乎无法理解出了什么问题。在此之前我唯一安装的东西(除原始包装外)是Hamachi。我也试过重启服务器无济于事。

编辑:没关系,忘了端口的IP地址。


1
如果您尝试手动启动privoxy会发生什么?你能试试吗? / var / log / privoxy / logfile的内容是什么?
Aulis Ronkainen
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.