<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">For some reason I’m no longer able to access the upsstats.cgi (<a href="http://192.168.123.49/cgi-bin/nut/upsstats.cgi">http://192.168.123.49/cgi-bin/nut/upsstats.cgi</a>) I get the error: Error: no hosts to monitor (check hosts.conf)</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">When Apache starts is complains about not finding the fully qualified domain name.
</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">In the past, upsstats.cgi would just load. I didn’t have to do any Apache2 configuration. I don’t know what has changed.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ve build NUT 2.8.0 from source, autogened, configured, make, make install, and it is running. Is there something I’m missing that isn’t getting updated when I do the make install?</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Upsstats.cgi and the others are located in the cgi-bin/nut/ folder.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I can get to <a href="http://192.168.123.49/">http://192.168.123.49/</a> and the Apache page loads.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Any suggestions?</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Dan</p>
<div style="mso-element:para-border-div;border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in">
<p class="MsoNormal" style="border:none;padding:0in"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">./configure \<br>
--prefix=/usr \<br>
--includedir=/usr/include \<br>
--mandir=/usr/share/man \<br>
--infodir=/usr/share/info \<br>
--sysconfdir=/etc/nut \<br>
--libexecdir=/usr/lib/nut \<br>
--srcdir=. \<br>
--disable-silent-rules \<br>
--libdir=/usr/lib/`gcc -print-multiarch` \<br>
--with-drvpath=/lib/nut \<br>
--datadir=/usr/share/nut \<br>
--with-udev-dir=/lib/udev \<br>
--with-systemdsystemunitdir=/lib/systemd/system \<br>
--with-user=root \<br>
--with-group=root \<br>
--with-usb \<br>
--with-cgi \<br>
--with-cgipath=/usr/lib/cgi-bin/nut \<br>
--with-drivers=usbhid-ups,dummy-ups \<br>
--with-doc=man \<br>
--with-serial=no \<br>
--with-pkgconfig-dir=/usr/lib/'gcc -print-multiarch'/pkgconfig \<br>
--with-nut_monitor<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>