SUMMARY: syslog is empty

From: Marian Buszko (
Date: Sat Jul 01 1995 - 03:31:56 CDT


For some time, the /var/log/syslog file is empty on our IPC SunOS4.1.3.
Syslogd is running and some processes are being logged; for example
/var/adm/messages is current.


In our particular case, we recently switched from NIS to DNS - that's when
the logging stopped. To solve the problem, we changed the entry in
/etc/syslog.conf from:

mail.debug ifdef(`LOGHOST', /var/log/syslog, @loghost)


mail.debug /var/log/syslog


I solved the problem following Dave Haut's directions - the excerpt
from his e-mail below, but I would like to thank all of you who replied:

Gerhard den Hollander <>
Jorge Garcia <>
Dave Haut <>
Tim White <>
james mularadelis <>
Lex Hensels <Hensels@RC.TUDelft.NL>
Chris Wozniak TISC <>
Peter Bestel <>
Adam Nevins
Stephen Hauskins
Paulo Licio de Geus <>
Haiquan Dai <>

Dave Haut's reply:

>The default configuration of the Sun is to log all information to the
>"loghost". Do you have a loghost defined in your /etc/hosts file or the
>hosts NIS map if you are running NIS ??
>If you want to write to /var/log/syslog "locally" to the same machine that
>the logging events are happening on, as root edit the /etc/syslog.conf file
>on that machine and replace any line that has:
> ifdef(`LOGHOST', /var/log/syslog, @loghost)
> /var/log/syslog ( or any other filename that you want to write to.The
> file MUST already exist )
>and then either reboot your machine, or do a kill -1 (PID of syslogd )



M. Buszko (
University of Florida, Microbiology

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