I can't start tor

I have manjaro rolling. When I execute sudo systemctl restart tor.service or sudo systemctl start tor.service, I get this error:
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.
What is the problem? I could use tor for some days ago.

The log file mentioned in the message yielded nothing?

Hi @RezaHoss,

There is only one version of Manjaro.

No-one would know without looking somewhere, and

It actually tells you where to look.

Please do as the message said, and provide the output for:

systemctl status tor.service

and

journalctl -xeu tor.service

:bangbang: Tip: :bangbang:

When posting terminal output, copy the output and paste it here, wrapped in three (3) backticks, before AND after the pasted text. Like this:

```
pasted text
```

Or 3 (three) tilde signs, like this:

~~~
pasted text
~~~

This will just cause it to be rendered like this:

Sed
sollicitudin dolor
eget nisl elit id
condimentum
arcu erat varius
cursus sem quis eros.

Instead of like this:

Sed sollicitudin dolor eget nisl elit id condimentum arcu erat varius cursus sem quis eros.

Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.

Thereby increasing legibility thus making it easier for those trying to provide assistance.

For more information, please see:


:bangbang::bangbang: Also, if your language isn’t English, please prepend any and all terminal commands with LC_ALL=C. For example:

LC_ALL=C bluetoothctl

This will just cause the terminal output to be in English, making it easier to understand and debug.

This is last part of journalctl -xeu tor.service:

░░ Subject: A start job for unit tor.service has failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░ 
░░ A start job for unit tor.service has finished with a failure.
░░ 
░░ The job identifier is 5545 and the job result is failed.

And systemctl status tor.service:

× tor.service - Anonymizing overlay network for TCP
     Loaded: loaded (/usr/lib/systemd/system/tor.service; enabled; preset: disabled)
     Active: failed (Result: exit-code) since Tue 2023-01-03 19:28:43 +0330; 59min ago
    Process: 10646 ExecStartPre=/usr/bin/tor -f /etc/tor/torrc --verify-config (code=exited, status=1/FAILURE)
        CPU: 21ms

ژانویه 03 19:28:43 reza-manjaro systemd[1]: tor.service: Scheduled restart job, restart counter is at 5.
ژانویه 03 19:28:43 reza-manjaro systemd[1]: Stopped Anonymizing overlay network for TCP.
ژانویه 03 19:28:43 reza-manjaro systemd[1]: tor.service: Start request repeated too quickly.
ژانویه 03 19:28:43 reza-manjaro systemd[1]: tor.service: Failed with result 'exit-code'.
ژانویه 03 19:28:43 reza-manjaro systemd[1]: Failed to start Anonymizing overlay network for TCP.

NOTE: ژانویه is january

Why only the last part?
Where it says that it has failed - but not why.
That may be in there, but before what you shared.

anyway - if I read that correctly:

there seems to be something wrong with the configuration file

I was using tor with this config with no problem.

░░ Subject: A start job for unit tor.service has failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░ 
░░ A start job for unit tor.service has finished with a failure.
░░ 
░░ The job identifier is 5444 and the job result is failed.
ژانویه 03 19:28:43 reza-manjaro systemd[1]: tor.service: Scheduled restart job, restart counter is at 5.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░ 
░░ Automatic restarting of the unit tor.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
ژانویه 03 19:28:43 reza-manjaro systemd[1]: Stopped Anonymizing overlay network for TCP.
░░ Subject: A stop job for unit tor.service has finished
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░ 
░░ A stop job for unit tor.service has finished.
░░ 
░░ The job identifier is 5545 and the job result is done.
ژانویه 03 19:28:43 reza-manjaro systemd[1]: tor.service: Start request repeated too quickly.
ژانویه 03 19:28:43 reza-manjaro systemd[1]: tor.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░ 
░░ The unit tor.service has entered the 'failed' state with result 'exit-code'.
ژانویه 03 19:28:43 reza-manjaro systemd[1]: Failed to start Anonymizing overlay network for TCP.
░░ Subject: A start job for unit tor.service has failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░ 
░░ A start job for unit tor.service has finished with a failure.
░░ 
░░ The job identifier is 5545 and the job result is failed.

yet, this is the error message that I see :man_shrugging:

Surprisengly when I removed a bridge from torrc, the problem solved!

Hey man!
I have the exact same problem.
Could tell me exactly what you change to get past this error message?

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.