[Pdns-users] Error with rec_control reload

Aki Tuomi cmouse at cmouse.fi
Mon May 7 07:16:34 UTC 2018



On 07.05.2018 09:58, MRob wrote:
> On 2018-05-07 06:50, Aki Tuomi wrote:
>> On 07.05.2018 09:48, MRob wrote:
>>> Hi can anyone explain what this means and if it is important or can be
>>> ignored? I only find unanswered mailing list posts about it.
>>>
>>> $ sudo rec_control reload-lua-script
>>> pdns_recursor: Error dealing with control socket request: Unable to
>>> send message over control channel '/var/run/lsockl2eLnQ': No such file
>>> or directory
>>>
>>> Because of this error do I presume reload failed? Must I execute
>>> service restart of recursor?
>>>
>>
>> This sounds like you are using chroot?
>
> Not that I know of.
>
>> If so, you need to configure the
>> control socket to /var/run/pdns and then make sure you symlink or
>> bind-mount it to outside the chroot under /var/run/pdns. Otherwise it
>> won't work.
>>
>> Aki
>

Can you run sudo strace -econnect,bind rec_control reload-lua-script and
post the result?

Aki


More information about the Pdns-users mailing list