[Nut-upsuser] NUT v2.6.4 with HP AF401A won't start

Pratt Chris Chris.Pratt at comptel.com
Mon Oct 22 11:06:33 UTC 2012


Hi Arnaud.

I’ve applied the patch but it still crashes.  I started from scratch and did the following:

As user ‘nut’:

Unpack the v2.6.5 tarball
Apply the patch
Run ./configure –with-user=nut –with-group=nut –with-snmp
Run make

As user ‘root’:

Run make install
mkdir –p /var/state/ups
chmod 0770 /var/state/ups
chown root:nut /var/state/ups

As user ‘nut’;

Run the debug command.

The debug output is attached.

Chris.

Chris Pratt
Development Infrastructure Manager
T: +44 118 929 4176 | M: +44 7979 854 307 | F: +44 118 929 4001

From: Arnaud Quette [mailto:aquette.dev at gmail.com]
Sent: 18 October 2012 20:46
To: Pratt Chris
Cc: NUT Users
Subject: Re: [Nut-upsuser] NUT v2.6.4 with HP AF401A won't start


2012/10/17 Pratt Chris <Chris.Pratt at comptel.com<mailto:Chris.Pratt at comptel.com>>
Hi Arnaud.

Hi Chris,

first, please keep the traffic on the list, since other people may be interested in the topic.

Unfortunately I'm not primarily a developer  (I manage a room full of servers) so I don't have the normal array of development tools.  I built NUT from the downloaded tarball following the instructions in the Installation Guide so If patching means simply amending files I can do that and then rebuild and test it, if you let me know what changes need to be made.

it's exactly that, not harder.

the patch is attached. please beware that if I've not committed it to the NUT code repository, it's because of a lack of testing!
so even if my confidence level is good, not all my green lights are lit.

to apply the patch, go into the NUT source directory and use:
$ patch -p0 < /path/to/snmp-ups-0outlet.diff

note that it applies fine on 2.6.5.
then just "make && make install" as previously

I'm interested in a driver debug trace, using:
$ /path/to/snmp-ups -DDDDD -a UPS-HP01

If the driver doesn't crash, just Ctrl+C after a couple of minutes.
in all cases, send back the trace in compressed form please.

cheers,
Arnaud
--
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.fr

________________________________
Disclaimer: This message and any attachments thereto are intended solely for the addressed recipient(s) and may contain confidential information.
If you are not the intended recipient, please notify the sender by reply e-mail and delete the e-mail (including any attachments thereto) without producing, distributing or retaining any copies thereof. Any review, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient(s) is prohibited.
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20121022/db82d82b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debug.txt.gz
Type: application/x-gzip
Size: 8401 bytes
Desc: debug.txt.gz
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20121022/db82d82b/attachment-0001.bin>


More information about the Nut-upsuser mailing list