whonixcheck fail: tor.pid does not exist after upgrade from Whonix 11 to Whonix 12

I just updated my Whonix-Gateway (Whonix 11). It had only been a week or less, but it was a big update that took a while.

Anyway, now I am not getting a tor connection.

[ERROR][whonixcheck] Tor Pid Check Result:
Tor not running. (tor_pid_message: Pid file /var/run/tor/tor.pid does not exist.)

You have to fix this error, before you can use Tor.

It’s true that the file doesn’t exist. The only thing in that directory is “control”

What platform/virtualizer?


What’s the output of

sudo service tor status


tor.service - Anonymizing overlay network for TCP (multi-instance-master)
Loaded: (loaded (/lib/systemd/system/tor.service; enabled)
Active: active (exited) since Sat 2015-12-19 17:04:36 UTC; 8min ago
Process: 4331 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 4331 (code= exited, status=0/SUCCESS)
CGROUP: /system.slice/tor.service

oh and below that:

Dec 19 17:04:36 host systemd[1]: Started Anonymizing overlay network for TCP (multi-instance-master).

Sorry, I meant the output of…

sudo service tor@default status

Also see /var/run/tor/log for any errors.

There is no /var/run/tor/log

the only file in there is “control”


sudo ifconfig

See if it shows both interfaces.

Did you make any changes to /etc/network/interfaces some time ago such
as for multiple Whonix-Workstations?

(VirtualBox is now also using

eth0 and eth1 are both there.
eth1 doesn’t have any ip4 info though, it only has an inet6 addresss.
Though i see in the 30_non-qubes-whonix configuration it has an ip of set for eth1. This seems to not be getting used/applied.

I have not changed /etc/network/interfaces for anything. It just has 2 lines for the loopback.

Do you want a screenshot of ifconfig?

Make sure /etc/network/interfaces looks like this.

# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

(The comments starting with # are actually not important. You can skip
them if you wish.)

Then make sure /etc/network/interfaces.d/30_non-qubes-whonix looks
like this:
whonix-gw-network-conf/30_non-qubes-whonix at master · Whonix/whonix-gw-network-conf · GitHub

ooo, it does not, I will change it now.

Everything seems to be working now.
/etc/network/interfaces somehow was reset to a default
I changed it to:

# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

restarted a couple times and have a tor connection.



Just now documented:

this error i have received it with dist-upgrade whonix 14 (gw & ws) vbox

sudo service tor@default restart

will give

Job for tor@default failed because the control process existed with error code. See “systemctl status tor@default.service” and “journalctl -xe” for details.

this is critical error because it will damage the whole connection of whonix after first upgrade.

Note: nothing will fix that except if you entirely restart the whonix system