search for: uu_lock

Displaying 9 results from an estimated 9 matches for "uu_lock".

Did you mean: u_lock
2007 Feb 12
4
Fwd: NUT on FreeBSD
...eliminate any permission pains at the beginning 5. I then started nut and got the following error: fileserver# /usr/local/etc/nut/bin/upsdrvctl start Network UPS Tools - UPS driver controller 2.0.5 Network UPS Tools - Megatec protocol driver 1.5 (2.0.5) Carlos Rodrigues (c) 2003-2006 Can't uu_lock cuad1: creat error: Permission denied Driver failed to start (exit status=1) 6. Since cuad1 has permission 777 this should not be possible ... If you cannot assist kindly forward the mail to somebody that can - this is fairly NB Thanks in advance and regards! Herman J van der Merwe SOUTH AFRICA...
2011 Jun 28
0
[nut-commits] svn commit r3081 - branches/apcsmart-dev/drivers
Citeren Michal Soltys <msoltyspl-guest at alioth.debian.org>: > @@ -251,14 +251,14 @@ > if (do_lock_port) { > errno = 0; > ret = 0; > -#ifdef HAVE_UU_LOCK > + #ifdef HAVE_UU_LOCK > ret = uu_lock(xbasename(device_path)); > -#elif defined(HAVE_FLOCK) > + #elif defined(HAVE_FLOCK) > ret = flock(fd, LOCK_EX | LOCK_NB); > -#elif defined(HAVE_LOCKF) > + #elif defined(HAVE_LOCKF) > lseek(fd, 0L, SEEK_SET); > ret = l...
2009 Dec 24
2
Finding libusb on FreeBSD 8.0
I just upgraded the FreeBSD buildbot machine from 6.4 to 8.0, and I ran across some interesting differences. The libusb API that we use (0.1) is available in /usr/include/usb.h and /usr/lib/libusb.* as before, but it seems to be the compatibility layer from libusb 1.0. However, it doesn't include the libusb-config binary. This is from the 'ports' Makefile for NUT: ########## - -
2006 Jul 22
1
Error during make: *** No rule to make target `usb.h', needed by `tripplite-hid.o'. Stop.
..... no checking for vsnprintf... yes checking for snprintf... yes checking for setenv... yes checking for inet_aton... yes checking for strerror... yes checking for atexit... yes checking whether byte ordering is bigendian... no checking for getopt declarations... in unistd.h checking whether to use uu_lock... no checking for connect... yes checking sys/modem.h usability... no checking sys/modem.h presence... no checking for sys/modem.h... no checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking varargs.h usability... no checking varargs.h presence....
2007 Mar 06
2
Compiling SVN build.. error for libupsclient
.... yes checking for vsnprintf... yes checking for snprintf... yes checking for setenv... yes checking for inet_aton... yes checking for strerror... yes checking for atexit... yes checking whether byte ordering is bigendian... no checking for getopt declarations... in unistd.h checking whether to use uu_lock... no checking for connect... yes checking sys/modem.h usability... no checking sys/modem.h presence... no checking for sys/modem.h... no checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking varargs.h usability... yes checking varargs.h presence...
2014 Oct 09
3
configure: error: "Net-SNMP Libraries not found, required for SNMP drivers"
...it... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for CPPUNIT... no configure: WARNING: libcppunit not found. checking whether optind is declared... yes checking for getopt.h... yes checking for getopt_long... yes checking whether uu_lock is declared... no checking whether __func__ is declared... yes checking for library containing gethostbyname... -lnsl checking for library containing connect... -lsocket checking whether time.h and sys/time.h may both be included... yes checking for sys/modem.h... no checking for stdarg.h... yes ch...
2015 Feb 13
1
Error installing Nut 2.7.2 on RedHat 6.6
...it... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for CPPUNIT... no configure: WARNING: libcppunit not found. checking whether optind is declared... yes checking for getopt.h... yes checking for getopt_long... yes checking whether uu_lock is declared... no checking whether __func__ is declared... yes checking for library containing gethostbyname... none required checking for library containing connect... none required checking whether time.h and sys/time.h may both be included... yes checking for sys/modem.h... no checking for stdar...
2007 Feb 16
2
Centralion Blazer 2000VA USB-HID
Hi again, I've succeeded in compiling the svn trunk with the automake tools and wish to say thank you to Charles Lepple for his help. After fixing some parameters in the hotplug script I can now get access to the UPS on /dev/usb/hiddev0 (I added productid and vendorid of my ups to the usermap). I've decided to try the newhidups driver with -x generic parameter and got this response :
2008 Aug 15
2
Problem with APC and Fedora 8 I86_64
...checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking for getopt declarations... in unistd.h checking whether to use uu_lock... no checking for connect... yes checking sys/modem.h usability... no checking sys/modem.h presence... no checking for sys/modem.h... no checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking varargs.h usability... no checking varargs.h presence....