Posted on 2004-04-04
I have a sun machine which installed with solaris 8. I want to use it as a syslog server for messages that are sent from a cisco router.
I have done the following
1.on the cisco router
->logging facility local7
->logging trap debug
2. On the sun workstation
->I have edited the syslog.conf file by adding
local7.debug /var/adm/log (there are five tabs between local7.debug and /var/adm/log no space)
->I have created the file /var/adm/log
->I have changed the file attribute mode as -rwxrwxrwx.(chmod 777)
-> Force the syslog process (syslogd) to read the new configuration file by typing:
-># kill -HUP cat /etc/syslog.pid
but the last command has an error such as
"there is no such pid"
If I restarted the sun machine the syslogd process started. But the messages are not found in the file.
When I see the router by typing
there are messages that are logged to the sun machine.