Im accordance with instruction I added three strings to config file, saved, and made reload of Tor and got such strange error:
ERROR: Tor Config Check Result:
Your Tor config file contains at least one error.
(Tor exit code: 1)
Tor concise reports (below warns and errors must be fixed before you can use Tor):
Mar 01 17:40:32.958 [warn] Option ‘DisableNetwork’ used more than once; all but the last value will be ignored.
Mar 01 17:40:32.958 [warn] Another hidden service is already configured for directory “/var/lib/tor/hidden_service/”
Mar 01 17:40:32.958 [warn] Failed to parse/validate config: Failed to configure rendezvous options. See logs for details.
Mar 01 17:40:32.958 [err] Reading config failed–see warnings above.
Tor full reports:
Mar 01 17:40:32.956 [notice] Tor 0.4.2.6 running on Linux with Libevent 2.1.8-stable, OpenSSL 1.1.1d, Zlib 1.2.11, Liblzma 5.2.4, and Libzstd 1.3.8.
Mar 01 17:40:32.956 [notice] Tor can’t help you if you use it wrong! Learn how to be safe at
Mar 01 17:40:32.957 [notice] Read configuration file “/etc/tor/torrc”.
Mar 01 17:40:32.958 [notice] Included configuration file or directory at recursion level 2: “/usr/local/etc/torrc.d/”.
Mar 01 17:40:32.958 [notice] Included configuration file or directory at recursion level 1: “/etc/torrc.d/”.
Mar 01 17:40:32.958 [notice] Included configuration file or directory at recursion level 2: “/usr/local/etc/torrc.d/”.
Mar 01 17:40:32.958 [notice] Included configuration file or directory at recursion level 1: “/etc/torrc.d/95_whonix.conf”.
Mar 01 17:40:32.958 [warn] Option ‘DisableNetwork’ used more than once; all but the last value will be ignored.
Mar 01 17:40:32.958 [warn] Another hidden service is already configured for directory “/var/lib/tor/hidden_service/”
Mar 01 17:40:32.958 [warn] Failed to parse/validate config: Failed to configure rendezvous options. See logs for details.
Mar 01 17:40:32.958 [err] Reading config failed–see warnings above.
Try to look at this report yourself by running. Start Menu -> System -> Terminal
sudo -u debian-tor tor --verify-config
To try to fix this, please open your Tor config file.
Start Menu -> System -> Torrc
or in Terminal: sudo nano /usr/local/etc/torrc.d/50_user.conf
Please restart Tor after fixing this error.
Start Menu -> System -> Restart Tor
or in Terminal: sudo service tor@default restart
Restart whonixcheck after fixing this error.
Start Menu -> System -> Whonix Check
or in Terminal: whonixcheck
If you know what you are doing, feel free to disable this check. Create a file /etc/whonix.d/50_whonixcheck_user.conf and add:
whonixcheck_skip_functions+=" check_tor_config "
I do not think that above recommendation able resolve it.
If you made more than one .onion, you have to specify separate directories in torrc. Example: First onion uses /var/lib/tor/hidden_service and second can use something like /var/lib/tor/second_hidden_service. If two onions have the same directory set in torrc, you will get an error like the one you have
user@host:~$ sudo cat /var/lib/tor/hidden_service/hostname
[sudo] password for user:
cat: /var/lib/tor/hidden_service/hostname: No such file or directory
user@host:~$
It mean NO ONE hostname there was created at all. I try create FIRST hostname with such config file only:
If I have configured OTHER HIDDEN SERVICE this service must to have HOSTNAME.
If I try obtain ANY hostname I get error:
user@host:~$ sudo cat /var/lib/tor/hidden_service/hostname
[sudo] password for user:
cat: /var/lib/tor/hidden_service/hostname: No such file or directory
I see nobody understand problem.
Look at my config file.
Carefully look.
Are you see here something TWICE ??? !!!
Are see any difference between YOUR CORRECT EXAMPLE and this file ?
How I can fix ERROR WHICH DOES NOT EXISTS in Config file ?
Read all advices from three different persons above and only I want ask what they smoke.
What I MUST REMOVE from this file ???
What ? Where ? Show me my mistake and provide correct code, please.
We will be month speak about something which is not source of error.
This file always was such as you see this file.
File never contained SECOND ONION SERVICE.
Its problem of OS, not file.
Your system prohibit to upload image of screenshot:
After I make reload TOR terminal freezes and TOR BROWSER in Workstation stop to work.
After my three string is commented with # and Tor Reload all will start to work again.
What is it ? Bug of version ?
Previous version of Whonix works on other computer half of year without problems.
And I’m the same person who created config files.
Different are only OS version.
There might be an extraneous file in folder /usr/local/etc/torrc.d such as /usr/local/etc/torrc.d/50_user.conf~ (trailing tilde symbol) which was created by an editor as a backup file.
Mar 03 13:49:37 host systemd[1]: tor@default.service: Service RestartSec=1…tart.
Mar 03 13:49:37 host systemd[1]: tor@default.service: Scheduled restart jo…at 5.
Mar 03 13:49:37 host systemd[1]: Stopped Anonymizing overlay network for TCP.
Mar 03 13:49:37 host systemd[1]: tor@default.service: Start request repeat…ckly.
Mar 03 13:49:37 host systemd[1]: tor@default.service: Failed with result ‘…ode’.
Mar 03 13:49:37 host systemd[1]: Failed to start Anonymizing overlay netwo… TCP.
Mar 03 14:03:45 host systemd[1]: tor@default.service: Unit cannot be reloa…tive.
Hint: Some lines were ellipsized, use -l to show in full.
Please e informed that for VirtualBox there was used the next instruction to a able install guest additions:
With that mounted, type in the below cd /media
• mkdir vbox
• sudo mount /dev/sr0 vbox/
• cd vbox/
•
• Now, the guest installation ISO is mounted as /media/vbox
• Run the Guest additions installer by tying ./VBoxLinuxAdditions.run
And they was installed successfully. May be this code have any influence.
Above requested files etc I will upload soon.
You have to know I have not deep knowledge in Linux, only average info about different operating systems.