Displaying 20 results from an estimated 62 matches for "pidpath".
2017 Nov 20
3
[nbdkit PATCH 0/2] Add nbd forwarder test coverage
To avoid bitrot, any new feature needs testsuite coverage ;)
Still to come: once I get my work on parallel nbd finished,
I will add a test-parallel-nbd.sh that closely mirrors what
my other series added in test-parallel-file.sh.
If desired, it might be a fun exercise to tweak test-nbd into
using a for-loop of user-controlled depth for how deep you
want to nest the forwarding tree, to see where
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:
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
2011 May 27
6
Environment Variables
I noticed that many configuration options (configure.txt) have environment
variable overrides. However, an important one 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...
2017 Jan 31
0
[PATCH nbdkit] Add support for socket activation.
...GRAM_INVOCATION_SHORT_NAME == 1
+#include <errno.h>
+#define program_name program_invocation_short_name
+#else
+#define program_name "nbdkit"
+#endif
+
+static char tmpdir[] = "/tmp/nbdkitXXXXXX";
+static char sockpath[] = "/tmp/nbdkitXXXXXX/sock";
+static char pidpath[] = "/tmp/nbdkitXXXXXX/pid";
+
+static pid_t pid = 0;
+
+static void
+cleanup (void)
+{
+ if (pid > 0)
+ kill (pid, SIGTERM);
+
+ unlink (pidpath);
+ unlink (sockpath);
+ rmdir (tmpdir);
+}
+
+int
+main (int argc, char *argv[])
+{
+ int sock;
+ struct sockaddr_un addr;
+ cha...
2007 Jan 03
2
building trunk
...m4
/usr/local/libexec/autoconf259/autoheader
/usr/local/libexec/automake19/automake -ac
/usr/local/libexec/autoconf259/autoconf
./configure --with-cgi --with-user=nutmon
--with-drvpath=/usr/local/libexec/nut\
--with-cgipath=/usr/local/www/cgi-bin/nut
--with-htmlpath=/usr/local/etc/nut\
--with-pidpath=/var/db/nut --with-statepath=/var/db/nut
--without-pkgconfig-dir\
--mandir=/usr/local/man --bindir=/usr/local/bin --sbindir=/usr/local/sbin
..my configure fails with this:
configure: creating ./config.status
config.status: creating clients/Makefile
config.status: error: cannot find input file:...
2010 Mar 10
1
Tripp-Lite SU2200XLA problem (fwd)
...e driver setuid() to "nut".)
>
> 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 instrume...
2013 Jul 31
2
Fw: infosec e4
...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
...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
...--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...
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
2017 Oct 09
3
Tripplite Smart Int 1000 - wrong numbers
...alstatedir=/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
...# 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
...are/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...