05-30-2006 12:34 PM
New install on Sol9, RME4.0 with Dec05 update. I can't get syslog to work, I get nothing under var/log/syslog_info. Logging is enabled for this server. config archive works that tells that devices are managed, I can do netconfig job but no syslog. syslgd is also running
>> ps -ef | grep syslogd
root 210 1 0 Mar 06 ? 0:40 /usr/sbin/syslogd -t
muhamns 2319 2310 0 15:51:40 pts/1 0:00 grep syslogd
muhamns@sip10a>> netstat -a -n | grep 514
05-30-2006 12:58 PM
Can you show me your /etc/syslogd.conf please?
cat /etc/syslogd.conf
I don't have access to an RME box at the moment to show you mine but if you don't have a line dumping I think local7 to syslog_info that is your problem. If you do, try stopping and starting the syslogd daemon. I believe /etc/init.d/syslogd stop
/etc/init.d/syslogd start
does the trick
05-30-2006 01:01 PM
Hi Thanks.
Yes I have the line in syslog.conf file and also have tried stop/start syslog and reboot thebox but that didn't help either.
#END CSCOmd DO NOT EDIT BEFORE THIS LINE 1
# Added for Cisco Syslog Analyzer (begin)
local7.info /var/log/syslog_info
# Added for Cisco Syslog Analyzer (end)
05-30-2006 01:04 PM
Check if the messages are making it to the server.
Pick an IOS device (let's say its ip address is 10.10.10.10) and as root on the server issue the command:
snoop -s 1518 -o /tmp/trace 10.10.10.10
On the device, issue the commands:
conf t
exit
This should send a syslog message to the server.
CTRL+C out of the snoop and you may use Ethereal to open the /tmp/trace file and confirm whether the syslog message made it or not
05-30-2006 01:18 PM
You can also generate syslog events with the solaris cli tool "logger"
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide