Acabei de instalar o Privoxy no meu Raspberry Pi (rodando Raspbian). No entanto, quando tento iniciá-lo, obtenho os seguintes erros:
$ 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.
Então eu verifiquei os logs, aqui está o que eu recebi:
$ 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'.
Além disso:
$ 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
Eu não consigo entender o que deu errado. A única coisa que eu tinha instalado antes disso (além dos pacotes originais) era o Hamachi. Eu também tentei reiniciar o servidor sem sucesso.
EDIT: Nevermind, esqueci a porta para um endereço IP.