LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   linux not logging (https://www.linuxquestions.org/questions/linux-general-1/linux-not-logging-27236/)

brianm1 08-05-2002 09:31 AM

linux not logging
 
I have a system running RH 7.0 and everything seems to be running normally but nothing gets logged to /var/log/messages ,/var/log/secure, /var/log/cron, and /var/log/maillog. The only logs that work at last, wtmp, and http.

syslogd,klogd, and minilogd are all running. I can see the filestamps change and the logs even get rotated but no matter what I do, nothing gets logged.

sa also works.

Logging used to work fine.

A-dummy 08-05-2002 09:43 AM

have you checked your /etc/syslog.conf file....

brianm1 08-05-2002 10:41 AM

Here is my /etc/syslog.conf file. It looks prety normal.

# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* /dev/console

# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none /var/log/messages

# The authpriv file has restricted access.
authpriv.* /var/log/secure

# Log all the mail messages in one place.
mail.* /var/log/maillog


# Log cron stuff
cron.* /var/log/cron

# Everybody gets emergency messages, plus log them on another
# machine.
*.emerg *

# Save mail and news errors of level err and higher in a
# special file.
uucp,news.crit /var/log/spooler

# Save boot messages also to boot.log
local7.* /var/log/boot.log

trickykid 08-05-2002 12:11 PM

Try giving the syslog and klogd the SIGHUP kill.. I do this on my machine to kill and restart the process:

kill -SIGHUP `cat /var/run/syslogd.pid`

brianm1 08-05-2002 12:20 PM

Sure, I have killed and restarted both syslogd and klogd many. many times. Although I usually use /etc/init.d/syslog restart to do it. Restartring logging has no effect.

I just have a bunch of files with nothing in them. And yes I have plenty of free disk space.


All times are GMT -5. The time now is 03:03 AM.