Discussion:
rndc reconfig: Unexpected end of input
J David
2018-08-28 18:34:46 UTC
Permalink
After recently improving the tracking of errors coming from commands
running from scripts, we found that a large number of “rndc reconfig”
requests (about 15-20% of all requests) error out with exit status 1
and the message:

rndc: ‘reconfig' failed: unexpected end of input

The “unexpected end of input” error is one that rndc usually issues if
a parameter is missing. For example, “rndc refresh” without providing
a zone name on the command line. But “rndc reconfig” doesn’t have any
additional command line parameters.

In this case, the rndc reconfig is issued after adding a zone file to
the configuration.

This is on BIND 9.12.2-P1 on FreeBSD 11.2, if that’s relevant.

Does anyone know what might be causing this error message?

Thanks for any advice!
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

bind-users mailing list
bind-***@lists.i
Mark Andrews
2018-08-29 00:24:53 UTC
Permalink
Check named.conf with named-checkconf.
Post by J David
After recently improving the tracking of errors coming from commands
running from scripts, we found that a large number of “rndc reconfig”
requests (about 15-20% of all requests) error out with exit status 1
rndc: ‘reconfig' failed: unexpected end of input
The “unexpected end of input” error is one that rndc usually issues if
a parameter is missing. For example, “rndc refresh” without providing
a zone name on the command line. But “rndc reconfig” doesn’t have any
additional command line parameters.
In this case, the rndc reconfig is issued after adding a zone file to
the configuration.
This is on BIND 9.12.2-P1 on FreeBSD 11.2, if that’s relevant.
Does anyone know what might be causing this error message?
Thanks for any advice!
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
bind-users mailing list
https://lists.isc.org/mailman/listinfo/bind-users
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: ***@isc.org

_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

bind-users mailing list
bind-***@lists.isc.org
https://lists.isc.org/
Loading...