<div dir="ltr"><div>Thanks for the reply!</div><div>ha ha - is TOR like shouting Tor? :P</div><div><br></div><div>sudo netstat -tlpn

</div><div>returned the following: <br></div><div><br></div><div>Active Internet connections (only servers)<br>Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    <br>tcp        0      0 <a href="http://127.0.0.1:5939">127.0.0.1:5939</a>          0.0.0.0:*               LISTEN      1342/teamviewerd    <br>tcp        0      0 <a href="http://127.0.0.53:53">127.0.0.53:53</a>           0.0.0.0:*               LISTEN      747/systemd-resolve <br>tcp        0      0 <a href="http://127.0.0.1:631">127.0.0.1:631</a>           0.0.0.0:*               LISTEN      984/cupsd           <br>tcp6       0      0 ::1:631                 :::*                    LISTEN      984/cupsd           <br><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Sep 19, 2018 at 10:14 PM dawuud <<a href="mailto:dawuud@riseup.net">dawuud@riseup.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi.<br>
<br>
(Tor not TOR)<br>
<br>
The log line:<br>
<br>
Sep 19 21:34:24.824 [warn] Could not bind to <a href="http://0.0.0.0:9050" rel="noreferrer" target="_blank">0.0.0.0:9050</a>: Address already in use. Is Tor already running?<br>
<br>
This means that tor cannot start because some other process is already bound to port 9050.<br>
Why not see which other process is bound to port 9050?<br>
<br>
sudo netstat -tlpn<br>
or<br>
lsof -iTCP | grep 9050<br>
<br>
btw typing "tor" into a server isn't the correct way to start tor.<br>
Usually on linux people use systemd to start tor:<br>
<br>
systemctl start tor<br>
<br>
I think the nyx error is pretty clear. Perhaps your tor isn't configured with<br>
a control port.<br>
<br>
I hope this helps but if it doesn't then I hope someone else will be more helpful than I.<br>
<br>
<br>
Cheers,<br>
David<br>
<br>
<br>
On Wed, Sep 19, 2018 at 09:56:52PM +1000, Ben Riley wrote:<br>
> First off, will outline that I am very much a newbie, but was able to get a<br>
> relay up and running on a Ubuntu machine.  It was running fine for maybe 12<br>
> months (MelbTorBox), with a few resets and software updates along the way.<br>
> <br>
> Just doing my bit to help the network.<br>
> <br>
> Anyway, after the Ubuntu upgrade, I had to re-install TOR and I believed I<br>
> did it basically the same way.<br>
> <br>
> Unfortunately, that appears not to be the case.<br>
> I've posted the error messages on the Ubuntu forum hoping to get<br>
> assistance, but no joy:<br>
> <a href="https://askubuntu.com/questions/1070469/18-04-tor-relay-error-could-not-bind-to-0-0-0-09050-address-already-in-use-i" rel="noreferrer" target="_blank">https://askubuntu.com/questions/1070469/18-04-tor-relay-error-could-not-bind-to-0-0-0-09050-address-already-in-use-i</a><br>
> <br>
> I'm now coming to the experts to see if I can resurrect relay before I pull<br>
> the pin on the idea.<br>
> <br>
> I have BASIC Unix knowledge (I can type commands and that's about it). I<br>
> think I might have a couple of copies installed in different places and I<br>
> know I have the TOR browser installed (it works fine).<br>
> <br>
> When I type 'nyx' it replies with:<br>
> Unable to connect to tor. Maybe it's running without a ControlPort?<br>
> <br>
> So I type 'tor' and get<br>
> Sep 19 21:34:24.819 [notice] Tor 0.3.4.8 (git-5da0e95e4871a0a1) running on<br>
> Linux with Libevent 2.1.8-stable, OpenSSL 1.1.0g, Zlib 1.2.11, Liblzma<br>
> 5.2.2, and Libzstd 1.3.3.<br>
> Sep 19 21:34:24.819 [notice] Tor can't help you if you use it wrong! Learn<br>
> how to be safe at <a href="https://www.torproject.org/download/download#warning" rel="noreferrer" target="_blank">https://www.torproject.org/download/download#warning</a><br>
> Sep 19 21:34:24.819 [notice] Read configuration file "/etc/tor/torrc".<br>
> Sep 19 21:34:24.823 [notice] Based on detected system memory,<br>
> MaxMemInQueues is set to 2862 MB. You can override this by setting<br>
> MaxMemInQueues by hand.<br>
> Sep 19 21:34:24.824 [notice] Scheduler type KIST has been enabled.<br>
> Sep 19 21:34:24.824 [notice] Opening Socks listener on <a href="http://127.0.0.1:9050" rel="noreferrer" target="_blank">127.0.0.1:9050</a><br>
> Sep 19 21:34:24.824 [notice] Opening Control listener on <a href="http://127.0.0.1:9051" rel="noreferrer" target="_blank">127.0.0.1:9051</a><br>
> Sep 19 21:34:24.824 [notice] Opening OR listener on <a href="http://0.0.0.0:9001" rel="noreferrer" target="_blank">0.0.0.0:9001</a><br>
> Sep 19 21:34:24.824 [notice] Opening Directory listener on <a href="http://0.0.0.0:9050" rel="noreferrer" target="_blank">0.0.0.0:9050</a><br>
> Sep 19 21:34:24.824 [warn] Could not bind to <a href="http://0.0.0.0:9050" rel="noreferrer" target="_blank">0.0.0.0:9050</a>: Address already<br>
> in use. Is Tor already running?<br>
> Sep 19 21:34:24.824 [notice] Closing partially-constructed Socks listener<br>
> on <a href="http://127.0.0.1:9050" rel="noreferrer" target="_blank">127.0.0.1:9050</a><br>
> Sep 19 21:34:24.824 [notice] Closing partially-constructed Control listener<br>
> on <a href="http://127.0.0.1:9051" rel="noreferrer" target="_blank">127.0.0.1:9051</a><br>
> Sep 19 21:34:24.824 [notice] Closing partially-constructed OR listener on<br>
> <a href="http://0.0.0.0:9001" rel="noreferrer" target="_blank">0.0.0.0:9001</a><br>
> Sep 19 21:34:24.824 [warn] Failed to parse/validate config: Failed to bind<br>
> one of the listener ports.<br>
> Sep 19 21:34:24.824 [err] Reading config failed--see warnings above.<br>
> <br>
> I 'think' my original torrc file may have somehow survived the Ubuntu<br>
> upgrade, but I don't know how as  I did a wipe and re-install of Ubuntu.<br>
> But when I edited it, there were my contact details sitting there.<br>
> <br>
> Very appreciative of any help!<br>
> <br>
> Thanks<br>
> Ben.<br>
<br>
> _______________________________________________<br>
> tor-relays mailing list<br>
> <a href="mailto:tor-relays@lists.torproject.org" target="_blank">tor-relays@lists.torproject.org</a><br>
> <a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays" rel="noreferrer" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays</a><br>
<br>
_______________________________________________<br>
tor-relays mailing list<br>
<a href="mailto:tor-relays@lists.torproject.org" target="_blank">tor-relays@lists.torproject.org</a><br>
<a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays" rel="noreferrer" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays</a><br>
</blockquote></div>