Skip site navigation (1)Skip section navigation (2)
Date:      28 May 2002 12:38:22 -0000
From:      "Postman Pat" <lists@kentane.net>
To:        freebsd-questions@freebsd.org
Subject:   setting up a log server
Message-ID:  <20020528123822.12104.qmail@easy30a.your-server.co.za>

next in thread | raw e-mail | index | archive | help
Greetings,
I am trying to setup a log server using FreeBSD 4.5 Release. I editted 
the /etc/defaults/rc.conf file and changed the syslog options line to 
read: syslogd_flags="-4 -a 10.37.48.0/24"

When I try to log stuff to the syslog server using kiwi syslog gen I get 
nothing in /var/log/messages.

Here is my syslog.conf file
==========================================================
titania# cat /etc/syslog.conf 
# $FreeBSD: src/etc/syslog.conf,v 1.13.2.2 2001/02/26 09:26:11 phk Exp $
#
#       Spaces are NOT valid field separators in this file.
#       Consult the syslog.conf(5) manpage.
*.err;kern.debug;auth.notice;mail.crit          /dev/console
*.notice;kern.debug;lpr.info;mail.crit;news.err /var/log/messages
security.*                                      /var/log/security
mail.info                                       /var/log/maillog
lpr.info                                        /var/log/lpd-errs
cron.*                                          /var/log/cron
*.err                                           root
*.notice;news.err                               root
*.alert                                         root
*.emerg                                         *
# uncomment this to log all writes to /dev/console to /var/log/console.log
#console.info                                   /var/log/console.log
# uncomment this to enable logging of all log messages to /var/log/all.log
#*.*                                            /var/log/all.log
# uncomment this to enable logging to a remote loghost named loghost
#*.*                                            @loghost
# uncomment these if you're running inn
# news.crit                                     /var/log/news/news.crit
# news.err                                      /var/log/news/news.err
# news.notice                                   /var/log/news/news.notice
!startslip
*.*                                             /var/log/slip.log
!ppp
*.*                                             /var/log/ppp.log
===============================================================

netstat -an gives the following about syslog:
udp4       0      0  10.37.48.178.2317      10.37.48.6.53          

ps -aux | grep syslog gives me:
root    70 12.5  0.5   972  708  ??  Ss    1:58PM   
0:48.30 /usr/sbin/syslogd -4 -a 10.37.48.0/24

Any ideas?

Regards
LK


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020528123822.12104.qmail>