From owner-freebsd-questions Fri Sep 28 11:32:13 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-94-248-46.mmcable.com [24.94.248.46]) by hub.freebsd.org (Postfix) with SMTP id 17D6B37B410 for ; Fri, 28 Sep 2001 11:32:05 -0700 (PDT) Received: (qmail 2520 invoked by uid 100); 28 Sep 2001 18:32:04 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15284.49700.335073.927636@guru.mired.org> Date: Fri, 28 Sep 2001 13:32:04 -0500 To: Trevin Chow Cc: questions@freebsd.org Subject: Re: Trouble getting NUT to work on 4.4 In-Reply-To: <53214739@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Trevin Chow types: > I'm trying to get NUT (/usr/ports/sysutils/nut) to work on my 4.4-Stable > system but am having trouble. > > I'm following the directions in the /usr/local/share/doc/nut/INSTALL and > one of the first steps after installing is to run a particular command to > connect to the UPS. > > My UPS is attached to my com1 port but when I try to access it with the > /usr/local/libexec/nut/genericups binary but am getting a bunch of errors. > Here are my attempts trying different serial ports: This one looks like the right command: > # /usr/local/libexec/nut/genericups -t 7 /dev/cuaa0 > Network UPS Tools - Generic UPS driver 0.50 (0.45.0) > UPS type: CyberPower Power99 > Can't open /var/db/genericups-cuaa0: Permission denied > This program is currently running as uucp (UID 66) You need to make sure the /var/db/geneircups-cuaa0 file exists, and is owned - or at least writable - by uucp. http://www.mired.org/home/mwm/ Q: How do you make the gods laugh? A: Tell them your plans. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message