From owner-freebsd-isp@FreeBSD.ORG Mon Dec 8 14:20:54 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62A1F16A4E7 for ; Mon, 8 Dec 2003 14:20:54 -0800 (PST) Received: from mail.day-light.net (day-light.net [64.37.72.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id A62B243D28 for ; Mon, 8 Dec 2003 14:20:50 -0800 (PST) (envelope-from john@day-light.com) Received: from w1 (gabriel.day-light.net [216.162.118.203]) by mail.day-light.net (Postfix) with SMTP id B476935288; Mon, 8 Dec 2003 16:20:49 -0600 (CST) From: "John Brooks" To: "'Lewis Watson'" , Date: Mon, 8 Dec 2003 16:20:50 -0600 Message-ID: <003601c3bdd9$89c444c0$c905010a@daylight.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Importance: Normal In-Reply-To: <012c01c3bdba$7e9497e0$df0a0a0a@visionsix.net> cc: freebsd-isp@FreeBSD.ORG Subject: RE: FreeBSD and APCUPSD 3.10.6 X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: john@day-light.com List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2003 22:20:54 -0000 many scripts in /usr/local/etc/rc.d will require the full path to manually start or stop. just doing "./ start" will produce the error you are experiencing. try using: /usr/local/etc/rc.d/apcupsd.sh start or /usr/local/etc/rc.d/apcupsd.sh stop -- John Brooks john@stlbsd.org -----Original Message----- From: owner-freebsd-isp@freebsd.org [mailto:owner-freebsd-isp@freebsd.org]On Behalf Of Lewis Watson Sent: Monday, December 08, 2003 12:39 PM To: apcupsd-users@lists.sourceforge.net Cc: freebsd-isp@FreeBSD.ORG Subject: FreeBSD and APCUPSD 3.10.6 I have successfully used apcupsd 3.8.x and FreeBSD for several months. I recently upgraded to 3.10.6 and now am having much trouble. It starts with the new .sh init script in /usr/local/etc/rc.d. I get a prefix not found error. I had a copy of the old .sh file and it starts apcupsd successfully; which gets logged to syslog and the apcupsd.events file. To test the program I unplug the ups from the serial port and syslog shows that communication with the unit has been lost; yet it no longer is wall'd to the terminals and any attempt to plug the unit back in goes unnoticed. The funny thing is once I run a ./apcupsd.sh stop it then walls that communication were lost with UPS_BERT as it also does a signal 11 core dump. Please bear in mind that this was working fine until I upgraded. I would appreciate any help that could be provided. I did email the port maintainer who suggested I read the FreeBSD doc's ( I have read the handbook and Absolute FreeBSD and many wonderful articles but there is no mention of this problem nor even apcupsd). If anyone could please point me in a good direction I would greatly appreciate it. I am going to try and rebuild apcupsd with my own ./configure parameters. Thanks, Lewis _______________________________________________ freebsd-isp@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-isp To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"