From owner-freebsd-questions Sat Sep 25 11: 1: 0 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id 3E951150F5 for ; Sat, 25 Sep 1999 11:00:59 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.9.3/8.9.3) with ESMTP id LAA94770; Sat, 25 Sep 1999 11:00:11 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Sat, 25 Sep 1999 11:00:11 -0700 (PDT) From: Doug White To: jason Cc: freebsd-questions@FreeBSD.ORG Subject: Re: /dev/cuaa0 locked? 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 On Fri, 24 Sep 1999, jason wrote: > im trying to run a ups daemon on my machine to run my ups.. its connected > via serial cable to my ups.. when I run the program it initialize the > program it says > [jason@welsh]$ /usr/local/ups/bin/genericups -t1 /dev/cuaa0 > Smart UPS Tools - Generic UPS driver 0.20 (0.41.4) > UPS type: APC Back-UPS (940-0095A/B/C cable) > /dev/cuaa0 is locked by another process > > how can I find out if /dev/cuaa0 is really being used by some other > process? ive checked output of ps -auxw and didnt see anything.. > I looked in /var/spool/lock > and didnt see a LCK file for it. (just for /dev/cuaa1 which is my modem) Check perms on /dev/cuaa1. It's probably owned by root:dialer with modes 660. Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message