Wednesday 30 March 2016

WHAT HAPPENS IF PROPER ENTRIES NOT MAKE IN SYSLOG.CONFILE IN SOLARIS 10?

unknown priority name "*"

vi /etc/syslog.conf
hear i enter follwing 4 fields with out mention tab space as serperator
*.notice                                         /var/log/notice
mail.info                                        /var/log/notice
*.crit                                                  /var/log/critical
kern,mark.debug                                  /dev/console

then i restarted service:
then it throug following errors

Feb 19 11:07:33 murexhub syslogd: line 31: unknown priority name "notice                      /var/log/notice"
Feb 19 11:07:33 murexhub syslogd: line 32: unknown priority name "info                     /var/log/notice"
Feb 19 11:07:33 murexhub syslogd: line 33: unknown priority name "crit                        /var/log/critical"
Feb 19 11:07:33 murexhub syslogd: line 34: unknown priority name "debug    /dev/console"
Feb 19 11:09:01 murexhub syslogd: going down on signal 15
Feb 19 11:09:02 murexhub syslogd: line 31: unknown priority name "notice                      /var/log/notice"
Feb 19 11:09:02 murexhub syslogd: line 32: unknown priority name "info                     /var/log/notice"
Feb 19 11:09:02 murexhub syslogd: line 33: unknown priority name "crit                        /var/log/critical"
Feb 19 11:09:02 murexhub syslogd: line 34: unknown priority name "debug      /dev/console"
----------
After i seperated with TAB spaece
----------
Now working Fine
---------
Feb 19 11:14:47 murexhub syslogd: going down on signal 15

*************** AND it is working Fine*************

No comments:

Post a Comment