syslogd does not start - Redhat

This is a discussion on syslogd does not start - Redhat ; syslogd does not start on boot. It will start if run manually: # /sbin/syslogd -m 0 # ps -ef|grep syslog|grep -v grep root 25905 1 0 21:58 ? 00:00:00 /sbin/syslogd -m 0 If started from the initscripts ... it will ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: syslogd does not start

  1. syslogd does not start

    syslogd does not start on boot.

    It will start if run manually:

    # /sbin/syslogd -m 0
    # ps -ef|grep syslog|grep -v grep
    root 25905 1 0 21:58 ? 00:00:00 /sbin/syslogd -m 0

    If started from the initscripts ... it will not start.
    # /etc/init.d/syslog start
    # /etc/init.d/syslog restart
    Shutting down kernel logger: [FAILED]
    Shutting down system logger: [ OK ]
    Starting system logger:
    ^
    |
    This eventually fails.
    Processes running during this startup are.

    root 25953 25912 0 22:00 pts/3 00:00:00 /bin/bash ./syslog
    restart
    root 25969 25953 0 22:00 pts/3 00:00:00 initlog -q -c syslogd -
    m 0
    root 25970 25969 0 22:00 pts/3 00:00:00 syslogd -m 0
    root 25971 25970 0 22:00 ? 00:00:00 [syslogd]

    I have reinstalled sysklogd and initscripts

    syslogd will still not start.

    Thanks in advance.


  2. Re: syslogd does not start

    On Tue, 20 Mar 2007 13:14:01 -0700, shinobi wrote:

    > syslogd does not start on boot.


    Please do this:

    # chkconfig --list syslog

    You should see something like this:

    syslog 0ff 1ff 2n 3n 4n 5n 6ff

    If not, do this:

    # chkconfig syslog on

    HTH

  3. Re: syslogd does not start

    On 20 Mar 2007, in the Usenet newsgroup linux.redhat, in article
    <1174421641.670908.11250@d57g2000hsg.googlegroups.c om>, shinobi wrote:

    >syslogd does not start on boot.
    >
    >It will start if run manually:
    >
    ># /sbin/syslogd -m 0
    ># ps -ef|grep syslog|grep -v grep
    >root 25905 1 0 21:58 ? 00:00:00 /sbin/syslogd -m 0
    >
    >If started from the initscripts ... it will not start.
    ># /etc/init.d/syslog start
    ># /etc/init.d/syslog restart
    >Shutting down kernel logger: [FAILED]
    >Shutting down system logger: [ OK ]
    >Starting system logger:
    >^
    >|
    >This eventually fails.


    Yes, isn't windoze wonderful the way everything is explained so fully?

    >I have reinstalled sysklogd and initscripts


    Why? Why not simply read the script and find out what it's trying to
    do. You might even discover something st00pid like a lock or PID file
    or a missing /var/log/ directory, or something else having the log file
    handle..

    Trying to run a daemon from the command line AND from the init scripts
    often results in processes stepping all over each other. Read the init
    script and look very carefully at each line. Pay attention to tests
    that are run IN the scripts. You didn't bother to identify which version
    of which Red Hat you are using, and that's not helping either. If
    necessary, put some echo statement into the script so you can see it's
    progress.

    Old guy

+ Reply to Thread