<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
In case anyone can see room to point me in the right direction here, I have recorded my latest bootup<div>messages and the one for my rsyslog looks like:</div><div><br></div><div><div>init: rsyslog main process (860) terminated with status 1</div><div>init: rsyslog main process ended, respawning</div><div><br></div><div>As you can see it seems to respawn but without an associated PID yet running initctl list the corresponding entry is:</div><div><br></div><div>rsyslog start/running</div><div><br></div><div>Whereas all others with a PID also have - , process PID</div><div>And even though it says running, a ps yields nothing and no logs are getting updated.</div><div><br></div><div>Any thoughts or help would be appreciated :)</div><div>grail</div><br><hr id="stopSpelling">From: grail69@hotmail.com<br>To: upstart-devel@lists.ubuntu.com<br>Subject: rsyslog script<br>Date: Tue, 1 Mar 2011 03:23:15 +0000<br><br>

<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

</style>


<font class="ecxApple-style-span" face="Tahoma" size="2">I seem to be stuck with this one and not sure if possible to do what I am trying?</font><div style="font-family:Tahoma;font-size:10pt"><br></div><div style="font-family:Tahoma;font-size:10pt">I copied the rsyslog.conf from my Ubuntu machine and changed it to the below:</div><div style="font-family:Tahoma;font-size:10pt"><br></div><div style="font-family:Tahoma;font-size:10pt">< ---------- start -----------------></div><div><div><font class="ecxApple-style-span" face="Tahoma" size="2"># rsyslog - system logging daemon</font></div><div><font class="ecxApple-style-span" face="Tahoma" size="2">#</font></div><div><font class="ecxApple-style-span" face="Tahoma" size="2"># rsyslog is an enhanced multi-threaded replacement for the traditional</font></div><div><font class="ecxApple-style-span" face="Tahoma" size="2"># syslog daemon, logging messages from applications</font></div><div><font class="ecxApple-style-span" face="Tahoma" size="2"><br></font></div><div><font class="ecxApple-style-span" face="Tahoma" size="2">description<span class="ecxApple-tab-span" style="white-space:pre">  </span>"system logging daemon"</font></div><div><font class="ecxApple-style-span" face="Tahoma" size="2"><br></font></div><div><font class="ecxApple-style-span" face="Tahoma" size="2">start on filesystem</font></div><div><font class="ecxApple-style-span" face="Tahoma" size="2">stop on runlevel [06]</font></div><div><font class="ecxApple-style-span" face="Tahoma" size="2"><br></font></div><div><font class="ecxApple-style-span" face="Tahoma" size="2">expect fork</font></div><div><font class="ecxApple-style-span" face="Tahoma" size="2">respawn</font></div><div><font class="ecxApple-style-span" face="Tahoma" size="2"><br></font></div><div><font class="ecxApple-style-span" face="Tahoma" size="2">pre-start script</font></div><div><font class="ecxApple-style-span" face="Tahoma" size="2">    COMPAT=$(/sbin/rsyslogd -v | awk 'NR == 1{print substr($2, 1, 1)}')</font></div><div><font class="ecxApple-style-span" face="Tahoma" size="2">end script</font></div><div><font class="ecxApple-style-span" face="Tahoma" size="2"><br></font></div><div><font class="ecxApple-style-span" face="Tahoma" size="2">exec rsyslogd -c$COMPAT</font></div></div><div style="font-family:Tahoma;font-size:10pt">< ---------- end -----------------></div><div style="font-family:Tahoma;font-size:10pt"><br></div><div style="font-family:Tahoma;font-size:10pt">This seems to start and assign a PID, it then terminates and respawns but without a PID and consequently is not really running.</div><div style="font-family:Tahoma;font-size:10pt"><br></div><div style="font-family:Tahoma;font-size:10pt">So i guess my question is: Am I not able to use variables in this way or have I done it the wrong way?</div><div style="font-family:Tahoma;font-size:10pt">If yes to the wrong way, would someone please educate me?</div><div style="font-family:Tahoma;font-size:10pt"><br></div><div style="font-family:Tahoma;font-size:10pt">Also I am guessing this is not really a devel question ... is there a support list?</div><div style="font-family:Tahoma;font-size:10pt"><br></div><div style="font-family:Tahoma;font-size:10pt">Cheers</div><div style="font-family:Tahoma;font-size:10pt">grail</div>                                    
<br>-- 
upstart-devel mailing list
upstart-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/upstart-devel</div>                                    </body>
</html>