[Bug 608182] Re: problems with ups (mge pulsar es 8+)
Wolfgang, I'm closing the bug since you have a fix. If you feel you are still facing an issue, don't hesitate to reopen this bug, or open a new one. cheers, --- Arnaud ** Changed in: nut (Ubuntu) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/608182 Title: problems with ups (mge pulsar es 8+) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nut/+bug/608182/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608182] Re: problems with ups (mge pulsar es 8+)
** Changed in: nut (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/608182 Title: problems with ups (mge pulsar es 8+) -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608182] Re: problems with ups (mge pulsar es 8+)
@Arnaud, I'm confused as to the current status of this bug. Is there anything that needs to be done? Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/608182 Title: problems with ups (mge pulsar es 8+) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nut/+bug/608182/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608182] Re: problems with ups (mge pulsar es 8+)
** Changed in: nut (Ubuntu) Importance: Undecided => Low -- problems with ups (mge pulsar es 8+) https://bugs.launchpad.net/bugs/608182 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608182] Re: problems with ups (mge pulsar es 8+)
there are no results for mge-utalk in /var/log/messages if I don't start nut manually with /etc/init.d/nut start, I always get the following message: Broadcast Message from n...@l4 (somewhere) at 10:40 ... UPS mge...@localhost is unavailable so, I think, nut starts not completly, or nut starts and the driver doesn't start, or something like this wolfgang -- problems with ups (mge pulsar es 8+) https://bugs.launchpad.net/bugs/608182 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608182] Re: problems with ups (mge pulsar es 8+)
** Attachment added: "replacement /etc/init.d/nut for debug / investigation purpose" http://launchpadlibrarian.net/52657944/nut -- problems with ups (mge pulsar es 8+) https://bugs.launchpad.net/bugs/608182 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608182] Re: problems with ups (mge pulsar es 8+)
/var/log/boot.log says nothing about failed drivers or so after changing /etc/init.d/nut and rebooting there is no /tmp/mge-utalk.log, I've tried it several times regards wolfgang -- problems with ups (mge pulsar es 8+) https://bugs.launchpad.net/bugs/608182 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608182] Re: problems with ups (mge pulsar es 8+)
I'm running now manually a script after reboot to start nut, because scripts run during boot can't start nut, don't know why -- problems with ups (mge pulsar es 8+) https://bugs.launchpad.net/bugs/608182 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608182] Re: problems with ups (mge pulsar es 8+)
** Attachment added: "Dependencies.txt" http://launchpadlibrarian.net/52254514/Dependencies.txt -- problems with ups (mge pulsar es 8+) https://bugs.launchpad.net/bugs/608182 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608182] Re: problems with ups (mge pulsar es 8+)
these are my conf-files: ** Attachment added: "nut.conf" http://launchpadlibrarian.net/52259768/nut.conf -- problems with ups (mge pulsar es 8+) https://bugs.launchpad.net/bugs/608182 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608182] Re: problems with ups (mge pulsar es 8+)
** Attachment added: "nut.conf" http://launchpadlibrarian.net/52259831/nut.conf -- problems with ups (mge pulsar es 8+) https://bugs.launchpad.net/bugs/608182 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608182] Re: problems with ups (mge pulsar es 8+)
oops, doesn't work like I expected :) nut.conf: MODE=none ups.conf: [mgeups] driver = mge-utalk port = /dev/ttyS0 desc = "MGE Pulsar ES 8+" pollinterval=20 upsd.conf: LISTEN 127.0.0.1 3493 MAXAGE 25 upsd.users: [admin] password = mgepass allowfrom = localhost actions = SET instcmds = ALL [monuser] password = mgepass allowfrom = localhost upsmon master upsmon.conf: MONITOR mge...@localhost 1 monuser mgepass master MINSUPPLIES 1 SHUTDOWNCMD "/sbin/shutdown -h +0" NOTIFYCMD /sbin/upssched POLLFREQ 5 POLLFREQALERT 5 HOSTSYNC 15 DEADTIME 25 POWERDOWNFLAG /etc/killpower NOTIFYFLAG ONLINE SYSLOG+EXEC NOTIFYFLAG ONBATT SYSLOG+EXEC NOTIFYFLAG COMMOK IGNORE NOTIFYFLAG COMMBAD IGNORE RBWARNTIME 43200 NOCOMMWARNTIME 300 FINALDELAY 5 upssched.conf: CMDSCRIPT /usr/sbin/upssched-cmd PIPEFN /var/run/nut/upssched.pipe LOCKFN /var/run/nut/upssched.lock AT ONBATT * START-TIMER ups-on-battery-timer 10 AT ONLINE * CANCEL-TIMER ups-on-battery-timer AT ONBATT * EXECUTE ups-on-battery AT ONLINE * EXECUTE ups-back-on-line wizard.conf: bIsNutConfigured=true shutdownBatteryLevel=-1 shutdownBatteryRuntime=-1 displaySystray=true -- problems with ups (mge pulsar es 8+) https://bugs.launchpad.net/bugs/608182 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608182] Re: problems with ups (mge pulsar es 8+)
sorry for bothering you again autoshutdown works fine, thank you :) but a graphical tool would be nice too, and nut-monitor doesn't work up to now: if I start it from terminal, I get the following: Traceback (most recent call last): File "/usr/bin/NUT-Monitor", line 883, in gui = interface() File "/usr/bin/NUT-Monitor", line 208, in __init__ self.connect_to_ups() File "/usr/bin/NUT-Monitor", line 690, in connect_to_ups self.__ups_rw_vars = self.__ups_handler.GetRWVars( self.__current_ups ) File "/usr/lib/pymodules/python2.6/PyNUT.py", line 208, in GetRWVars data = current[ offset: ].split( '"' )[1] IndexError: list index out of range What must I change? (I've looked it up in the internet, but didn't find much) -- problems with ups (mge pulsar es 8+) https://bugs.launchpad.net/bugs/608182 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608182] Re: problems with ups (mge pulsar es 8+)
and there is another thing I don't really understand: these "ups-things" aren't started completely, after reboot I get "UPS mge...@localhost is unavailable", so I have to run /etc/init.d/nut start and then it works. This is my /etc/default/nut: # start upsd START_UPSD=yes # start upsmon START_UPSMON=yes -- problems with ups (mge pulsar es 8+) https://bugs.launchpad.net/bugs/608182 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608182] Re: problems with ups (mge pulsar es 8+)
** Tags added: patch -- problems with ups (mge pulsar es 8+) https://bugs.launchpad.net/bugs/608182 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608182] Re: problems with ups (mge pulsar es 8+)
this is the output for upsc mgeups: device.mfr: MGE UPS SYSTEMS device.model: Pulsar ES8+ device.type: ups driver.name: mge-utalk driver.parameter.pollinterval: 2 driver.parameter.port: /dev/ttyS0 driver.version: 2.4.3 driver.version.internal: 0.89 ups.firmware: 0 ups.id: Pulsar ES8+ 0 ups.mfr: MGE UPS SYSTEMS ups.model: Pulsar ES8+ ups.status: OL CHRG upsrw mgeups doesn't give any output I think there is a bug or something like this in PyNUT-rw-except.diff, because when I run cd /usr/lib/pymodules/python2.6 && sudo patch --dry-run -p0 https://bugs.launchpad.net/bugs/608182 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608182] Re: problems with ups (mge pulsar es 8+)
I still get the same outputs with NUT-Monitor. my nut.conf looks now the following: MODE=standalone ps -efl | grep mge-utalk: 0 S root 2066 2002 0 80 0 - 1907 pipe_w 08:37 pts/000:00:00 grep --color=auto mge-utalk upsc mgeups: Error: Driver not connected ls -la /var/run/nut: insgesamt 8 drwxrwx--- 2 root nut 80 2010-07-26 08:32 . drwxr-xr-x 22 root root 760 2010-07-26 08:32 .. -rw-r--r-- 1 nut nut5 2010-07-26 08:32 upsd.pid -rw-r--r-- 1 root root 5 2010-07-26 08:32 upsmon.pid regards, Wolfgang -- problems with ups (mge pulsar es 8+) https://bugs.launchpad.net/bugs/608182 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608182] Re: problems with ups (mge pulsar es 8+)
nut monitor works now, I forgot to reboot thank you very much! -- problems with ups (mge pulsar es 8+) https://bugs.launchpad.net/bugs/608182 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 608182] Re: problems with ups (mge pulsar es 8+)
I think I've detected another problem: If I start NUT-Monitor immediately after running /etc/init.d/nut start it starts not correctly, I can't do anything, so I have to reboot the system -- problems with ups (mge pulsar es 8+) https://bugs.launchpad.net/bugs/608182 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 608182] Re: problems with ups (mge pulsar es 8+)
2011/7/18 Dave Walker > @Arnaud, I'm confused as to the current status of this bug. Is there > anything that needs to be done? > @Dave: I'm not completely sure. the user has found a workaround. IMHO, we are probably facing some race condition between upstart native script Vs sysV, and udev serial port privileges. @Wolfgang: any update on your issue? how have you configured privileges on your serial port? (refer to /usr/share/doc/nut/README.Debian.gz, (II) -> (3) -> (b)) have you tried moving up the NUT (sysV) script' priority? Ie $ sudo update-rc.d nut start 90 2 3 4 5 . stop 90 0 1 6 . and reboot the system... cheers, Arnaud -- 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/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/608182 Title: problems with ups (mge pulsar es 8+) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nut/+bug/608182/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 608182] Re: problems with ups (mge pulsar es 8+)
2010/7/26 Wolfgang Lubowski > I still get the same outputs with NUT-Monitor. > my nut.conf looks now the following: > MODE=standalone > > ps -efl | grep mge-utalk: > 0 S root 2066 2002 0 80 0 - 1907 pipe_w 08:37 pts/000:00:00 > grep --color=auto mge-utalk > > upsc mgeups: > Error: Driver not connected > > ls -la /var/run/nut: > insgesamt 8 > drwxrwx--- 2 root nut 80 2010-07-26 08:32 . > drwxr-xr-x 22 root root 760 2010-07-26 08:32 .. > -rw-r--r-- 1 nut nut5 2010-07-26 08:32 upsd.pid > -rw-r--r-- 1 root root 5 2010-07-26 08:32 upsmon.pid > all this confirms that the driver failed to start. can you try grep'ing your /var/log/messages for "mge-utalk" the NUT-Monitor problem are related to that. If you have any other info (or a screenshot) to give more details on the "it starts not correctly". Ie does it crash, is there a trace, ...? Arnaud -- problems with ups (mge pulsar es 8+) https://bugs.launchpad.net/bugs/608182 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 608182] Re: problems with ups (mge pulsar es 8+)
2010/7/28 Wolfgang Lubowski > there are no results for mge-utalk in /var/log/messages > any "(driver(s) failed)" message during the boot? if I don't start nut manually with /etc/init.d/nut start, I always get the > following message: > Broadcast Message from n...@l4 >(somewhere) at 10:40 ... > > UPS mge...@localhost is unavailable > > so, I think, nut starts not completly, or nut starts and the driver > doesn't start, or something like this > the above is indeed upsd notifying that the driver is not there! try the following (as root): - backup your /etc/init.d/nut - overwrite it with the attachment - reboot your computer and send us back /tmp/mge-utalk.log for investigation - restore everything and reboot cheers, Arnaud -- problems with ups (mge pulsar es 8+) https://bugs.launchpad.net/bugs/608182 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 608182] Re: problems with ups (mge pulsar es 8+)
Hi Wolfgang, a first and quick comment: this is not a NUT bug, but rather a PSP one! 2010/7/21 Wolfgang Lubowski > oops, doesn't work like I expected :) > > nut.conf: > MODE=none > apart from some binary issues with PSP, this one is still sitting on NUT 2.2 compatibility. On Debian, I've recently added with the 2.4 releases the above nut.conf. This one is not supported by PSP for generating NUT configuration files. Thus, PSP still generates /etc/default/nut. so, first, modify the above "none" for "standalone", and call a "sudo invoke-rc.d nut start" then check that it is working with "upsc mgeups". Also note that the PSP is abandoned. I've not worked on it for a long time, and will not work on it anymore. Prefer NUT-Monitor (http://www.lestat.st/informatique/projets/nut-monitor-en) which will be distributed with NUT packages (and is already part of the source .tar.gz). cheers, Arnaud -- Linux / Unix Expert R&D - Eaton - http://www.eaton.com/mgeops Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.free.fr/ -- problems with ups (mge pulsar es 8+) https://bugs.launchpad.net/bugs/608182 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 608182] Re: problems with ups (mge pulsar es 8+)
Hi Wolfgang, I'm cc'ing NUT-Monitor author, for info 2010/7/22 Wolfgang Lubowski > sorry for bothering you again > autoshutdown works fine, thank you :) > but a graphical tool would be nice too, and nut-monitor doesn't work up to > now: > if I start it from terminal, I get the following: > Traceback (most recent call last): > File "/usr/bin/NUT-Monitor", line 883, in >gui = interface() > File "/usr/bin/NUT-Monitor", line 208, in __init__ >self.connect_to_ups() > File "/usr/bin/NUT-Monitor", line 690, in connect_to_ups >self.__ups_rw_vars = self.__ups_handler.GetRWVars( self.__current_ups ) > File "/usr/lib/pymodules/python2.6/PyNUT.py", line 208, in GetRWVars >data = current[ offset: ].split( '"' )[1] > IndexError: list index out of range > > What must I change? (I've looked it up in the internet, but didn't find > much) > can you please send back the following outputs: - upsc mgeups - upsrw mgeups as for the exception, apply the attached (untested) patch should fix the issue. apply it using: cd /usr/lib/pymodules/python2.6 && sudo patch --dry-run -p0 < /path/to/PyNUT-rw-except.diff cheers, Arnaud ** Patch added: "PyNUT-rw-except.diff" http://launchpadlibrarian.net/52326897/PyNUT-rw-except.diff -- problems with ups (mge pulsar es 8+) https://bugs.launchpad.net/bugs/608182 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 608182] Re: problems with ups (mge pulsar es 8+)
2010/7/22 Wolfgang Lubowski <608...@bugs.launchpad.net> > and there is another thing I don't really understand: > these "ups-things" aren't started completely, after reboot I get "UPS > mge...@localhost is unavailable", so I have to run /etc/init.d/nut start > and then it works. > there can be several reasons. but the first that comes to mind is some serial port privileges issue at startup: check /usr/share/doc/nut/README.Debian.gz, section (II) Installation -> device port permissions. mge-utalk may fail to switch to the nut user if the permissions are set *after* nut startup. This is my /etc/default/nut: > # start upsd > START_UPSD=yes > # start upsmon > START_UPSMON=yes > once more, this file is now replaced by /etc/nut/nut.conf. this one must contain the line: MODE=standalone please confirm that you have done this. Arnaud -- problems with ups (mge pulsar es 8+) https://bugs.launchpad.net/bugs/608182 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 608182] Re: problems with ups (mge pulsar es 8+)
2010/7/23 Wolfgang Lubowski > this is the output for upsc mgeups: > device.mfr: MGE UPS SYSTEMS > device.model: Pulsar ES8+ > device.type: ups > driver.name: mge-utalk > driver.parameter.pollinterval: 2 > driver.parameter.port: /dev/ttyS0 > driver.version: 2.4.3 > driver.version.internal: 0.89 > ups.firmware: 0 > ups.id: Pulsar ES8+ 0 > ups.mfr: MGE UPS SYSTEMS > ups.model: Pulsar ES8+ > ups.status: OL CHRG > > upsrw mgeups doesn't give any output > > I think there is a bug or something like this in PyNUT-rw-except.diff, > because when I run cd /usr/lib/pymodules/python2.6 && sudo patch --dry-run > -p0 patching file PyNUT.py > patch unexpectedly ends in middle of line > Hunk #1 succeeded at 193 (offset 3 lines). > well, 2 things: - the patch, once processed by launchpad, seems to alter something. not much harms though. - I've wrongly left the "--dry-run" part of the "patch" command. Just remove this option, and relaunch the full line, ie: cd /usr/lib/pymodules/python2.6 && sudo patch -p0 dialout, but this hadn't changed anything > you have still not answered my question on the content of /etc/nut/nut.conf! I'd also need the result of the following commands, issued just after a reboot, without restarting the driver: ps -efl | grep mge-utalk upsc mgeups ls -la /var/run/nut cheers, Arnaud -- problems with ups (mge pulsar es 8+) https://bugs.launchpad.net/bugs/608182 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs