when ever i boot and/or try to restart the system logger it fails, any one have any idea where/what i can check in order to resolve this problem.. i'm not really in the mood to re-install Redhat again :}
Hi roeiboot..
Logging is one of the things on any *nix box
that needs to work.
Assuming that you are using the vanilla syslogd try
to start it with the -d flag and post anything you
don't understan here.
man syslogd for more options that may or may not be
useful to you.
The script below starts syslogd at bootup. Check /etc/rc.d/init.d and look for a file called "syslog". If it isn't there, copy and paste this file into that directory. Then make sure the run level you usually boot calls this file.
#!/bin/bash
#
# syslog Starts syslogd/klogd.
#
#
# chkconfig: 2345 12 88
# description: Syslog is the facility by which many daemons use to log # messages to various system log files. It is a good idea to always # run syslog.
### BEGIN INIT INFO
# Provides: $syslog
### END INIT INFO
# Source function library.
. /etc/init.d/functions
For cryin' out loud roeiboot, can't ya ever have fixable problems like normal people? I think what marsd is asking is, does syslogd tell you why it's not starting? If all it is giving you is parms, then it wants you to use one in the list e.g. /sbin/syslogd start. If this is not the problem, the only thing I can think of is the old pid or lock file got left behind when it was shutdown the last time. Run "top" from the command line and see if it is running. If not, look in /var/lock/subsys for a blank file called syslog. If it's there delete it. Then look in /var/run and if a file called syslogd.pid is there, delete that too. Once you do that, type the following:
/sbin/syslogd start
I hope this does it for ya buddy, or at least gives you some kind of error so we know where to start looking.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.