SUMMARY: problem with syslogd

From: Clemens Schmuck (clemens@wst.edvz.sbg.ac.at)
Date: Wed Jan 29 1997 - 08:47:05 CST


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

MY ORIGINAL QUESTION:
 hi,
 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)
 30
 i thought there might be a problem resolving the alias loghost but the
 /etc/hosts file is correct.
THE SOLUTION
 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

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

 ...and to anyone i may have missed

clemens
 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 clemens schmuck
 university of salzburg
 hellbrunnerstr. 34 clemens@wst.edvz.sbg.ac.at
 5020 salzburg, austria http://www.edvz.sbg.ac.at/~clemens
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



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