<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 06/24/2017 12:50 AM, Ambrogio
Coletti wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAKkaXqoNeaGXOur9KvFtM9y4cZ5xWHr0fVmf71CAtoujfw9zhw@mail.gmail.com">
<div dir="ltr">Hello
<div><br>
</div>
<div>I am trying to install the NUT on CentOS 6 (<span
style="color:rgb(33,33,33);font-size:13px">2.6.32-696.3.1.el6.x86_64)</span>.</div>
<div><br>
</div>
<div>First I installed it using:</div>
<div><span style="color:rgb(33,33,33);font-size:13px">yum
install epel-release --enablerepo=extras</span><br>
</div>
<div><span style="color:rgb(33,33,33);font-size:13px">yum
install nut</span></div>
<div><span style="color:rgb(33,33,33);font-size:13px"><br>
</span></div>
<div><span style="color:rgb(33,33,33);font-size:13px">And when I
run it by:</span></div>
sbin/upsdrvctl start
<div>(that's where it installed it using the package)</div>
<div><br>
<div><span style="color:rgb(33,33,33);font-size:13px">I had
the following message:</span></div>
</div>
<div><span style="color:rgb(33,33,33);font-size:13px">"This
TrippLite device (09ae:1330) is not (or perhaps not yet)
supported by usbhid-ups. [...]"</span> </div>
<div>but my device (SU2200RTXLCD2U) is supported, as clearly
state <a href="http://networkupstools.org/stable-hcl.html"
moz-do-not-send="true">here</a>.</div>
<div><br>
</div>
<div>Then I thought I needed the last src code (2.7.4), hence I
built it for my machine, but when I run it by:</div>
/usr/local/ups/sbin/upsdrvctl start
<div><br>
</div>
<div>I had, in order, this message</div>
<div><span style="color:rgb(33,33,33);font-size:13px">"writepid:
fopen /var/state/ups/usbhid-ups-</span><span
style="color:rgb(33,33,33);font-size:13px">trippliteups.pid:
Permission denied"</span> <br>
</div>
</div>
</blockquote>
the permissions used by the driver are not those set on the
directory where it tries to write<br>
for testing purposes you could try to run it as root<br>
in order to avoid conflicts, if you did not already do that, please
also remove the package installed from EPEL prior to testing.<br>
<br>
<br>
<blockquote type="cite"
cite="mid:CAKkaXqoNeaGXOur9KvFtM9y4cZ5xWHr0fVmf71CAtoujfw9zhw@mail.gmail.com">
<div dir="ltr">
<div>and...the same message above about the not supported
device!</div>
<div><br>
</div>
<div>What's wrong in there?</div>
<div><br>
</div>
</div>
</blockquote>
the fact that on a package-managed distribution you are using
self-compiled applications, without using the correct settings at
compile time :).<br>
If you are not willing to use the packages I provide, at least take
inspiration from the spec file included in
<a class="moz-txt-link-freetext" href="https://wolfy.fedorapeople.org/nut/nut-2.7.4-4.el6.wolfy.1.src.rpm">https://wolfy.fedorapeople.org/nut/nut-2.7.4-4.el6.wolfy.1.src.rpm</a> (
the %build and %install sections ). Although you'd better rebuild
that src.rpm if you are afraid to use the binaries directly.
</body>
</html>