LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 08-05-2002, 09:31 AM   #1
brianm1
LQ Newbie
 
Registered: Aug 2002
Posts: 3

Rep: Reputation: 0
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.
 
Old 08-05-2002, 09:43 AM   #2
A-dummy
Member
 
Registered: Jun 2002
Location: Kanpur,India
Distribution: RH-7.0 , 7.3
Posts: 130

Rep: Reputation: 15
have you checked your /etc/syslog.conf file....
 
Old 08-05-2002, 10:41 AM   #3
brianm1
LQ Newbie
 
Registered: Aug 2002
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 08-05-2002, 12:11 PM   #4
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,121

Rep: Reputation: 121Reputation: 121
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`
 
Old 08-05-2002, 12:20 PM   #5
brianm1
LQ Newbie
 
Registered: Aug 2002
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
logging into windows in linux resego Linux - Newbie 6 03-30-2005 06:13 PM
LINUX BOX Logging out pradi_net Linux - Software 1 10-26-2004 01:13 AM
HELP-Logging into Linux jcskid85 Linux - Software 3 09-14-2004 02:01 AM
using red-carpet without logging out and logging as root. packman Linux - Software 1 12-09-2002 02:55 AM
Logging on to WINS with Linux AnyoneEB Linux - Networking 2 06-10-2002 11:05 PM


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

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration