<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 10/22/2017 09:39 AM, Daniel Shields
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:BN6PR17MB13132956262254E7889B0E3BF2410@BN6PR17MB1313.namprd17.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <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;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
h1
        {mso-style-priority:9;
        mso-style-link:"Heading 1 Char";
        margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:16.0pt;
        font-family:"Calibri Light",sans-serif;
        color:#2F5496;
        font-weight:normal;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.Heading1Char
        {mso-style-name:"Heading 1 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 1";
        font-family:"Calibri Light",sans-serif;
        color:#2F5496;}
.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>
      <div class="WordSection1">
        <p class="MsoNormal">Hello,</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">     I have a Raspberry Pi model B running
          Raspbian Stretch.  I have installed version 2.7.4-5 of nut
          from the raspbian repos.  I have a CyberPower 1500PFCLCD UPS. 
          When I reboot the Pi, the nut-server service fails to start.</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">root@nut:~# service nut-server status</p>
        <p class="MsoNormal">● nut-server.service - Network UPS Tools -
          power devices information server</p>
        <p class="MsoNormal">   Loaded: loaded
          (/lib/systemd/system/nut-server.service; enabled; vendor
          preset: enabled)</p>
        <p class="MsoNormal">   Active: failed (Result: exit-code) since
          Sun 2017-10-22 05:57:37 UTC; 5min ago</p>
        <p class="MsoNormal">  Process: 341 ExecStart=/sbin/upsd
          (code=exited, status=1/FAILURE)</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Oct 22 05:57:37 nut.tklapp.com upsd[341]:
          fopen /var/run/nut/upsd.pid: No such file or directory</p>
        <p class="MsoNormal">Oct 22 05:57:37 nut.tklapp.com upsd[341]:
          not listening on 192.168.213.189 port 3493</p>
        <p class="MsoNormal">Oct 22 05:57:37 nut.tklapp.com upsd[341]:
          not listening on 192.168.213.189 port 3493</p>
        <p class="MsoNormal">Oct 22 05:57:37 nut.tklapp.com upsd[341]:
          listening on 127.0.0.1 port 3493</p>
        <p class="MsoNormal">Oct 22 05:57:37 nut.tklapp.com upsd[341]:
          no listening interface available</p>
        <p class="MsoNormal">Oct 22 05:57:37 nut.tklapp.com upsd[341]:
          Network UPS Tools upsd 2.7.4</p>
        <p class="MsoNormal">Oct 22 05:57:37 nut.tklapp.com systemd[1]:
          nut-server.service: Control process exited, code=exited
          status=1</p>
        <p class="MsoNormal">Oct 22 05:57:37 nut.tklapp.com systemd[1]:
          Failed to start Network UPS Tools - power devices information
          server.</p>
        <p class="MsoNormal">Oct 22 05:57:37 nut.tklapp.com systemd[1]:
          nut-server.service: Unit entered failed state.</p>
        <p class="MsoNormal">Oct 22 05:57:37 nut.tklapp.com systemd[1]:
          nut-server.service: Failed with result 'exit-code'.</p>
        <p class="MsoNormal">root@nut:~#</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I have looked through the syslogs, but have
          not been able to find anything obvious.</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I have attached an excerpt from the syslog
          from when the server is rebooted and the nut-server service
          fails.  Any help or advice is greatly appreciated.  Thanks!</p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
    </blockquote>
    <br>
    Can you please try replacing "after=network.target" with
    "after=network-online.target" ?<br>
  </body>
</html>