SUMMARY: syslog is empty

From: Marian Buszko (marian@micro.ifas.ufl.edu)
Date: Sat Jul 01 1995 - 03:31:56 CDT


PROBLEM:

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.

SOLUTION:

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)

to

mail.debug /var/log/syslog

CREDITS:

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 <gerhard@jason.nl>
Jorge Garcia <jgarcia@das.uchile.cl>
Dave Haut <dave%endeavour.exar.com@exar.com>
Tim White <tim@otis.cla.sc.edu>
james mularadelis <jamesm@matrix.newpaltz.edu>
Lex Hensels <Hensels@RC.TUDelft.NL>
Chris Wozniak TISC <chris@tisc.edu.au>
peter.allan@aeat.co.uk
Peter Bestel <Peter.Bestel@uniq.com.au>
Adam Nevins adam_nevins@ltx.com
Stephen Hauskins sunlist@mendel.ucsc.edu
Paulo Licio de Geus <paulo@tiete.dcc.unicamp.br>
Haiquan Dai <daili@csbnmr.health.ufl.edu>

=====================
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)
>
>with
> /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 )

============================

Regards,

Marian
==
M. Buszko (marian@micro.ifas.ufl.edu)
University of Florida, Microbiology



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