darkdump
darkdump copied to clipboard
Tor doesnt start - seems like the torrc config is wrong
Hello,
tor does not start, although the service is running.
The file /etc/tor/torrc
is completely commented out. I have inserted at the end of the file (without brackets and tested with brackets):
root@ubuntu-desktop:/home/xxx# tor
Feb 15 21:20:55.647 [notice] Tor 0.4.6.10 running on Linux with Libevent 2.1.12-stable, OpenSSL 3.0.2, Zlib 1.2.11, Liblzma 5.2.5, Libzstd 1.4.8 and Glibc 2.35 as libc.
Feb 15 21:20:55.648 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://support.torproject.org/faq/staying-anonymous/
Feb 15 21:20:55.648 [notice] Read configuration file "/etc/tor/torrc".
Feb 15 21:20:55.649 [warn] Failed to parse/validate config: Bad HashedControlPassword: wrong length or bad encoding
Feb 15 21:20:55.649 [err] Reading config failed--see warnings above.
ControlPort 9051
HashedControlPassword 5BC6.....
root@ubuntu-desktop:/home/xxx/darkdump# systemctl status tor
● tor.service - Anonymizing overlay network for TCP (multi-instance-master)
Loaded: loaded (/lib/systemd/system/tor.service; enabled; vendor preset: enabled)
Active: active (exited) since Sat 2025-02-15 21:06:27 CET; 6min ago
Process: 4435 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 4435 (code=exited, status=0/SUCCESS)
CPU: 2ms
Feb 15 21:06:27 ubuntu-desktop systemd[1]: Stopped Anonymizing overlay network for TCP (multi-instance-master).
Feb 15 21:06:27 ubuntu-desktop systemd[1]: Stopping Anonymizing overlay network for TCP (multi-instance-master)...
Feb 15 21:06:27 ubuntu-desktop systemd[1]: Starting Anonymizing overlay network for TCP (multi-instance-master)...
Feb 15 21:06:27 ubuntu-desktop systemd[1]: Finished Anonymizing overlay network for TCP (multi-instance-master).
root@ubuntu-desktop:/home/xxx/darkdump# ps aux | grep tor
xxx 2278 0.0 0.1 236844 6528 ? Ssl 20:49 0:00 /usr/libexec/xdg-permission-store
xxx 2328 0.0 0.1 92288 5504 ? Ssl 20:49 0:00 /usr/libexec/gnome-session-ctl --monitor
xxx 2490 0.0 0.2 390492 11392 ? Ssl 20:49 0:00 /usr/libexec/gvfs-udisks2-volume-monitor
xxx 2500 0.0 0.7 841320 31360 ? Ssl 20:49 0:00 /usr/libexec/evolution-calendar-factory
xxx 2501 0.0 0.1 237972 6912 ? Ssl 20:49 0:00 /usr/libexec/gvfs-gphoto2-volume-monitor
xxx 2505 0.0 0.1 237016 6656 ? Ssl 20:49 0:00 /usr/libexec/gvfs-mtp-volume-monitor
xxx 2511 0.0 0.2 315796 8320 ? Ssl 20:49 0:00 /usr/libexec/gvfs-afc-volume-monitor
xxx 2516 0.0 0.1 237220 6400 ? Ssl 20:49 0:00 /usr/libexec/gvfs-goa-volume-monitor
xxx 2543 0.0 0.7 673100 29184 ? Ssl 20:49 0:00 /usr/libexec/evolution-addressbook-factory
root 4503 0.0 0.0 9608 2560 pts/1 S+ 21:11 0:00 grep --color=auto tor
root@ubuntu-desktop:/home/xxx/darkdump# ss -tulpn | grep LISTEN
tcp LISTEN 0 128 0.0.0.0:22 0.0.0.0:* users:(("sshd",pid=737,fd=3))
tcp LISTEN 0 4096 127.0.0.53%lo:53 0.0.0.0:* users:(("systemd-resolve",pid=477,fd=14))
tcp LISTEN 0 128 127.0.0.1:631 0.0.0.0:* users:(("cupsd",pid=707,fd=7))
tcp LISTEN 0 128 [::]:22 [::]:* users:(("sshd",pid=737,fd=4))
tcp LISTEN 0 128 [::1]:631 [::]:* users:(("cupsd",pid=707,fd=6))