[Pdns-users] remotebackend: Cannot connect to socket: No such file or directory

Mohamed Lrhazi lrhazi at gmail.com
Wed May 4 16:22:32 UTC 2022


Hello,

Am stuck trying to get remote backend to work... error is :

May 04 12:13:28 ip-172-31-26-14.ec2.internal pdns_server[9515]: Cannot
connect to socket: No such file or directory

pdns_server is running as user pdns and group pdns

the sock file does exist, and is also owned by pdns:pdns :

ls -l /tmp/remotebackend.sock
srwxrwxrwx 1 pdns pdns 0 May  4 12:01 /tmp/remotebackend.sock

strace shows the errors as well:

[pid  9521] write(2, "Reconnecting to backend\n", 24 <unfinished ...>
[pid  9519] poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}], 2, -1
<unfinished ...>
[pid  9521] <... write resumed> )       = 24
[pid  9521] socket(AF_UNIX, SOCK_STREAM, 0) = 16
[pid  9521] connect(16, {sa_family=AF_UNIX,
sun_path="/tmp/remotebackend.sock"}, 110) = -1 ENOENT (No such file or
directory)
[pid  9521] write(2, "Cannot connect to socket: No suc"..., 52) = 52
[pid  9521] close(16)                   = 0

I am using Amazon Linux.. pdns installed from EPEL... is there some
chrooting done by pdns?

Thanks a lot,
Mohamed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20220504/fb5c632f/attachment.htm>


More information about the Pdns-users mailing list