<?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: syslogd in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/syslogd/m-p/3431095#M15077</link>
    <description>'syslogd' fails with error code 2..&lt;BR /&gt;&lt;BR /&gt;It doesn't appear is if it is already running('pidfileofproc syslogd' doesn't find the pid file, and returns 0), so it's just failing in general.&lt;BR /&gt;&lt;BR /&gt;Things to check:&lt;BR /&gt;&lt;BR /&gt;/etc/syslog.conf&lt;BR /&gt;/dev/log&lt;BR /&gt;/var/run/&lt;BR /&gt;&lt;BR /&gt;You should be trying to start 'syslogd' as the 'root' user (nothing else).  The file '/etc/syslog.conf' must exist, and the root user must have read permissions to it.  Root must also have read permissions on the socket device '/dev/log' (usually 'srw-rw-rw-').  It must also have write permissions on the '/var/run/' directory to be able to create the pid file.&lt;BR /&gt;&lt;BR /&gt;As 'syslogd' is actually being called by 'initlog', I'd also check that the root user has read permissions on '/etc/initlog.conf'.&lt;BR /&gt;&lt;BR /&gt;Verify all of these, then try it again.</description>
    <pubDate>Sun, 28 Nov 2004 18:21:45 GMT</pubDate>
    <dc:creator>Stuart Browne</dc:creator>
    <dc:date>2004-11-28T18:21:45Z</dc:date>
    <item>
      <title>syslogd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/syslogd/m-p/3431089#M15071</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;i'm not getting any messages in /var/log/messages,&lt;BR /&gt;&lt;BR /&gt;when i try to restart /etc/rc.d/init.d/syslog &lt;BR /&gt;&lt;BR /&gt;kernel logger is fine, system logger fails,&lt;BR /&gt;&lt;BR /&gt;any thoughts ??&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;chakri&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Nov 2004 08:02:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/syslogd/m-p/3431089#M15071</guid>
      <dc:creator>Chakravarthi</dc:creator>
      <dc:date>2004-11-26T08:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: syslogd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/syslogd/m-p/3431090#M15072</link>
      <description>Start command is:&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/syslogd start&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I'm assuming thats a typo since you say there is partial functionality.&lt;BR /&gt;&lt;BR /&gt;Try this:&lt;BR /&gt;/sbin/init.d/syslogd start&lt;BR /&gt;rc=$?&lt;BR /&gt;&lt;BR /&gt;echo "process return code: $rc"&lt;BR /&gt;&lt;BR /&gt;If its a zero its a clean start. If not, report the error code.&lt;BR /&gt;&lt;BR /&gt;Also you can put a set -x after the shell command in /sbin/init.d/syslogd and get enhanced diagnostics at startup.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 26 Nov 2004 10:27:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/syslogd/m-p/3431090#M15072</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-11-26T10:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: syslogd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/syslogd/m-p/3431091#M15073</link>
      <description>Oops. This is a linux call.&lt;BR /&gt;&lt;BR /&gt;/etc/init.d/syslogd start&lt;BR /&gt;&lt;BR /&gt;servie syslogd start&lt;BR /&gt;&lt;BR /&gt;the set -x stuff is still valid.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;Countdown is 17. Making room on my head for more salad.</description>
      <pubDate>Fri, 26 Nov 2004 11:32:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/syslogd/m-p/3431091#M15073</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-11-26T11:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: syslogd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/syslogd/m-p/3431092#M15074</link>
      <description>Hi Chakri,&lt;BR /&gt;&lt;BR /&gt;when you say that kernel log is ok is because you have klogd running and when you say that system logger fails is because you don't have syslogd running ?&lt;BR /&gt;&lt;BR /&gt;If syslogd is running and you don't get any message on /var/log/message you must verify /etc/syslogd.conf to see if there is any mistake on it.&lt;BR /&gt;If you are not shure about configure /etc/syslogd.conf please send it to us.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Xyko</description>
      <pubDate>Fri, 26 Nov 2004 12:01:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/syslogd/m-p/3431092#M15074</guid>
      <dc:creator>xyko_1</dc:creator>
      <dc:date>2004-11-26T12:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: syslogd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/syslogd/m-p/3431093#M15075</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;The syslogd configuration file might have some typo which might need to be fixed. Is syslogd running after you start it.&lt;BR /&gt;&lt;BR /&gt;/etc/init.d/syslog start or restart&lt;BR /&gt;&lt;BR /&gt;If syslogd process is running &amp;amp; if there are no entries in the messages file then you need to check the syslogd.conf file.&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;&lt;BR /&gt;HGN</description>
      <pubDate>Fri, 26 Nov 2004 12:42:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/syslogd/m-p/3431093#M15075</guid>
      <dc:creator>HGN</dc:creator>
      <dc:date>2004-11-26T12:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: syslogd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/syslogd/m-p/3431094#M15076</link>
      <description>with set -x option i try /etc/rc.d/init.d/syslog start&lt;BR /&gt;&lt;BR /&gt; . /etc/init.d/functions&lt;BR /&gt;++ TEXTDOMAIN=initscripts&lt;BR /&gt;++ TEXTDOMAINDIR=/etc/locale&lt;BR /&gt;++ umask 022&lt;BR /&gt;++ export PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bi&lt;BR /&gt;++ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin&lt;BR /&gt;++ '[' -z '' ']'&lt;BR /&gt;++ COLUMNS=80&lt;BR /&gt;++ '[' -f /etc/sysconfig/i18n -a -z '' ']'&lt;BR /&gt;++ . /etc/sysconfig/i18n&lt;BR /&gt;+++ SUPPORTED=en_US:en&lt;BR /&gt;+++ /sbin/consoletype&lt;BR /&gt;++ '[' '' = ja_JP.eucJP -a pty '!=' pty ']'&lt;BR /&gt;+++ /sbin/consoletype&lt;BR /&gt;++ '[' '' = ko_KR.eucKR -a pty '!=' pty ']'&lt;BR /&gt;+++ /sbin/consoletype&lt;BR /&gt;++ '[' '' = zh_CN.GB2312 -a pty '!=' pty ']'&lt;BR /&gt;+++ /sbin/consoletype&lt;BR /&gt;++ '[' '' = zh_TW.Big5 -a pty '!=' pty ']'&lt;BR /&gt;++ export LANG&lt;BR /&gt;++ '[' -z '' ']'&lt;BR /&gt;++ '[' -f /etc/sysconfig/init ']'&lt;BR /&gt;++ . /etc/sysconfig/init&lt;BR /&gt;+++ BOOTUP=color&lt;BR /&gt;+++ RES_COL=60&lt;BR /&gt;+++ MOVE_TO_COL=echo -en \033[60G&lt;BR /&gt;+++ SETCOLOR_SUCCESS=echo -en \033[1;32m&lt;BR /&gt;+++ SETCOLOR_FAILURE=echo -en \033[1;31m&lt;BR /&gt;+++ SETCOLOR_WARNING=echo -en \033[1;33m&lt;BR /&gt;+++ SETCOLOR_NORMAL=echo -en \033[0;39m&lt;BR /&gt;+++ LOGLEVEL=3&lt;BR /&gt;+++ PROMPT=yes&lt;BR /&gt;++ '[' -x /sbin/consoletype ']'&lt;BR /&gt;+++ consoletype&lt;BR /&gt;++ '[' pty = serial ']'&lt;BR /&gt;++ '[' color '!=' verbose ']'&lt;BR /&gt;++ INITLOG_ARGS=-q&lt;BR /&gt;+ '[' -f /sbin/syslogd ']'&lt;BR /&gt;+ '[' -f /sbin/klogd ']'&lt;BR /&gt;+ '[' -f /etc/sysconfig/syslog ']'&lt;BR /&gt;+ . /etc/sysconfig/syslog&lt;BR /&gt;++ SYSLOGD_OPTIONS=-r -m 0&lt;BR /&gt;++ KLOGD_OPTIONS=-2&lt;BR /&gt;+ RETVAL=0&lt;BR /&gt;+ umask 077&lt;BR /&gt;+ start&lt;BR /&gt;+ echo -n 'Starting system logger: '&lt;BR /&gt;Starting system logger: + daemon syslogd -r -m 0&lt;BR /&gt;+ local gotbase=&lt;BR /&gt;+ local base= user= nice= bg= pid&lt;BR /&gt;+ nicelevel=0&lt;BR /&gt;+ '[' syslogd '!=' syslogd ']'&lt;BR /&gt;+ '[' -z '' ']'&lt;BR /&gt;+ base=syslogd&lt;BR /&gt;++ pidfileofproc syslogd&lt;BR /&gt;++ local base=syslogd&lt;BR /&gt;++ local pid&lt;BR /&gt;++ '[' 1 = 0 ']'&lt;BR /&gt;++ '[' -f /var/run/syslogd.pid ']'&lt;BR /&gt;+ pid=&lt;BR /&gt;+ '[' -n '' ']'&lt;BR /&gt;+ ulimit -S -c 0&lt;BR /&gt;+ '[' color = verbose ']'&lt;BR /&gt;+ '[' -z '' ']'&lt;BR /&gt;+ initlog -q -c 'syslogd -r -m 0'&lt;BR /&gt;+ '[' 2 -eq 0 ']'&lt;BR /&gt;+ failure 'syslogd startup'&lt;BR /&gt;+ rc=1&lt;BR /&gt;+ '[' -z '' ']'&lt;BR /&gt;+ initlog -q -n /etc/rc.d/init.d/syslog -s 'syslogd startu&lt;BR /&gt;+ '[' color '!=' verbose ']'&lt;BR /&gt;+ echo_failure&lt;BR /&gt;+ '[' color = color ']'&lt;BR /&gt;+ echo -en '\033[60G'&lt;BR /&gt; echo -n '['&lt;BR /&gt;[+ '[' color = color ']'&lt;BR /&gt;+ echo -en '\033[1;31m'&lt;BR /&gt;+ echo -n FAILED&lt;BR /&gt;FAILED+ '[' color = color ']'&lt;BR /&gt;+ echo -en '\033[0;39m'&lt;BR /&gt;+ echo -n ']'&lt;BR /&gt;]+ echo -ne '\r'&lt;BR /&gt;+ return 1&lt;BR /&gt;+ return 1&lt;BR /&gt;+ RETVAL=1&lt;BR /&gt;+ echo&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;chakri&lt;BR /&gt;</description>
      <pubDate>Sun, 28 Nov 2004 03:26:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/syslogd/m-p/3431094#M15076</guid>
      <dc:creator>Chakravarthi</dc:creator>
      <dc:date>2004-11-28T03:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: syslogd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/syslogd/m-p/3431095#M15077</link>
      <description>'syslogd' fails with error code 2..&lt;BR /&gt;&lt;BR /&gt;It doesn't appear is if it is already running('pidfileofproc syslogd' doesn't find the pid file, and returns 0), so it's just failing in general.&lt;BR /&gt;&lt;BR /&gt;Things to check:&lt;BR /&gt;&lt;BR /&gt;/etc/syslog.conf&lt;BR /&gt;/dev/log&lt;BR /&gt;/var/run/&lt;BR /&gt;&lt;BR /&gt;You should be trying to start 'syslogd' as the 'root' user (nothing else).  The file '/etc/syslog.conf' must exist, and the root user must have read permissions to it.  Root must also have read permissions on the socket device '/dev/log' (usually 'srw-rw-rw-').  It must also have write permissions on the '/var/run/' directory to be able to create the pid file.&lt;BR /&gt;&lt;BR /&gt;As 'syslogd' is actually being called by 'initlog', I'd also check that the root user has read permissions on '/etc/initlog.conf'.&lt;BR /&gt;&lt;BR /&gt;Verify all of these, then try it again.</description>
      <pubDate>Sun, 28 Nov 2004 18:21:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/syslogd/m-p/3431095#M15077</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2004-11-28T18:21:45Z</dc:date>
    </item>
  </channel>
</rss>

