<!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 HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content=Word.Document name=ProgId>
<META content="MSHTML 6.00.2716.2200" name=GENERATOR>
<META content="Microsoft Word 10" name=Originator><LINK
href="cid:filelist.xml@01C262D6.4C6D2560" rel=File-List><o:SmartTagType
name="time"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></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>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; mso-header-margin: .5in; mso-footer-margin: .5in; mso-paper-source: 0; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; 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 style="tab-interval: .5in" vLink=purple link=blue>
<DIV><SPAN class=433310213-23092002><FONT face=Arial color=#0000ff
size=2>Try:</FONT></SPAN></DIV>
<DIV><SPAN class=433310213-23092002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=433310213-23092002><FONT face=Arial color=#0000ff
size=2>Stopping nagios if you managed to get it started (i'm guessing
not);</FONT></SPAN></DIV>
<DIV><SPAN class=433310213-23092002><FONT face=Arial color=#0000ff size=2>if it
exists, rm nagios.cmd</FONT></SPAN></DIV>
<DIV><SPAN class=433310213-23092002><FONT face=Arial color=#0000ff 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 face=Arial color=#0000ff size=2>stop
nagios using favourite method;</FONT></SPAN></DIV>
<DIV><SPAN class=433310213-23092002><FONT face=Arial color=#0000ff size=2>start
nagios using /etc/rc.d/init.d/nagios start</FONT></SPAN></DIV>
<DIV><SPAN class=433310213-23092002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=433310213-23092002><FONT face=Arial color=#0000ff
size=2>hth,</FONT></SPAN></DIV>
<DIV><SPAN class=433310213-23092002><FONT face=Arial color=#0000ff
size=2>dean</FONT></SPAN></DIV>
<DIV><SPAN class=433310213-23092002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=433310213-23092002><FONT face=Arial color=#0000ff 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 class=OutlookMessageHeader dir=ltr align=left><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-SIZE: 10pt; FONT-FAMILY: Arial">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-SIZE: 10pt; FONT-FAMILY: Arial"><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-SIZE: 10pt; FONT-FAMILY: 'Courier New'">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 Minute="16"
Hour="12"><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">12:16</SPAN></FONT></st1:time><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">
.<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-SIZE: 10pt; FONT-FAMILY: 'Courier New'">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 Minute="21"
Hour="19"><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">07:21</SPAN></FONT></st1:time><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">
..<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-SIZE: 10pt; FONT-FAMILY: 'Courier New'">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 Minute="16"
Hour="12"><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">12:16</SPAN></FONT></st1:time><FONT
face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">
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-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><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-SIZE: 10pt; FONT-FAMILY: 'Courier New'">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-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><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-SIZE: 10pt; FONT-FAMILY: 'Courier New'">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-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><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-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT face=Arial
size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTML>