Kenneth Illingsworth
2002-Dec-30 17:09 UTC
[Samba] Expected service, found `wins, dns, files'
Can anyone peruse my attached host.conf file and determine what missing statement this error is referring to? Here is the command that generated this error: [root@cofr3 s390]# /usr/sbin/rndc reload /etc/host.conf: line 11: expected service, found `wins, dns, files' rndc: reload command successful Thank you in advance for your time. -------------- next part -------------- # # /etc/host.conf - resolver configuration file # # Please read the man page host.conf(5) for more info. # # # The following option is only used by binaries linked against # libc4 or libc5. This line should be in sync with the "hosts" # option in the /etc/nsswitch.conf file. # order wins, dns, files # # The following options are used by the resolver library: # multi on
On Mon, 30 Dec 2002, Kenneth Illingsworth wrote:> Can anyone peruse my attached host.conf file and determine what missing statement this error is referring to? Here is the command that generated this error: > > [root@cofr3 s390]# /usr/sbin/rndc reload > /etc/host.conf: line 11: expected service, found `wins, dns, files' > rndc: reload command successful > > Thank you in advance for your time.Suggest you set in host.conf order hosts,bind multi on Then in /etc/nsswitch.conf change the hosts line to read: hosts: files wins dns The standard C library functions that read the host.conf file know nothing of WINS. - John T. -- John H Terpstra Email: jht@samba.org -------------- next part -------------- # # /etc/host.conf - resolver configuration file # # Please read the man page host.conf(5) for more info. # # # The following option is only used by binaries linked against # libc4 or libc5. This line should be in sync with the "hosts" # option in the /etc/nsswitch.conf file. # order wins, dns, files # # The following options are used by the resolver library: # multi on
Kenneth Illingsworth
2002-Dec-30 20:35 UTC
[Samba] Expected service, found `wins, dns, files'
Thank you very much. The error is now history. Oddly, the host.conf file and nsswitch.conf file were copied from one of two other virtual Linux servers to save time. They also had their order settings in the host.conf file and hosts settings in the nsswitch.conf file switched around.>>> John H Terpstra <jht@samba.org> 12/30/02 12:21PM >>>On Mon, 30 Dec 2002, Kenneth Illingsworth wrote:> Can anyone peruse my attached host.conf file and determine what missing statement this error is referring to? Here is the command that generated this error: > > [root@cofr3 s390]# /usr/sbin/rndc reload > /etc/host.conf: line 11: expected service, found `wins, dns, files' > rndc: reload command successful > > Thank you in advance for your time.Suggest you set in host.conf order hosts,bind multi on Then in /etc/nsswitch.conf change the hosts line to read: hosts: files wins dns The standard C library functions that read the host.conf file know nothing of WINS. - John T. -- John H Terpstra Email: jht@samba.org