9872
![]() |
|
|
|
|
|||||||
| Web & Network Services Discussion related to network/web services such as apache, bind, sendmail, etc. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I reconfigured syslog on my unix machine and configured a switch. It is on local LAN. Somehow, the status messages are not logging to the file but on the console of the syslog server only.
The syslog.conf is Code:
# Consult the syslog.conf(5) manpage. *.err;kern.warning;auth.notice;mail.crit /dev/console *.notice;local7.none;authpriv.none;kern.debug;lpr.info;mail.crit;news.err /var/log/messages security.* /var/log/security auth.info;authpriv.info /var/log/auth.log mail.info /var/log/maillog lpr.info /var/log/lpd-errs ftp.info /var/log/xferlog cron.* /var/log/cron *.=debug /var/log/debug.log *.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 # touch /var/log/all.log and chmod it to mode 600 before it will work #*.* /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 !ppp *.* /var/log/ppp.log local7.* /var/log/syslog/cisco.log *.* !* Code:
# This file now contains just the overrides from /etc/defaults/rc.conf. defaultrouter="10.10.10.1" hostname="test-bed" ifconfig_em0="inet 10.10.10.11 netmask 255.255.255.128" inetd_enable="YES" syslogd_flags="-a 10.10.10.0/24:*" Code:
total 4 drwxr-xr-x 2 root wheel 512 Feb 15 13:51 . drwxr-xr-x 3 root wheel 512 Feb 16 03:04 .. -rw-rw-rw- 1 root wheel 0 Feb 15 13:51 cisco.log Thank you. Last edited by DutchDaemon; February 17th, 2012 at 19:23. |
|
#2
|
||||
|
||||
|
Run syslogd in debug mode on the console to see what actually gets received and processed. Run tcpdump on udp/514 to see if anything arrives.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki Before you post: How to ask questions the smart way If you must know .. So, what does an Adminstrator/Moderator do? ---> Do not PM me with FreeBSD questions. I do not work here. <--- |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cisco VS HP VS Alcatel | eng_ahmedas | System Hardware | 3 | May 23rd, 2011 14:54 |
| [Solved] FreeBSD 7 -> CISCO switches are in trunk mode | spartacus | Networking | 2 | April 2nd, 2011 08:41 |
| VPNC - Cisco IP Bad Keyword | BarryCarlyon | Networking | 2 | March 1st, 2011 12:45 |
| [Solved] new to wireless. With a cisco syslink wusb600n. | ericturgeon | System Hardware | 12 | September 24th, 2010 17:26 |
| DOT1Q between FBDS7.2 (on vmware) and Cisco 3750 | nikorun | Networking | 6 | September 10th, 2009 08:27 |