Displaying 20 results from an estimated 2000 matches similar to: "infinite loop in clients/upsclient.c connect"
2007 Jan 06
3
Re: [nut-commits] svn commit r708 - in trunk: . clients server
With the Ipv6 patch (r708), I get:
upsclient.c: In function `upscli_connect':
upsclient.c:469: `AI_ADDRCONFIG' undeclared (first use in this function)
upsclient.c:469: (Each undeclared identifier is reported only once
upsclient.c:469: for each function it appears in.)
Even if it doesn't break IPv4 support, it may break portability, as
IPv6 seems to require specific functions that are
2007 Jan 23
2
Re: [nut-commits] svn commit r731
Hi Arjen,
in server/upsd.c r731, you moved the call conf_load() from after
check_perms() (~ l.1020) to before setupsignals() (~ l.989).
The problem is that conf_load() needs to open the ups driver socket,
and it assumes that STATEPATH is the current working directory. The
directory is only set in l.1016. Therefore, the first attempt to open
a socket will always fail. From the user's point of
2011 Jul 06
4
upsclient high level API and Java wrapping
Hi all,
on proposal by Arnaud Quette and sponsored by Eaton, I will work on a port on Java of client, discovery and config API.
As I have already suggested (mail of 2011-06-14 of this ml), instead of developping another port of nut protocol, I suggest to develop a higher level API in C/C++ uppon existing upsclient, inspirated by existing C-based tools and python and perl rewrites.
The second
2010 Oct 15
1
[LLVMdev] compiling rev. 116572 on you-know-what
Hi!
These warnings and errors might be interesting to you when compiling
rev. 116572
of llvm and clang on windows:
\llvm\utils\killthedoctor\system_error.h(260) : error C2065:
'EAFNOSUPPORT' : undeclared identifier
and many similar errors regarding the system error constants. msdn says it's
WSAEAFNOSUPPORT instead of EAFNOSUPPORT
(prepend WSA... to all system error constants)
2015 Jul 16
3
[Patch] Fix hang in safe_sendfile on SmartOS
# HG changeset patch
# User Sebastian Wiedenroth <sebastian.wiedenroth at skylime.net>
# Date 1437050484 -7200
# Thu Jul 16 14:41:24 2015 +0200
# Node ID 7ef3a533b097e8e6590e754dc56ad308ab29233b
# Parent e3640ccaa76d77a9658126d1f8f306480dad8af7
Fix hang in safe_sendfile on SmartOS
The call to sendfile on SmartOS can fail with EOPNOTSUPP. This is a valid error
code and documented in
2007 Jan 06
1
Re: [nut-commits] svn commit r710 - in trunk: . clients server
Great, thanks Arjen! Now we need an autoconf test to set HAVE_IPV6
automatically. I will look into what functionality needs to be tested;
the test can be refined as problems arise later. -- Peter
Arjen de Korte wrote:
>
> Author: adkorte-guest
> Date: Sat Jan 6 19:39:08 2007
> New Revision: 710
>
> Modified:
> trunk/ChangeLog
> trunk/clients/upsc.c
>
2015 Feb 13
1
Error installing Nut 2.7.2 on RedHat 6.6
Hi,
I need help because I can't install Nut in RedHat EL 6.6
The version of Nut in repository ot RHEL is 2.6.5-2, but doesn't suppor my
UPS,
Liebert GXT3-200RT.
I read that it is supported using Nut version 2.7.2, but I looking all
around the web how to install it in my RedHat but I didn't find answers.
Follow the guide, I can downlad lasted version stable on web: 2.7.2
Here the
2007 Dec 05
1
RC2 troubles
Hi
I can''t get backgroundrb working. I get the following error in
backgroundrb_server.log:
backgroundrb/framework/core.rb:117:in `bind'': Address family not
supported by protocol family - bind(2) (Errno::EAFNOSUPPORT)
Seems to be a problem with my Mac (Leopard) and my ruby install (1.8.6
that came with the OS) according to some emails I found with google.
Did anyone
2000 Oct 10
2
[PATCH] X11 forwarding failure on later Linux dev kernels fix
Hi!
The return values from socket() changed from EINVAL to EAFNOTSUPPORT for
not supported address family in Linux 2.4.0-test8. This small patch fixes
the 'error: socket: Address family not supported by protocol' and
'Disconnecting: Command terminated on signal 11.' when enabling X11
forwarding.
Cheers
/Martin Johansson
--- channels.c.orig Wed Aug 23 00:46:24 2000
+++
2007 Jan 19
1
Re: [nut-commits] svn commit r755 - in trunk: . clients
Great, thanks! Two questions:
* what is a domain literal? Is this something like 192.168.0.1? In
this case, the '[]' are probably unnecessary.
* are you sure you want to use fprintf(stderr, ...) in a library?
This doesn't seem like a good idea to me. Wouldn't it be more
consistent to extend upscli_errlist[] ?
-- Peter
Arjen de Korte wrote:
>
> Author:
2007 Jan 12
2
Makefiles driving me NUTs
I want to use upsdebugx, upslogx in 'clients/upsclient.c', however this
fails with the following error messages (I trimmed the path to the build
directory to <path> in order to prevent line wrapping):
<path>/clients/upsclient.c:941: undefined reference to `upsdebugx'
<path>/clients/upsclient.c:910: undefined reference to `upslogx'
2015 Jul 29
2
Bug#793921: tftpd-hpa: IPv6 address cannonization breaks IPv4
Take 2 at bouncing this to the rest of the original recipients through a
different MTA, since mail.zytor.com refused to accept it the first time.
Please re-add Jason Gunthorpe <jgg at obsidianresearch.com> and
793921 at bugs.debian.org to the CC for replies.
On Wed, Jul 29, 2015 at 05:34:00PM +0930, Ron wrote:
>
> Hi Jason,
>
> On Tue, Jul 28, 2015 at 03:45:30PM -0600, Jason
2018 Feb 23
6
RFC 8305 Happy Eyeballs in OpenSSH
Hello,
I use hosts that are dual stack configured (IPv4 and IPv6) and it
happens that connectivity through one or the other is broken and
timeouts. In these case connection to the SSH server can take quite some
time as ssh waits for the first address to timeout before trying the
next.
So I gave a stab at implementing RFC 8305. This patch implements part of
it in sshconnect.c.
* It does not do
2009 Jul 08
0
accepts_nested_attributes_for and has_one
Hi all, I''m seeing some unexpected behaviour in a nested model and I''m
not sure if it''s a bug or if I''m doing something wrong. When
assigning nested attributes, the associated object gets replaced with
a new record.
Example code:
class Car < ActiveRecord::Base
belongs_to :driver
end
class Car < ActiveRecord::Base
belongs_to :driver
end
2006 Sep 11
1
exactly representable numbers
Hi
Given a real number x, I want to know how accurately R can represent
numbers near x.
In particular, I want to know the infinum of exactly representable
numbers greater than x, and the supremum of exactly representable
numbers
less than x. And then the interesting thing is the difference
between these two.
I have a little function that does some of this:
f <-
2007 Mar 12
2
Request for comments/testing: upsc_list branch
I finally got some time to implement a pair of options to upsc for
listing all configured UPSes on a given upsd:
http://boxster.ghz.cc/projects/nut/changeset?new=branches%2Fupsc_list%2Fclients%2Fupsc.c%40859&old=trunk%2Fclients%2Fupsc.c%40821
http://boxster.ghz.cc/projects/nut/browser/branches/upsc_list/clients/upsc.c?rev=859
I think this should work with the new functions for parsing IPv6
2012 Apr 30
1
SELinux is preventing /usr/libexec/postfix/pickup from module_request
Getting module_request errors from SELinux. Errors being thrown by
metacity
sendmail.postfix
cleanup
trivial-rewarite
local
postdrop
pickup
All errors are essentially the same
System was working well until I began to apply some basic security
hardening configuration.
Postfix started complaining when I made /tmp noexec, nodev, nosuid, and
then did a mount --bind of /var/tmp under
2007 Mar 06
2
Compiling SVN build.. error for libupsclient
Hi,
Below is a log of what I did.
In summary, I think the problem lies in that I can't build libupsclient:
e.g.
make[1]: *** No rule to make target `libupsclient.la', needed by
`upsc'. Stop.
I'm not very familiar with autoconf, aclocal, automake, I tried hacking
it a bit, but couldn't get it to fix the errors...
Thanks,
Edwin
$ svn update
At revision 845.
$ autoreconf
2008 Aug 15
2
Problem with APC and Fedora 8 I86_64
I have been trying to get Nut working on a system with Fedora 8 i86_64 installed and an APC
Smart-UPS USB.
The 2.2.0 rpm does not seem to like the USB on this UPS. I have tried compiling the 2.2.2 version,
from source, but am getting warnings. I have tried building it on my i386 system (f8 as well) and I
get no warnings also the 2.2.0 works fine on that one with a TrippLite Omni 900 LCD via
2023 Jan 20
17
[Bug 3526] New: Config option AddressFamily has no effect?
https://bugzilla.mindrot.org/show_bug.cgi?id=3526
Bug ID: 3526
Summary: Config option AddressFamily has no effect?
Product: Portable OpenSSH
Version: 9.0p1
Hardware: amd64
OS: Mac OS X
Status: NEW
Severity: trivial
Priority: P5
Component: ssh
Assignee: unassigned-bugs at