[Pdns-users] Failed to load 'lua' script

bert hubert bert.hubert at netherlabs.nl
Tue Apr 20 15:14:55 UTC 2010


On Tue, Apr 20, 2010 at 11:57:23AM -0300, Marlon wrote:
> I installed Recursor version 3.2 on Gentoo with Lua support enable, but
> when try to start powerdns recursor I got this error:

Hi Marlon,

Put the 'Lua' script within your chroot, and things will work. Make sure the
path works in your chroot, so it must be absolute wrt the new chroot.

Good luck!

	Bert

> 
> 
> Apr 20 11:39:14 [pdns_recursor] Listening for UDP queries on 192.168.1.10:53
> Apr 20 11:39:14 [pdns_recursor] Enabled TCP data-ready filter for
> (slight) DoS protection
> Apr 20 11:39:14 [pdns_recursor] Not decreasing socket buffer size from
> 65536 to 65000
> Apr 20 11:39:14 [pdns_recursor] Listening for TCP queries on 192.168.1.10:53
> Apr 20 11:39:14 [pdns_recursor] Calling daemonize, going to background
> Apr 20 14:39:14 [pdns_recursor] Set effective group id to 65534
> Apr 20 14:39:14 [pdns_recursor] Set effective user id to 65534
> Apr 20 14:39:14 [pdns_recursor] Launching 2 threads
> Apr 20 14:39:14 [pdns_recursor] Done priming cache with root hints
> Apr 20 14:39:14 [pdns_recursor] Failed to load 'lua' script from
> '/etc/powerdns/nxdomain-redirect.lua': Error loading LUA file
> '/etc/powerdns/nxdomain-redirect.lua': cannot open
> /etc/powerdns/nxdomain-redirect.lua: No such file or directory
> 
> Follow my recursor.conf:
> 
> 
> # Copyright 1999-2006 Gentoo Foundation
> # Distributed under the terms of the GNU General Public License v2
> # $Header:
> /var/cvsroot/gentoo-x86/net-dns/pdns-recursor/files/recursor.conf,v 1.2
> 2007/06/08 22:28:14 swegener Exp $
> 
> # Drop uid
> setuid=nobody
> 
> # Drop gid
> setgid=nobody
> 
> # Don't log queries
> quiet=on
> 
> # Local IP address to bind to
> local-address=192.168.1.10
> 
> # Local port to bind to
> local-port=53
> 
> # Change root for safety
> chroot=/var/lib/powerdns
> 
> # Script Lua
> lua-dns-script=/etc/powerdns/nxdomain-redirect.lua
> 
> 
> 
> any ideas ?
> 
> regards,
> 
> Marlon
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
> 



More information about the Pdns-users mailing list