Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tor.service fails #31

Open
evanescente-ondine opened this issue Mar 19, 2023 · 3 comments
Open

tor.service fails #31

evanescente-ondine opened this issue Mar 19, 2023 · 3 comments

Comments

@evanescente-ondine
Copy link

Running sudo torctl start fails on me, can you tell if it's your software or tor itself or anything else ?

drm@dr-80qr ~ (main) [1]> sudo torctl start
[sudo] password for drm: 
--==[ torctl.sh by blackarch.org ]==--

[!] WARNING: backing up tor config
[+] backed up tor config
[*] backing up nameservers
[+] backed up nameservers
[*] backing up iptables rules
[+] backed up iptables rules
[*] backing up sysctl rules
[+] backed up sysctl rules
[!] WARNING: configuring tor
[+] configured tor
[!] WARNING: configuring nameservers
[+] configured nameservers
[!] WARNING: tor is running
[*] reloading tor service
Job for tor.service failed.
See "systemctl status tor.service" and "journalctl -xeu tor.service" for details.
[-] ERROR: unable to reload tor service

and the content of journalctl:

rm@dr-80qr ~/travail (main) [1]> journalctl -xeu tor.service
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A reload job for unit tor.service has finished.
░░ 
░░ The job identifier is 22189 and the job result is failed.
mars 19 12:49:45 dr-80qr systemd[1]: Reloading Anonymizing overlay network for TCP...
░░ Subject: A reload job for unit tor.service has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A reload job for unit tor.service has begun execution.
░░ 
░░ The job identifier is 22454.
mars 19 12:49:45 dr-80qr kill[471107]: kill: sending signal to 468977 failed: Operation not permitted
mars 19 12:49:45 dr-80qr systemd[1]: tor.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ An ExecReload= process belonging to unit tor.service has exited.
░░ 
░░ The process' exit code is 'exited' and its exit status is 1.
mars 19 12:49:45 dr-80qr systemd[1]: Reload failed for Anonymizing overlay network for TCP.
░░ Subject: A reload job for unit tor.service has finished
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A reload job for unit tor.service has finished.
░░ 
░░ The job identifier is 22454 and the job result is failed.

thanks ! it's pretty important as I'll be going to a repressive country

@chrispoop123456
Copy link

  1. systemctl stop tor.service
  2. systemctl disable tor.service
  3. sudo torctl start

this should work

@evanescente-ondine
Copy link
Author

evanescente-ondine commented Mar 19, 2023

nope

drm@dr-80qr ~ (main)> sudo systemctl stop tor.service
drm@dr-80qr ~ (main)> sudo systemctl disable tor.service
Removed "/etc/systemd/system/multi-user.target.wants/tor.service".
drm@dr-80qr ~ (main)> sudo torctl start
[sudo] password for drm: 
--==[ torctl.sh by blackarch.org ]==--

[!] WARNING: backing up tor config
[+] backed up tor config
[*] backing up nameservers
[+] backed up nameservers
[*] backing up iptables rules
[+] backed up iptables rules
[*] backing up sysctl rules
[+] backed up sysctl rules
[!] WARNING: configuring tor
[+] configured tor
[!] WARNING: configuring nameservers
[+] configured nameservers
[!] WARNING: tor is not started
[*] starting tor service
Job for tor.service failed because the control process exited with error code.
See "systemctl status tor.service" and "journalctl -xeu tor.service" for details.
[-] ERROR: unable to start tor service

@noraj noraj changed the title tor.service fails... I think tor.service fails Mar 19, 2023
@noraj
Copy link

noraj commented Mar 19, 2023

Did you try to launch it after a pacman -Syu without restarting? If yes did you try systemctl daemon-reload && systemctl restart tor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants