Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Nov 1999 11:39:07 -0500 (EST)
From:      "Christopher T. Griffiths" <cgriffiths@quansoo.com>
To:        ups@lists.exploits.org
Cc:        freebsd-questions@freebsd.org
Subject:   Problems with Freebsd3.3 -stable and NUT 0.42.0
Message-ID:  <Pine.BSF.4.10.9911021132390.2590-100000@defiant.quansoo.com>
In-Reply-To: <Pine.BSF.4.10.9910211547270.39890-100000@defiant.quansoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9911021132390.2590-100000>