Solved

syslog doesn't log

Posted on 1998-05-12
3
218 Views
Last Modified: 2010-04-21
One line of syslog.conf is like this:
*.err;kern.debug;daemon.notice;mail.crit;user.none      /var/adm/messages
My problem is:
1. If I do a    logger -p daemon.notice "test message"
I will get a "test message" in /var/adm/messages
2. If I do a cd /tools/abc ( /tools is an automount point and abc doesn't exist under /tools ) I didn't get any error message which this message would show up before and besides some other machine's messages file will imediately show the error messages like "automountd[135]: mount of /tools/abc failed" .

I tried to cycle the syslogd many times but didn't help at all.

Thanks for the help.
Emay
0
Comment
Question by:Emay
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Expert Comment

by:OM
ID: 2006766
Did you try
daemon.* /var/adm/messages
?
0
 
LVL 3

Accepted Solution

by:
braveheart earned 80 total points
ID: 2006767
I would have thought that "user.none" in your config file would disable messages from cd, although I may be wrong. Do you get the same results when using "user.err", "user.warning" and "user.notice". Mind you, this is bound to generate far more messages than you will usually want.
0
 

Author Comment

by:Emay
ID: 2006768
No, it did not work! Thanks anyway.
0

Featured Post

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question