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

Pratt Chris Chris.Pratt at comptel.com
Tue Oct 30 09:31:50 UTC 2012


Hi Arnaud.

I think you’ve cracked it.  The following terminal output shows the package and also shows that when I start it from /usr/local/ups/bin it doesn’t crash.

[root at ups-monitor bin]# rpm -q nut
nut-2.6.4-1.el6.x86_64
[root at ups-monitor bin]# which upsdrvctl
/sbin/upsdrvctl
[root at ups-monitor bin]# pwd
/usr/local/ups/bin
[root at ups-monitor bin]# ls
apcsmart      clone         liebert-esp2  powerpanel   upscode2
apcsmart-old  clone-outlet  masterguard   rhino        upsdrvctl
bcmxcp        dummy-ups     metasys       safenet      upslog
belkin        etapro        mge-shut      skel         upsrw
belkinunv     everups       mge-utalk     snmp-ups     upssched-cmd
bestfcom      gamatronic    microdowell   solis        victronups
bestfortress  genericups    oldmge-shut   tripplite
bestuferrups  isbmex        oneac         tripplitesu
bestups       ivtscd        optiups       upsc
blazer_ser    liebert       powercom      upscmd
[root at ups-monitor bin]# ./upsdrvctl start
Network UPS Tools - UPS driver controller 2.6.5
Network UPS Tools - Generic SNMP UPS driver 0.68 (2.6.5)
Detected HP R12000/3UPS on host 192.168.0.89 (mib: cpqpower 1.5)
[UPS-HP01] snmp_ups_walk: data stale for ups.L1.realpower
[UPS-HP01] snmp_ups_walk: data stale for ups.L2.realpower
[UPS-HP01] snmp_ups_walk: data stale for ups.L3.realpower
[root at ups-monitor bin]#

I’ve uninstalled the package and re-run make install just to be sure and it starts up fine with upsdrvctl start, with the following message in /var/log/messages.
Oct 30 09:20:25 ups-monitor snmp-ups[32252]: Startup successful

Now it’s on to finishing the configuration and setting up the clients.

Many thanks for your help.

Regards,

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: 29 October 2012 20:26
To: Pratt Chris
Cc: nut-upsuser at lists.alioth.debian.org
Subject: Re: [Nut-upsuser] NUT v2.6.4 with HP AF401A won't start


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

Hi Chris,

I’ve run the commands you suggested but it actually didn’t crash.  I let it run for about 10 minutes and it was obviously repeating the same messages so I broke it with Ctrl-C.

I’ve attached the terminal output (shortened to meet the file  size limit) and at the end it shows the message from trying to start it with upsdrvctl and the message in /var/log/messages.

just to be sure to understand since the end of the traces seems to be melted:
- the driver doesn't crash when using /usr/local/ups/bin/snmp-ups -DDDDD ...
- the driver crashes when using "upsdrvctl start"

is upsdrvctl also located in /usr/local/bin or do you have another one installed (RPM)?
could you please check using "rpm -q nut"?

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/20121030/2a78da65/attachment.html>


More information about the Nut-upsuser mailing list