From owner-freebsd-questions Tue Nov 2 8:40:12 1999 Delivered-To: freebsd-questions@freebsd.org Received: from defiant.quansoo.com (defiant.quansoo.com [63.66.225.90]) by hub.freebsd.org (Postfix) with ESMTP id 84AB114BF5 for ; Tue, 2 Nov 1999 08:40:03 -0800 (PST) (envelope-from cgriffiths@quansoo.com) Received: from localhost (cgriffiths@localhost) by defiant.quansoo.com (8.9.3/8.9.3) with ESMTP id LAA02629; Tue, 2 Nov 1999 11:39:07 -0500 (EST) (envelope-from cgriffiths@quansoo.com) X-Authentication-Warning: defiant.quansoo.com: cgriffiths owned process doing -bs Date: Tue, 2 Nov 1999 11:39:07 -0500 (EST) From: "Christopher T. Griffiths" To: ups@lists.exploits.org Cc: freebsd-questions@freebsd.org Subject: Problems with Freebsd3.3 -stable and NUT 0.42.0 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I am trying to compile NUT 0.42.0 for my Freebsd 3.3 stable machine with a smartups 700. The permissions on my serial device are as follows: crw-rw---- 1 uucp dialer 28, 128 Oct 25 13:49 /dev/cuaa0 I am configuring NUT with the uid of 66 which is uucp and a gid of 68 which is dialer. The make and install go fine. After I have configured the etc directory for ups and I run /usr/local/ups/bin/apcsmart /dev/cuaa0 I get the following: Network UPS Tools - APC Smart protocol driver 0.20 (0.42.0) /dev/cuaa0 is locked by another process I am going to take a stab and say this is the locking issue with freebsd and the serial port and this program. I have tried different UID's as well making a dedicated user for Nut and setting the permissions on the serial port for this user and I get the same response. Is there a work around present for this???? If so please let me know. I finally got over the gd library hurdle and am very interested getting this working on our servers here. Thanks in advance. In case the FBSD people are curious the URL for this program is: http://www.exploits.org/nut/ Chris Christopher T. Griffiths Senior Network/Systems Administrator Quansoo Group Inc. cgriffiths@quansoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message