SUMMARY: problem with syslogd

From: Clemens Schmuck (
Date: Wed Jan 29 1997 - 08:47:05 CST

sorry i'm late with this summary, but at least here it is:

 i got the following message written out to the console of some machines
 (sun ultra1/170, solaris 2.5.1, nis)
>>syslogd: unknown host loghost st syslog.conf line 30<<
 and this is my syslog.conf (line 30 is blank)
 29 mail.debug ifdef(`LOGHOST', /var/log/syslog, @loghost)
 i thought there might be a problem resolving the alias loghost but the
 /etc/hosts file is correct.
 the problem was not really the syslog.conf i just didn't look at
 nsswitch.conf close enough. in nsswitch.conf there was this line:
 hosts : nis [NOTFOUND=return] files
 my loghost was defined locally in /etc/hosts but of course the system
 did not care about the entries in /etc/hosts and by just writing
 hosts : nis files
 instead the problem was solved

 Anthony Worrall
 David M. Stern, Roc
 Bertrand Hutin
 Matthew Stier
 Rasana Atreya
 Karl E. Vogel
     and to
 Ozgur Deniz Erzinca who opend my eyes

 ...and to anyone i may have missed


 clemens schmuck
 university of salzburg
 hellbrunnerstr. 34
 5020 salzburg, austria

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:43 CDT