From owner-freebsd-questions Tue Nov 2 9:43:36 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns2.infologigruppen.se (ns2.infologigruppen.se [212.214.163.69]) by hub.freebsd.org (Postfix) with ESMTP id 3ABA114BD2 for ; Tue, 2 Nov 1999 09:43:21 -0800 (PST) (envelope-from Goran.Lowkrantz@infologigruppen.se) Received: (from uucp@localhost) by ns2.infologigruppen.se (8.9.3/8.9.3) id SAA11243; Tue, 2 Nov 1999 18:42:38 +0100 (CET) (envelope-from Goran.Lowkrantz@infologigruppen.se) Received: from valhall.ign.se(192.168.3.1) via SMTP by bifrost-net.ign.se, id smtpdr11241; Tue Nov 2 18:42:32 1999 Received: by valhall.ign.se with Internet Mail Service (5.5.2448.0) id ; Tue, 2 Nov 1999 18:42:31 +0100 Message-ID: From: "Lowkrantz, Goran" To: "'Christopher T. Griffiths'" , ups@lists.exploits.org Cc: freebsd-questions@FreeBSD.ORG Subject: RE: Problems with Freebsd3.3 -stable and NUT 0.42.0 Date: Tue, 2 Nov 1999 18:42:30 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01BF2559.A2DCF7B3" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01BF2559.A2DCF7B3 Content-Type: text/plain; charset="windows-1252" Hi Chris, I found that this was due to a second attempt to lock the the port. The config script don't find GD for me, so I had to patch the include/config.h after configure. I also had problems with the CFLAGS and LDFLAGS that had to be declared outside the make. I have attached the patch for you. Cheers, GLZ -----Original Message----- From: Christopher T. Griffiths [mailto:cgriffiths@quansoo.com] Sent: Tuesday, November 02, 1999 5:39 PM To: ups@lists.exploits.org Cc: freebsd-questions@FreeBSD.ORG Subject: Problems with Freebsd3.3 -stable and NUT 0.42.0 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 ------_=_NextPart_000_01BF2559.A2DCF7B3 Content-Type: application/octet-stream; name="nut-0.42.0.patch.gz" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="nut-0.42.0.patch.gz" H4sICLYhHzgAA251dC0wLjQyLjAucGF0Y2gArZJLb4JAFIXX8itu48ZSHkWgAm2aGLVo6iOp2i0x MMCkyhgR0y763zvjSCyUVpPKgszj3sP57kEURViRAC1TNVunPlmtSKL4CtngqDbLEIzJDqAJmuXo pmPShW3bgizLFU2Fet3RDOfW5PVi8WF70IyWpJk67A+YID8wga5lAaBWQ+94Cw3t+p7tPulLuIE6 DpMAhdBvv/a8+dwbTjrP7HpJ/Lc12dB6aigMJGAb2kk7UBLgkHXTshRHyWIJjenAbQ9fRhLQhTdw x/tv7G3hxF9mAVJ9koQ4UuLKSViOaR0nUW4pVGtO884xrN/n0LQl3eRTAKhTNpwgjteZjMe9zgw0 bl4VoctvcQgfJIN4sUOwjRGEjB7CLPG3mAYBIKrCVVHriQ3qtNIqjSK0LUmVbI2mrttjrhg7d3+I 7JLuaX09O0bN/e/NXA6gKg7dkoxWZRzT/qh9Bk6WeecAHf7dE0gPUaDEjzlFScLtev3T/eo3iR8u qESuwtLk8FVp/hO+oJWj/6l2cfKChZxbE74Adc3oxAAFAAA= ------_=_NextPart_000_01BF2559.A2DCF7B3-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message