<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: weird problem w/syslogd in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/weird-problem-w-syslogd/m-p/2759438#M1895</link>
    <description>Michael,&lt;BR /&gt;&lt;BR /&gt;Don't know how much help this is going to be but this is the result I get from a Redhat 7.1 system running the same kernel:&lt;BR /&gt;&lt;BR /&gt;[root@mash init.d]# ./syslog status&lt;BR /&gt;syslogd (pid 438) is running...&lt;BR /&gt;klogd (pid 443) is running...&lt;BR /&gt;&lt;BR /&gt;[root@mash init.d]# syslogd -m 0&lt;BR /&gt;syslogd: Already running.&lt;BR /&gt;[root@mash init.d]# echo $?&lt;BR /&gt;1&lt;BR /&gt;&lt;BR /&gt;So what I can say is this:&lt;BR /&gt;&lt;BR /&gt;run ps -aux | grep syslog, make sure there IS no process running (don't trust the script), if there is manually kill it.&lt;BR /&gt;&lt;BR /&gt;Look at the file /var/run/syslogd.pid and see which process id it thinks syslogd is running under.&lt;BR /&gt;&lt;BR /&gt;If syslogd happened to be running, then kill it, move the messages file across to messages.bak and touch the messages file (giving it the same permissions/owner as the original messages file). Then try restarting syslogd.&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;&lt;BR /&gt;Shane.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 10 Jul 2002 05:55:57 GMT</pubDate>
    <dc:creator>Shane Hjorth</dc:creator>
    <dc:date>2002-07-10T05:55:57Z</dc:date>
    <item>
      <title>weird problem w/syslogd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/weird-problem-w-syslogd/m-p/2759437#M1894</link>
      <description>All, syslogd is not logging. All my messages file is of zero length. When I restarted syslog manually; syslog failed to start, but if I do "./syslog status", it tells me that syslog is running. However, when I run the cmd manually "syslod -m 0" and "echo $?", it returns code "130", I believe it should be  a return code of 0. Any one have any idea as to why syslogd is not behaving properly? BTW, this is on RH 7.1 running kernel version 2.4.2-2smp. Thanks.</description>
      <pubDate>Mon, 08 Jul 2002 15:02:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/weird-problem-w-syslogd/m-p/2759437#M1894</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2002-07-08T15:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: weird problem w/syslogd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/weird-problem-w-syslogd/m-p/2759438#M1895</link>
      <description>Michael,&lt;BR /&gt;&lt;BR /&gt;Don't know how much help this is going to be but this is the result I get from a Redhat 7.1 system running the same kernel:&lt;BR /&gt;&lt;BR /&gt;[root@mash init.d]# ./syslog status&lt;BR /&gt;syslogd (pid 438) is running...&lt;BR /&gt;klogd (pid 443) is running...&lt;BR /&gt;&lt;BR /&gt;[root@mash init.d]# syslogd -m 0&lt;BR /&gt;syslogd: Already running.&lt;BR /&gt;[root@mash init.d]# echo $?&lt;BR /&gt;1&lt;BR /&gt;&lt;BR /&gt;So what I can say is this:&lt;BR /&gt;&lt;BR /&gt;run ps -aux | grep syslog, make sure there IS no process running (don't trust the script), if there is manually kill it.&lt;BR /&gt;&lt;BR /&gt;Look at the file /var/run/syslogd.pid and see which process id it thinks syslogd is running under.&lt;BR /&gt;&lt;BR /&gt;If syslogd happened to be running, then kill it, move the messages file across to messages.bak and touch the messages file (giving it the same permissions/owner as the original messages file). Then try restarting syslogd.&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;&lt;BR /&gt;Shane.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Jul 2002 05:55:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/weird-problem-w-syslogd/m-p/2759438#M1895</guid>
      <dc:creator>Shane Hjorth</dc:creator>
      <dc:date>2002-07-10T05:55:57Z</dc:date>
    </item>
  </channel>
</rss>

