[Nut-upsuser] nut problem on boot/restart
aquette.dev at gmail.com
Thu May 12 20:27:54 UTC 2011
2011/5/8 pepe jose <dynamix66 at hotmail.com>
> When I turn on my pc everything works fine, but if I restart fails (I'm not
> sure if this is true at 100%)(then, i can do 'sudo /etc/init.d/nut restart'
> and it works)
> But what is certain is that sometimes when start up the pc it works and
> sometimes fails. It seems like attempting to use the USB bus before it has
> how I can fix this? thanks so much!
> my setup:
> core i5, SSD corsair, 8GB ram, msi p67a-gd65
> Ubuntu 11.04 64bit
> NUT v2.6 deb from ubuntu
> UPS Soyntec Sekury C 800 USB
> Apr 30 21:58:16 tron upsd: listening on 127.0.0.1 port 3493
> Apr 30 21:58:16 tron upsd: Can't connect to UPS [soyntec]
> (blazer_usb-soyntec): No such file or directory
> Apr 30 21:58:16 tron upsd: Startup successful
> Apr 30 21:58:16 tron upsmon: Startup successful
> Apr 30 21:58:16 tron upsd: User monuser 127.0.0.1 logged into UPS
> Apr 30 21:58:16 tron upsmon: Poll UPS [soyntec localhost] failed -
> Driver not connected
> Apr 30 21:58:16 tron upsmon: Communications with UPS soyntec
> localhost lost
> output (sudo /lib/nut/blazer_usb -DDDDD -a soyntec) attached<http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser>
as per your provided info, this indeed resemble to a udev related issue.
this is quite probably due to the upstart + sysV mix that is in use in
natty, with udev being an upstart job, while nut is still a sysV
I've sadly not had time to install an actual natty, and pbuilder disable
the final solution will come with NUT conversion to upstart (I had a session
at the UDS today on that).
for the time being, you can try to up a bit more NUT's ranking by doing:
$ sudo mv /etc/rc2.d/S50nut /etc/rc2.d/s99nut
and check if the situation has improved.
I'll give a word tomorrow to upstart developers on this.
Arnaud (from UDS Budapest)
Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.free.fr/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Nut-upsuser