LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 10-21-2003, 11:21 AM   #1
tpau
LQ Newbie
 
Registered: Oct 2003
Posts: 1

Rep: Reputation: 0
system logger fails when restarting syslog


I get a "Failed" message for system logger when I restart syslog but the kernel logger is working.

[root@server root]# service syslog restart
Shutting down kernel logger: [ OK ]
Shutting down system logger: [ OK ]
Starting system logger: [FAILED]
Starting kernel logger: [ OK ]
[root@server root]#

Why is this all of a sudden failing? I've fallen back to a syslog.conf file that I've used in the past without any problems. I did recently upgrade from Red Hat 8.0 to Red Hat 9.0. All of the services updates recommended by Red Hat have been applied.
 
Old 10-21-2003, 08:40 PM   #2
clacour
Member
 
Registered: Sep 2003
Location: Dallas, Tx, USA
Distribution: Red Hat, Gentoo, Libranet
Posts: 98

Rep: Reputation: 16
First, check /var/log/messages (and any other files you have configured). It may have made a last-gasp effort and written something useful. (Don't get your hopes up too high, though.)

Try running (as root) /sbin/syslogd -d

That turns on debugging. It should give you some sort of error message. (See "man syslogd" for some other pertinent info.)

If that doesn't produce anything useful (such as: it runs flawlessly until you kill it) just run it as

/sbin/syslogd

Since there's nothing "eating" the sysout, you may have better luck seeing error messages that way.

Finally, the problem might not be with the syslogd daemon at all, it might be the script. Cd to /etc/rc.d/init.d and edit the syslogd script and add a " -x" after the "#!/bin/bash" at the top.

Hope this helps,

CHL
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
syslog: using logger (please help test this) psychobyte Linux - Security 1 01-07-2005 06:26 PM
Syslog logger facility problem tuxster SUSE / openSUSE 0 01-02-2005 04:17 PM
Syslog logger facility problem tuxster Linux - General 0 12-25-2004 12:29 PM
system logger fails to start at boot jbmcmillan Linux - Software 3 11-03-2003 10:51 AM
Starting system logger fails dwynter Linux - Newbie 5 06-26-2002 03:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration