search for: altpidpath

Displaying 20 results from an estimated 44 matches for "altpidpath".

2015 Jul 07
4
upsd not starting sometimes (Porteus 3.1, nut 2.7.2)
I am running tests on my system and UPS, making sure that it is reliably able to come up, detect power loss, shutdown safely, and then come back up when the power returns. It does that MOST of the time. However, a significant part of the time, the system comes up, and then doesn't respond to loss of power. Doing some checking, I find that the reason is because upsd never started. Capturing
2011 May 27
6
Environment Variables
...does not. In the configuration.txt file, there is one section: Directories used by NUT at run-time ----------------------------------- --with-pidpath=PATH Changes the directory where pid files are stored. By default this is /var/run. Certain programs like upsmon will leave files here. --with-altpidpath=PATH Programs that normally don't have root powers, like the drivers and upsd, write their pid files here. By default this is whatever the statepath is, as those programs should be able to write there. --with-statepath=PATH Change the default location of the state sockets created by the dri...
2009 Sep 01
4
Tripplite_usb Driver fail on OMNIVS1500
Model: Tripp-lite OMNIVS1500 Error: Network UPS Tools - UPS driver controller 2.2.1- Network UPS Tools - Tripp Lite OMNIVS and SMARTPRO driver 0.11 (2.2.1-) Warning: This is an experimental driver. Some features may not function correctly. Detected a UPS: unknown/unknown libusb_set_report() returned -1 instead of 8 Could not reset watchdog. Please send model information to nut-upsdev mailing
2015 Jul 08
0
upsd not starting sometimes (Porteus 3.1, nut 2.7.2)
...ng is that the PID file is left over from the last test, and another process got that PID instead. Due to history and conflicting requirements, the path selection is not as simple as it could be. From ./configure --help: --with-statepath=PATH path for ups state files (/var/state/ups) --with-altpidpath=PATH path for driver/upsd .pid files (<statepath>) [...] --with-pidpath=PATH path for .pid files (/var/run) You might not want to use the default for --with-altpidpath: /var/state/* is not generally cleared at boot time, whereas /var/run is either wiped or mounted on a RAM filesystem....
2010 Mar 10
1
Tripp-Lite SU2200XLA problem (fwd)
...ut".) > > For the upsd issue, check your state path and pid paths (also options to > ./configure). > Sorry, I should have clarified this. My configure options were: ./configure --with-user=nut --with-group=dialout --with-statepath=/var/run/ nut --with-pidpath=/var/run/nut --with-altpidpath=/var/run/nut --sysconfdir=/ etc/ups --with-drvpath=/sbin --with-all --with-pkgconfig-dir=/usr/lib/ pkgconfig --disable-static --without-ipv6 mostly ripped from the Fedora 12 2.4.1 specfile. I'm pretty sure the --with-user=nut options is in effect since I instrumented libusb_get_report to print...
2013 Jul 31
2
Fw: infosec e4
...ng if what I have done is good : # get the source from github on my computer # autogen.sh # name=nut # ./configure --prefix=/ --sysconfdir=/etc/$name --mandir=/usr/share/man --libdir=/usr/lib --includedir=/usr/include --datadir=/usr/share/$name --with-statepath=/var/run/nut --with-altpidpath=/var/run/nut --with-drvpath=/lib/nut --with-pidpath=/var/run/$name --with-user=$name ?with-group=$name --without-ssl There was an error : ./configure: line 7079: syntax error near unexpected token `CPPUNIT,' ./configure: line 7079: `PKG_CHECK_MODULES(CPPUNIT, cppunit, have_cppun...
2013 Jul 30
0
nut package with Riello UPS support
...sr/ports/sysutils/nut/Makefile: STATEDIR?= /var/db/nut [...] CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/nut \ --program-transform-name="" \ --localstatedir=${STATEDIR} \ --datadir=${PREFIX}/etc/nut \ --with-drvpath=${PREFIX}/libexec/nut \ --with-statepath=${STATEDIR} \ --with-altpidpath=${STATEDIR} \ --with-pidpath=${STATEDIR} \ --with-pkgconfig-dir=${PREFIX}/libdata/pkgconfig \ --with-user=${NUT_USER} \ --with-group=${NUT_GROUP} \ --with-dev I think you need to re-run ./configure in the source tree with the driver, using the arguments above. Then 'cd drivers; make...
2013 Aug 01
0
infosec e4
...: > # get the source from github on my computer > # autogen.sh > # name=nut > # ./configure --prefix=/ --sysconfdir=/etc/$name --mandir=/usr/share/man > --libdir=/usr/lib --includedir=/usr/include --datadir=/usr/share/$name > --with-statepath=/var/run/nut --with-altpidpath=/var/run/nut > --with-drvpath=/lib/nut --with-pidpath=/var/run/$name > --with-user=$name ?with-group=$name --without-ssl If these are the same parameters as are used to build the .deb, then that should owrk. > There was an error : > ./configure: line 7079: syntax error near une...
2016 Oct 22
3
Data Stale at random intervals
- Charles > On Oct 16, 2016, at 3:34 AM, Daniel Shields <grungelizard9 at hotmail.com> wrote: > > I've been testing with debug further and there's a few extra lines when the nut-server stops communicating as opposed to when it's running. > > > Backtrace after stale data, UPS nailbunny at localhost is unavailable: > Sorry to take a while to get back to you
2016 Oct 28
0
Data Stale at random intervals
...--sysconfdir=/etc/nut --localstatedir=/var \ --libexecdir=/usr/lib/nut --srcdir=. --disable-maintainer-mode \ --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib/x86_64-linux-gnu \ --with-ssl --with-nss --with-cgi --with-dev --enable-static \ --with-statepath=/var/run/nut --with-altpidpath=/var/run/nut \ --with-drvpath=/lib/nut --with-cgipath=/usr/lib/cgi-bin/nut \ --with-htmlpath=/usr/share/nut/www --with-pidpath=/var/run/nut \ --datadir=/usr/share/nut --with-pkgconfig-dir=/usr/lib/aarch64-linux-gnu/pkgconfig \ --with-user=nut --with-group=nut --with-udev-dir=/lib/udev \ --with-syst...
2017 Oct 08
2
Tripplite Smart Int 1000 - wrong numbers
Thank You for You reply, Charles D?a 07.10.2017 o 14:30 Charles Lepple nap?sal(a): > Is the "lan4.1" cable different from this one? > http://networkupstools.org/cables.html#_tripp_lite Yes, it is different. The correct cable for this interface version looks like this: http://pinouts.ru/UPS/tripplite_smartpro_cable_pinout.shtml > Are you comfortable with rebuilding the
2011 Mar 16
1
Liebert PSIXR 3000 intellislot web card support with NUT 2.6.0
....h --with-udev-dir=/lib/udev \ --prefix=/usr \ --exec-prefix=/ \ --sysconfdir=/etc/nut \ --mandir=/usr/share/man \ --libdir=/lib \ --includedir=/usr/include \ --without-ssl \ --with-dev \ --enable-static \ --with-statepath=/var/run/nut \ --with-altpidpath=/var/run/nut \ --with-drvpath=/lib/nut \ --with-htmlpath=/usr/share/nut/www \ --with-pidpath=/var/run/nut \ --datadir=/usr/share/nut \ --with-pkgconfig-dir=/usr/lib/pkgconfig \ --with-user=nut --with-group=nut I get this when I run upsdrvctl start Detected LiebertPS...
2017 Oct 09
3
Tripplite Smart Int 1000 - wrong numbers
...localstatedir=/var \ > --libexecdir=/usr/lib/nut --srcdir=. --enable-maintainer-mode \ > --disable-silent-rules --libdir=/usr/lib/x86_64-linux-gnu \ > --with-ssl --with-nss --with-cgi --with-dev --enable-static \ > --with-statepath=/var/run/nut --with-altpidpath=/var/run/nut \ > --with-drvpath=/lib/nut --with-cgipath=/usr/lib/cgi-bin/nut \ > --with-htmlpath=/usr/share/nut/www --with-pidpath=/var/run/nut \ > --datadir=/usr/share/nut --with-pkgconfig-dir=/usr/lib/x86_64-linux-gnu/pkgconfig \ > --with-user=nut -...
2017 Mar 12
2
MGE ESV+ and Power Trim
Hi Arnaud & Charles, You?ll have to forgive my low level of Linux Understanding here?. I downloaded the source files, modified the appropriate driver file, re-compiled it (all of this was a lot of research and learning!) When I use the new driver I get ? Network UPS Tools - UPS driver controller 2.7.2 Network UPS Tools - MGE UPS SYSTEMS/U-Talk driver 0.93 (2.7.4.1) Can't chdir to
2013 Aug 02
2
infosec e4
...gt; # get the source from github on my computer > # autogen.sh > # name=nut > # > ./configure --prefix=/ --sysconfdir=/etc/$name --mandir=/usr/share/man > --libdir=/usr/lib --includedir=/usr/include --datadir=/usr/share/$name > --with-statepath=/var/run/nut --with-altpidpath=/var/run/nut > --with-drvpath=/lib/nut --with-pidpath=/var/run/$name > --with-user=$name ?with-group=$name --without-ssl If these are the same parameters as are used to build the .deb, then that should owrk. > There was an error : > ./configure: line 7079: syntax error near unexp...
2016 Oct 18
6
CyberPower SX650G no driver.
Got the: git clone git://github.com/networkupstools/nut.git To work. Had to all so do this: apt-get install autoconf apt-get install libtool Did put driver = usbhid-ups in the /etc/nut/ups.conf file like you said. Here is what I got for it all: root at odroid-u2:~/nut# ./autogen.sh Calling autoreconf... libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'. libtoolize: copying
2008 Feb 26
1
Update to 2.2.1-2
.../share/man \ --libdir=/usr/lib \ --includedir=/usr/include \ --without-ssl \ --with-hal \ --with-cgi \ --with-lib \ --disable-shared \ --with-statepath=/var/run/nut \ --with-altpidpath=/var/run/nut \ --with-drvpath=/lib/nut \ --with-cgipath=/usr/lib/cgi-bin/nut \ --with-htmlpath=/var/www/nut \ --with-pidpath=/var/run/nut \ --datadir=/usr/share/nut \ --with-user=nut --with-group=nut /bin/sh: ./conf...
2014 Jun 04
1
FreeNAS configuration command
Anybody knows what configure command settings FreeNAS use to compile NUT? More info on my journey: http://forums.freenas.org/index.php?threads/nobreak-bz1200-br-back-ups-rs-1200va-600w-bivolt-115-nt.20247/ Thanks Bruno -------------- next part -------------- An HTML attachment was scrubbed... URL:
2015 Jan 03
0
Data stale error after short while
Thanks Dan and Charles - I've found the usb passthrough will be a non-starter (not supported on my host). Dan - is your recommendation to build Nut from source or just the driver? I'm trying to build the whole project but am obviously missing dependencies... I've come across a configure error syntax error near unexpected token `CPPUNIT,' which I've seen in a previous
2017 Mar 12
0
MGE ESV+ and Power Trim
...uot;\${prefix}/share/info" --sysconfdir=/etc/nut \ --localstatedir=/var --libexecdir="\${prefix}/lib/nut" --enable-maintainer-mode \ --libdir=\${prefix}/lib/arm-linux-gnueabihf --with-ssl --with-nss --with-cgi --with-dev \ --enable-static --with-statepath=/var/run/nut --with-altpidpath=/var/run/nut \ --with-drvpath=/lib/nut --with-cgipath=/usr/lib/cgi-bin/nut \ --with-htmlpath=/usr/share/nut/www --with-pidpath=/var/run/nut --datadir=/usr/share/nut \ --with-pkgconfig-dir=/usr/lib/arm-linux-gnueabihf/pkgconfig \ --with-user=nut --with-group=nut --with-udev-dir=/lib/udev...