Package: nut-server
Version: 2.7.4-5
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

nut-driver.service fails to start at boot, because no resolver is
available.
Restarting nut-driver works and establishes a connection.

There is no local resolver. dig shows that its contacting the dns server
on our network. We are using resolveconf.

nut-driver probably only misses a dependency for a resolver, but I have
no idea how to do that.

journalctl -u nut-driver.service:
May 17 11:20:01 prox1 systemd[1]: Starting Network UPS Tools - power
device driver controller...
May 17 11:20:28 prox1 upsdrvctl[2389]: [ups] nut_snmp_init: snmp_open:
Unknown host (redacted.usv.stunet.tu-freiberg.de) (Resource temporarily
unavailable)
May 17 11:20:28 prox1 upsdrvctl[2389]: Unable to establish communication
May 17 11:20:28 prox1 upsdrvctl[2389]: Network UPS Tools - Generic SNMP
UPS driver 0.97 (2.7.4)
May 17 11:20:28 prox1 upsdrvctl[2389]: Driver failed to start (exit
status=1)
May 17 11:20:28 prox1 upsdrvctl[2389]: Network UPS Tools - UPS driver
controller 2.7.4
May 17 11:20:28 prox1 systemd[1]: nut-driver.service: Control process
exited, code=exited status=1
May 17 11:20:28 prox1 systemd[1]: Failed to start Network UPS Tools -
power device driver controller.
May 17 11:20:28 prox1 systemd[1]: nut-driver.service: Unit entered
failed state.
May 17 11:20:28 prox1 systemd[1]: nut-driver.service: Failed with result
'exit-code'.

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 9.9
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.15.18-14-pve (SMP w/32 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages nut-server depends on:
ii  adduser              3.115
ii  init-system-helpers  1.48
ii  libc6                2.24-11+deb9u4
ii  libnspr4             2:4.12-6
ii  libnss3              2:3.26.2-1.1+deb9u1
ii  libupsclient4        2.7.4-5
ii  libusb-0.1-4         2:0.1.12-30
ii  libwrap0             7.6.q-26
ii  lsb-base             9.20161125
ii  nut-client           2.7.4-5
ii  udev                 232-25+deb9u11

nut-server recommends no packages.

Versions of packages nut-server suggests:
pn  nut-cgi   <none>
pn  nut-ipmi  <none>
ii  nut-snmp  2.7.4-5
pn  nut-xml   <none>

-- Configuration Files:
/etc/nut/ups.conf changed:
[ups]
        driver = snmp-ups
        port = redacted.usv.stunet.tu-freiberg.de
        community = redacted

/etc/nut/upsd.users changed:
[upsmon]
        password = redacted
        upsmon slave


-- no debconf information

Reply via email to