View previous topic :: View next topic |
Author |
Message |
dennisn Tux's lil' helper
Joined: 01 Aug 2004 Posts: 119 Location: Montreal, Canada
|
Posted: Wed Jul 14, 2021 5:46 pm Post subject: net-vpn/tor fails to start: Socket creation failed |
|
|
After upgrading net-vpn/tor, it failed to start:
[warn] Socket creation failed: Address family not supported by protocol
[warn] Failed to parse/validate config: Failed to bind one of the listener ports.
The error message wasn't very helpful, nor was /etc/tor/torrc.sample.
It turns out that the problem was that I didn't have ipv6 support. To fix it I had to append "IPv4Only" to ORPort in torrc:
eg.
ORPort 6969 IPv4Only |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21631
|
Posted: Thu Jul 15, 2021 1:20 am Post subject: |
|
|
Please consider filing a problem report with the Tor project, requesting that they produce a better error message in this case. The program knew which address family it was requesting, and if it had instead written Socket creation failed for AF_INET6 address address, you might have found the solution more readily. I suspect most people leave IPv6 support enabled in the kernel, even if they do not use IPv6 over the Internet at large. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|