[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-relays] Relay configuration issue "Could not bind to 0.0.0.0:443: Permission denied"



Removed and reinstalled Tor. Now works fine.
Appreciate your prompt answers guys!

On Fri, Jan 22, 2016 at 10:42 AM, Louie Cardone-Noott <lcn@xxxxxxxxxxxx> wrote:
Try restart instead of reload.
Â
It looks like you've installed from a package, which allows the daemon to bind to any port then "drop privileges" (according to the FAQ).
Â
https://www.torproject.org/docs/faq.html.en#PackagedTor
Â
Â
On Mon, 18 Jan 2016, at 12:26 AM, AJ NOURI wrote:
sudo service tor reload
Â
  Â* Reloading tor daemon configuration...   Â[fail]Â
Â
Â
/var/log/tor/log
Â
  Jan 08 08:01:25.000 [notice] Tor 0.2.7.6 (git-605ae665009853bd) opening new log file.
  Jan 08 10:19:40.000 [notice] Heartbeat: Tor's uptime is 3 days 0:00 hours, with 0 circuits open. I've sent 1.17 MB and received 28.04 MB.
  Jan 08 12:31:58.000 [notice] Received reload signal (hup). Reloading config and resetting internal state.
  Jan 08 12:31:58.000 [notice] Read configuration file "/usr/share/tor/tor-service-defaults-torrc".
  Jan 08 12:31:58.000 [notice] Read configuration file "/etc/tor/torrc".
  Jan 08 12:31:58.000 [notice] Based on detected system memory, MaxMemInQueues is set to 5988 MB. You can override this by setting MaxMemInQueues by hand.
  Jan 08 12:31:58.000 [notice] Opening OR listener on 0.0.0.0:443
  Jan 08 12:31:58.000 [warn] **Could not bind to 0.0.0.0:443: Permission denied**
  Jan 08 12:31:58.000 [warn] Failed to parse/validate config: Failed to bind one of the listener ports.
  Jan 08 12:31:58.000 [err] Reading config failed--see warnings above. For usage, try -h.
  Jan 08 12:31:58.000 [warn] Restart failed (config error?). Exiting.
Â
Â
Â
Configuration /etc/tor/torrc
Â
  ORPort 443
  Nickname ididnteditheconfig
  RelayBandwidthRate 1000 KBytes Â# Throttle traffic to 100KB/s (800Kbps)
  RelayBandwidthBurst 2000 KBytes # But allow bursts up to 200KB (1600Kb)
  ExitPolicy reject *:*
Â
Â
Opened 443 port on the Internet box:
Inline image 1
Â
Port 443 locally opened: Â
ss -tunlp | grep 443
Â
  tcp  ÂLISTEN   0   Â128          Â*:443          *:*  ÂÂ
  tcp  ÂLISTEN   0   Â128          :::443         Â:::* Â
Â
Â
_______________________________________________
tor-relays mailing list

Email had 1 attachment:

  • image.png
    Â 61k (image/png)
Â

_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays