Hi all, I have installed a CentOS4.3 box and migrated some application from FC1 to the new box, everything else runs perfectly except syslogd/klogd. /etc/rc.d/init.d/syslog starts without any problem, but there is nothing logged into /var/log/messages, even I restart the service. However, I tried to shut the service down and run "syslogd -m 0 &" and "klogd -x &" as root from shell, it works good. I have spent a lot of time, but still can not figure out why it does not work when starts by init as a daemon. Anybody had the same issue before? Any suggestion is highly appreciated. Thanks, Jeff L
Jeff Liu wrote:> I have spent a lot of time, but still can not figure out why it does > not work when starts by init as a daemon.What does "lsof /dev/log" say? Of it returns "minilogd", you might have a selinux issue at hand, /dev/log has an incorrect security context then. If so: "touch /.autorelabel" and reboot the machine. Then wait. And wait. And wait a little bit more. At least that's what happened to me on my box. Another place where I'd look: Do you have /tmp mounted "noexec"? Then it could be logrotate running amok. Does it maybe still log to one of the rotated files? Regards, Ralph -- Ralph Angenendt......ra at br-online.de | .."Text processing has made it possible Bayerischer Rundfunk...80300 M?nchen | ....to right-justify any idea, even one Programmbereich.Bayern 3, Jugend und | .which cannot be justified on any other Multimedia.........Tl:089.5900.16023 | ..........grounds." -- J. Finnegan, USC -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20060822/fb10bf95/attachment-0002.sig>