[Pdns-users] PDNS error!!

Heinrich Ruthensteiner heinrich.ruthensteiner at siemens.com
Tue Nov 15 16:14:21 UTC 2005


Potentially the Sun shell is not posix conform, you could try it with
back quotes:

ret=`$BINARYPATH/pdns_control $EXTRAOPTS $1 $2 2> /dev/null`

Heinrich


Truong duc Luong wrote:
> The PDNS installation finished. I run /etc/init.d/pdns monitor, but
> following error occured.
> 
>     "./pdns: syntax error at line 27: `ret=$' unexpected"
> 
> At line 27, I see:
>       ret=$($BINARYPATH/pdns_control $EXTRAOPTS $1 $2 2> /dev/null)
> 
> What is that error? How do I fix? Thanks.
> 
> uname -a: SunOS www.example.com 5.8 Generic_117350-05 sun4u sparc SUNW
> ,Ultra-5_10
> --
> Thanks!
> _______________________________________________
> 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