Displaying 20 results from an estimated 26 matches for "upsconf".
2005 Nov 08
1
adding libusb CFLAGS to generic-hid.c rule
Peter,
attached is a proposed patch to fix compilation of generic-hid.c when
libusb's usb.h is not in /usr/include (but the -I flag is provided by
"libusb-config --cflags"). It fixes the build under OS X, where Fink
installs libusb with --prefix=/sw.
I changed "usb.h" to <usb.h> so that 'make depend' wouldn't generate a
dependency on 'usb.h' with
2005 Sep 12
1
Re: Status of the PSE NUT patches (was: NUT patches)
[I'm switching my dev address to @gmail.com instead of @mgeups...
please, update your bookmark]
Peter Selinger wrote:
> > Arnaud Quette wrote:
> >
> > Here is the status of PSE (Peter Selinger) NUT patches
> > for newhidups (hidparser, apc support, ...).
> >
> > - nut-cvs-patch-REOPEN-2005-08-24:
> > approved and applied on Development tree
> >
2007 Mar 06
3
make errors on solaris express dev 02/07
...ers'
/bin/sh ../libtool --tag=CC --mode=link gcc -I../include -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/sfw/include -g -Dsolaris2 -I. -I/usr/sfw/include -O -Wall -Wsign-compare -o al175 al175.o ../common/libcommon.a ../common/upsconf.o ../common/parseconf.o ../common/state.o main.o dstate.o serial.o
gcc -I../include -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/sfw/include -g -Dsolaris2 -I. -I/usr/sfw/include -O -Wall -Wsign-compare -o al175 al175.o ../common/upscon...
2015 Feb 13
1
Error installing Nut 2.7.2 on RedHat 6.6
...us: creating lib/libupsclient.pc
config.status: creating lib/libnutclient.pc
config.status: creating lib/libnutscan.pc
config.status: creating lib/Makefile
config.status: creating scripts/augeas/Makefile
config.status: creating scripts/augeas/nutnutconf.aug
config.status: creating scripts/augeas/nutupsconf.aug
config.status: creating scripts/augeas/nutupsdconf.aug
config.status: creating scripts/augeas/nutupsdusers.aug
config.status: creating scripts/augeas/nutupsmonconf.aug
config.status: creating scripts/augeas/nutupsschedconf.aug
config.status: creating scripts/augeas/nuthostsconf.aug
config.statu...
2008 Aug 15
2
Problem with APC and Fedora 8 I86_64
...-I../include -O -Wall -Wsign-compare -MT common.o -MD -MP -MF .deps/common.Tpo -c -o common.o common.c
mv -f .deps/common.Tpo .deps/common.Po
rm -f libcommon.a
/usr/bin/ar cru libcommon.a common.o
ranlib libcommon.a
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O -Wall -Wsign-compare -MT upsconf.o -MD -MP -MF .deps/upsconf.Tpo -c -o upsconf.o upsconf.c
mv -f .deps/upsconf.Tpo .deps/upsconf.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O -Wall -Wsign-compare -MT parseconf.o -MD -MP -MF .deps/parseconf.Tpo -c -o parseconf.o parseconf.c
mv -f .deps/parseconf.Tpo .deps/parseconf.Po...
2006 May 12
1
Fwd: RE New xanto driver for NUT
Dear Andreas,
some googling revealed, you created a driver for the xanto series of
online-usv.de. In what state it is currently?
I've to manage a S2000 and would like to use nut for it, is it usable by
now? Do you need another tester?
TIA,
Pete
2010 Jul 21
1
[PATCH] nut crashes when port= is omitted
...ng configuration. During quick testing I did not find any other
sensitive place or value.
How to reproduce this crash:
1)add ups to ups.conf, omit port configuration
2)run upsdrvctl stop
There is nothing checking ups configuration is ok for upsdrvctl. For daemon
there is check in server/conf.c upsconf_add. I've moved that checking code to
separate function upsconf.c : validate_upsconf and used this function from
upsconf_add and from upsdrvctl.c , this was more intrusive than it seemed. See
attached patch (tested). Simpler way would be just adding validate_upsconf to
upsdrvctl.c but it...
2006 May 20
1
building a library for common/ [was: minor building issues (svn HEAD revision 427)]
...ers,
I'm looking for a low-tech solution for this linker error:
> gcc -I../include -O -Wall -Wsign-compare -g -Dsolaris2
> -I/software/openssl-0.9.7_runtime/include -I.
> -I/software/netsnmp-5.3/include -o snmp-ups snmp-ups.o main.o dstate.o \
> ../common/state.o ../common/upsconf.o ../common/parseconf.o \
> ../common/common.o ../common/setenv.o ../common/inet_aton.o
> -lnsl -lsocket -L/software/openssl-0.9.7_runtime/lib
> -R/software/openssl-0.9.7_runtime/lib:/software/libz-1.1.4_runtime/lib
> -L/software/netsnmp-5.3/lib -lnetsnmp -lgen -lcrypto -lkst...
2010 Feb 23
6
Network UPS Tools 2.4.3
Network UPS Tools version 2.4.3 has been released.
http://www.networkupstools.org/
Note: this is only a bugfix release that only solves the regression on
IPv6 activation.
Direct access:
- Download: http://www.networkupstools.org/source/2.4/nut-2.4.3.tar.gz
- News: http://www.networkupstools.org/source/2.4/new-2.4.3.txt
- ChangeLog: http://www.networkupstools.org/source/2.4/ChangeLog
the NUT
2006 Jul 30
8
Gentoo Ultra USB UPS
Hi All
I'm trying to get my Ultra UPS connected. It connects using a standard
USB cable
I have --with-drivers=hidups in the configure command and I have lsusb
showing
Bus 001 Device 002: ID 0d9f:0001 Powercom Co., Ltd
Bus 001 Device 001: ID 0000:0000
I have /dev/usb/hiddev0
now matter what I try I keep getting
upsdrvctl start
Network UPS Tools - UPS driver controller 2.0.3
Can't
2005 Sep 16
1
recent and planned changes
* I committed into CVS the gendb patch that I sent to the mailing list
on September 12. Arnaud, I hope you approve of this patch; it is
more reliable than the previous method in tracking the correct
dependencies.
* This, together with some other minor recent changes on the
Development branch, is between the "before_PSE_3" and "after_PSE_3"
tags. Arnaud: if you
2006 Jul 22
1
Error during make: *** No rule to make target `usb.h', needed by `tripplite-hid.o'. Stop.
...tatus: creating include/config.h
config.status: include/config.h is unchanged
And the output of the make command:
common/
make[1]: Entering directory `/usr/local/src/nut/common'
gcc -I../include -O -Wall -Wsign-compare -c -o common.o common.c
gcc -I../include -O -Wall -Wsign-compare -c -o upsconf.o upsconf.c
gcc -I../include -O -Wall -Wsign-compare -c -o parseconf.o parseconf.c
gcc -I../include -O -Wall -Wsign-compare -c -o state.o state.c
make[1]: Leaving directory `/usr/local/src/nut/common'
drivers/
make[1]: Entering directory `/usr/local/src/nut/drivers'
make[1]: *** No rule...
2006 Oct 18
1
nut 2.0.4 won't compile on AIX 5.3
Hi there,
I'm trying to compile nut 2.0.4 on an AIX 5.3 machine, but it fails:
$ make
common/
/usr/vac/bin/cc -I../include -O -c common.c
/usr/vac/bin/cc -I../include -O -c upsconf.c
/usr/vac/bin/cc -I../include -O -c parseconf.c
/usr/vac/bin/cc -I../include -O -c state.c
Target "all" is up to date.
drivers/
/usr/vac/bin/cc -I../include -O -c bestups.c
"serial.h", line 11.4: 1506-205 (S) #error "No <sys/termios.h> availab...
2005 Aug 17
0
Re: Problems compiling snmp-ups on Solaris
...work with
> our Symmetra, which uses SNMP. nut-2.0.2 built fine on my Solaris 8 box,
> but when I do "make build-snmp" it dies with this error:
>
> gcc -I../include -O -Wall -Wsign-compare -o snmp-ups snmp-ups.o main.o
> dstate.o \
> ../common/state.o ../common/upsconf.o ../common/parseconf.o \
> ../common/common.o ../common/setenv.o ../common/inet_aton.o
> -lnsl -lsocket
> Undefined first referenced
> symbol in file
> snmp_close snmp-ups.o
> snmp_synch_response...
2017 Dec 19
0
Tripp-Lite BCPERS450 shutdown/restart problems
...Lite BCPERS450, connected to a system running Ubuntu
> 16.04.3 LTS and NUT 2.7.2-4ubuntu1.2. I had to make my own
> /lib/systemd/system-shutdown/nutshutdown, but now everything is working
> except for powering on and off the UPS. Regardless of the settings of
> offdelay and ondelay in upsconf, and regardless of whether the AC power
> is on, when I say "upsdrvctl shutdown" the UPS turns off the power to
> the system instantly and turns it back on in ten seconds.
Thanks for the specific version info and detailed logs.
This may sound like an apples-to-oranges comparison,...
2007 Dec 29
1
problems reviving and old ups-driver
...vers compile without problems, but there is no hp- executable or
even a reference to any error.
If I configure with
./configure --with-drivers=hp
it does find hp but gives a lot of errors:
In file included from hp.c:6:
main.h:1:20: error: common.h: No such file or directory
main.h:2:21: error: upsconf.h: No such file or directory
In file included from main.h:3,
from hp.c:6:
dstate.h:23:23: error: attribute.h: No such file or directory
dstate.h:25:23: error: parseconf.h: No such file or directory
dstate.h:26:24: error: upshandler.h: No such file or directory
if I do the same thi...
2015 Oct 14
2
No power cycle after shutdown on Atlantis Land OnePower A03-S1001
On Wed, 14 Oct 2015, Davide Baldini wrote:
> upsdrvctl shutdown
> ...
> instcmd(shutdown.return, [NULL])
> instcmd: FAILED
> Shutdown failed!
> Driver failed to start (exit status=1)
>
> This time /var/log/syslog doesn't register anything about the UPS after
> issuing the command above. Instead, It logged some errors after a
> upscmd -u admin -p mypass
2006 May 19
3
minor building issues (svn HEAD revision 427)
...ixes things up, but
leads to the next problem (which I've had for a while). Output:
gcc -I../include -O -Wall -Wsign-compare -g -Dsolaris2
-I/software/openssl-0.9.7_runtime/include -I.
-I/software/netsnmp-5.3/include -o snmp-ups snmp-ups.o main.o dstate.o \
../common/state.o ../common/upsconf.o ../common/parseconf.o \
../common/common.o ../common/setenv.o ../common/inet_aton.o
-lnsl -lsocket -L/software/openssl-0.9.7_runtime/lib
-R/software/openssl-0.9.7_runtime/lib:/software/libz-1.1.4_runtime/lib
-L/software/netsnmp-5.3/lib -lnetsnmp -lgen -lcrypto -lkstat -lelf -lm
-lnsl -...
2011 Jun 22
1
[nut-commits] buildbot failure in Network UPS Tools on Ubuntu-maverick-x86
>
> The Buildbot has detected a new failure of Ubuntu-maverick-x86 on
> Network UPS Tools.
> Full details are available at:
> http://buildbot.networkupstools.org/public/nut/builders/Ubuntu-maverick-x86/builds/32
>
> Buildbot URL: http://buildbot.networkupstools.org/public/nut/
>
> Buildslave for this Build: cayenne
Fred,
I had a few spare cycles and tried building
2015 Oct 14
3
No power cycle after shutdown on Atlantis Land OnePower A03-S1001
...; port = auto
>
> I couldn't find more info on where to append driver parameters, not sure if
> that's the correct way. After that, I restarted nut with:
>
> # service nut-server restart
> # service nut-client restart
My naive reading of function conf_args in common/upsconf.c is that only
the form driver = something is seen, any additional parameters are
ignored.
I'm not sure how to add a debugging option to a "service" call in
Debian. Is /etc/init.d/nut-client a Bash/Dash script? Is it possible to
add the option to the call of the driver in this...