[Nfd-dev] bind: Permission denied

Thompson, Jeff jefft0 at remap.ucla.edu
Thu Aug 24 16:41:22 PDT 2017


Below is the output on Ubuntu. Similar for OS X.


1503617959.117417 INFO: [CsPolicy] setLimit 10

1503617959.117509 INFO: [StrategyChoice] setDefaultStrategy /localhost/nfd/strategy/best-route/%FD%05

1503617959.123344 INFO: [InternalForwarderTransport] [id=0,local=null://,remote=null://] Creating transport

1503617959.123483 INFO: [FaceTable] Added face id=255 remote=null:// local=null://

1503617959.123544 INFO: [InternalForwarderTransport] [id=0,local=contentstore://,remote=contentstore://] Creating transport

1503617959.123599 INFO: [FaceTable] Added face id=254 remote=contentstore:// local=contentstore://

1503617959.123637 INFO: [InternalForwarderTransport] [id=0,local=internal://,remote=internal://] Creating transport

1503617959.127239 INFO: [FaceTable] Added face id=1 remote=internal:// local=internal://

1503617959.127757 WARNING: [CommandAuthenticator] 'certfile any' is intended for demo purposes only and SHOULD NOT be used in production environments

1503617959.127972 INFO: [StrategyChoice] changeStrategy(/ndn/broadcast) /localhost/nfd/strategy/best-route/%FD%05 -> /localhost/nfd/strategy/multicast/%FD%03

1503617959.128014 INFO: [StrategyChoice] changeStrategy(/localhost) /localhost/nfd/strategy/best-route/%FD%05 -> /localhost/nfd/strategy/multicast/%FD%03

1503617959.128045 INFO: [StrategyChoice] changeStrategy(/localhost/nfd) /localhost/nfd/strategy/multicast/%FD%03 -> /localhost/nfd/strategy/best-route/%FD%05

1503617959.128066 INFO: [CsPolicy] setLimit 65536

1503617959.128081 INFO: [CsPolicy] setLimit 65536

1503617959.128100 INFO: [EthernetFactory] enabling multicast on 01:00:5e:00:17:aa

1503617959.128141 INFO: [TcpChannel] [tcp4://0.0.0.0:6363] Creating channel

1503617959.128194 INFO: [TcpChannel] [tcp6://[::]:6363] Creating channel

1503617959.128242 INFO: [UdpChannel] [udp4://0.0.0.0:6363] Creating channel

1503617959.128278 INFO: [UdpChannel] [udp6://[::]:6363] Creating channel

1503617959.128305 INFO: [UdpFactory] enabling multicast on 224.0.23.170:56363

1503617959.128388 INFO: [UnixStreamChannel] [unix:///run/nfd.sock] Creating channel

1503617959.130160 FATAL: [NFD] bind: Permission denied


From: Eric Newberry <enewberry at email.arizona.edu<mailto:enewberry at email.arizona.edu>>
Date: Thursday, August 24, 2017 at 16:36:00
To: Jeff Thompson <jefft0 at remap.ucla.edu<mailto:jefft0 at remap.ucla.edu>>, nfd-dev <nfd-dev at lists.cs.ucla.edu<mailto:nfd-dev at lists.cs.ucla.edu>>
Subject: Re: [Nfd-dev] bind: Permission denied


Very strange. Does nfd-start produce any output besides what you listed before, perhaps even only one line at the very top of the output?

Eric

On 08/24/2017 04:31 PM, Thompson, Jeff wrote:
If I just run “nfd start”, it fails and doesn’t start. Previously, when I run “nfd start” it would prompt for the sudo password for running the daemon. Now, it doesn’t prompt.
- Jeff T

From: Nfd-dev <nfd-dev-bounces at lists.cs.ucla.edu<mailto:nfd-dev-bounces at lists.cs.ucla.edu>> on behalf of Eric Newberry <enewberry at email.arizona.edu<mailto:enewberry at email.arizona.edu>>
Date: Thursday, August 24, 2017 at 16:15:00
To: nfd-dev <nfd-dev at lists.cs.ucla.edu<mailto:nfd-dev at lists.cs.ucla.edu>>
Subject: Re: [Nfd-dev] bind: Permission denied


Jeff,

Is the background daemon being started as root?

Eric

On 08/24/2017 04:14 PM, Thompson, Jeff wrote:
Hi NFD devs,

I updated NFD on Ubuntu. Now when I do “nfd start” it says

[UnixStreamChannel] [unix:///run/nfd.sock] Creating channel]

FATAL: [NFD] bind: Permission denied

I also get similar behavior on my OS X computer. I am able to run NFD when I do “sudo nfd start” which runs NFD in the foreground. But I can’t run it as a background daemon with “nfd start”.

Thanks for any ideas,
- Jeff T



_______________________________________________
Nfd-dev mailing list
Nfd-dev at lists.cs.ucla.edu<mailto:Nfd-dev at lists.cs.ucla.edu>http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20170824/0a53cc30/attachment.html>


More information about the Nfd-dev mailing list