<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:st1 =
"urn:schemas-microsoft-com:office:smarttags"><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content=Word.Document name=ProgId>
<META content="MSHTML 5.00.2920.0" name=GENERATOR>
<META content="Microsoft Word 10" name=Originator><LINK
href="cid:filelist.xml@01C262D6.4C6D2560" rel=File-List><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="time"></o:SmartTagType><!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if !mso]>
<STYLE>st1\:* {
BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<STYLE>P.MsoNormal {
FONT-FAMILY: "Times New Roman"; FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
LI.MsoNormal {
FONT-FAMILY: "Times New Roman"; FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
DIV.MsoNormal {
FONT-FAMILY: "Times New Roman"; FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.EmailStyle17 {
COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose; mso-style-noshow: yes; mso-ansi-font-size: 10.0pt; mso-bidi-font-size: 10.0pt; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; mso-bidi-font-family: Arial
}
DIV.Section1 {
page: Section1
}
</STYLE>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";}
</style>
<![endif]--></HEAD>
<BODY lang=EN-US link=blue style="tab-interval: .5in" vLink=purple>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=947041708-24092002>is
root in the nagiocmd group?</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=947041708-24092002></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=947041708-24092002>the
test for existence in the nagios startup script for nagios.cmd is not suid
nagios, so root cannot remove, etc, the file if it is not in the
group</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=947041708-24092002></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=947041708-24092002>al</SPAN></FONT></DIV>
<BLOCKQUOTE dir=ltr
style="BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px">
<DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
nagios-users-admin@lists.sourceforge.net
[mailto:nagios-users-admin@lists.sourceforge.net]<B>On Behalf Of </B>Bishop,
Dean<BR><B>Sent:</B> 23 September 2002 14:05<BR><B>To:</B> 'Kaufman, Michael';
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> RE: [Nagios-users]
Looked, and Looked ,and a gallon of rum and i still don't know...
..<BR><BR></DIV></FONT>
<DIV><SPAN class=433310213-23092002><FONT color=#0000ff face=Arial
size=2>Try:</FONT></SPAN></DIV>
<DIV><SPAN class=433310213-23092002><FONT color=#0000ff face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=433310213-23092002><FONT color=#0000ff face=Arial
size=2>Stopping nagios if you managed to get it started (i'm guessing
not);</FONT></SPAN></DIV>
<DIV><SPAN class=433310213-23092002><FONT color=#0000ff face=Arial size=2>if
it exists, rm nagios.cmd</FONT></SPAN></DIV>
<DIV><SPAN class=433310213-23092002><FONT color=#0000ff face=Arial
size=2>start nagios using /path-to-nagios/bin/nagios
/path-to-nagios/etc/nagios.cfg;</FONT></SPAN></DIV>
<DIV><SPAN class=433310213-23092002><FONT color=#0000ff face=Arial size=2>stop
nagios using favourite method;</FONT></SPAN></DIV>
<DIV><SPAN class=433310213-23092002><FONT color=#0000ff face=Arial
size=2>start nagios using /etc/rc.d/init.d/nagios start</FONT></SPAN></DIV>
<DIV><SPAN class=433310213-23092002><FONT color=#0000ff face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=433310213-23092002><FONT color=#0000ff face=Arial
size=2>hth,</FONT></SPAN></DIV>
<DIV><SPAN class=433310213-23092002><FONT color=#0000ff face=Arial
size=2>dean</FONT></SPAN></DIV>
<DIV><SPAN class=433310213-23092002><FONT color=#0000ff face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=433310213-23092002><FONT color=#0000ff face=Arial size=2>p.s.
there should be more in the archives. i have seen this a couple times
over the last few months.</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Kaufman, Michael
[mailto:Kaufmanm@gtc.edu]<BR><B>Sent:</B> Monday, September 23, 2002 8:53
AM<BR><B>To:</B> nagios-users@lists.sourceforge.net<BR><B>Subject:</B>
[Nagios-users] Looked, and Looked ,and a gallon of rum and i still don't
know... ..<BR><BR></FONT></DIV>
<DIV class=Section1>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT face=Arial
size=2><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">I am having a
problem that I can not seem to fix.<SPAN style="mso-spacerun: yes">
</SPAN>The "old command file problem".<SPAN style="mso-spacerun: yes">
</SPAN>I have looked back in the threads and only found one message from <A
href="mailto:todd.jones@weirslurry.com">todd.jones@weirslurry.com</A> with
any similar problem, but I did not see a resolution.<SPAN
style="mso-spacerun: yes"> </SPAN>Nagios works fine, no problem if I
run it from a command line.<SPAN style="mso-spacerun: yes">
</SPAN>When I add it to init.d the external command file acts up. <SPAN
style="mso-spacerun: yes"> </SPAN>I get command file
'/usr/local/nagios/var/rw/nagios.cmd' the external command file may be
missing.<SPAN style="mso-spacerun: yes"> </SPAN>The rights
are:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT face=Arial
size=2><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT
face="Courier New" size=2><SPAN
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">drwxrwsrwx<SPAN
style="mso-spacerun: yes"> </SPAN>2 nagios<SPAN
style="mso-spacerun: yes"> </SPAN>nagiocmd<SPAN
style="mso-spacerun: yes"> </SPAN>4096<SPAN
style="mso-spacerun: yes"> </SPAN>Sep 20<SPAN
style="mso-spacerun: yes"> </SPAN></SPAN></FONT><st1:time Hour="12"
Minute="16"><FONT face="Courier New" size=2><SPAN
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">12:16</SPAN></FONT></st1:time><FONT
face="Courier New" size=2><SPAN
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">
.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT
face="Courier New" size=2><SPAN
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">drwxrwxr-x<SPAN
style="mso-spacerun: yes"> </SPAN>6 nagios<SPAN
style="mso-spacerun: yes"> </SPAN>nagiocmd<SPAN
style="mso-spacerun: yes"> </SPAN>4096<SPAN
style="mso-spacerun: yes"> </SPAN>Sep 23<SPAN
style="mso-spacerun: yes"> </SPAN></SPAN></FONT><st1:time Hour="19"
Minute="21"><FONT face="Courier New" size=2><SPAN
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">07:21</SPAN></FONT></st1:time><FONT
face="Courier New" size=2><SPAN
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">
..<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT
face="Courier New" size=2><SPAN
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">prw-rw----<SPAN
style="mso-spacerun: yes"> </SPAN>1 nagios<SPAN
style="mso-spacerun: yes"> </SPAN>nagiocmd<SPAN
style="mso-spacerun: yes">
</SPAN>0<SPAN style="mso-spacerun: yes"> </SPAN>Sep 20<SPAN
style="mso-spacerun: yes"> </SPAN></SPAN></FONT><st1:time Hour="12"
Minute="16"><FONT face="Courier New" size=2><SPAN
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">12:16</SPAN></FONT></st1:time><FONT
face="Courier New" size=2><SPAN
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">
nagios.cmd<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT
face="Courier New" size=2><SPAN
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT
face="Courier New" size=2><SPAN
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">if anyone has any ideas
please let me know... I can not afford much more
rum...<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT
face="Courier New" size=2><SPAN
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT
face="Courier New" size=2><SPAN
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">mike<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT
face="Courier New" size=2><SPAN
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT
face="Courier New" size=2><SPAN
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT face=Arial
size=2><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>