Solved

syslog doesn't log

Posted on 1998-05-12
3
216 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
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 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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

733 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