FreeBSD and APCUPSD 3.10.6

John Brooks john at day-light.com
Mon Dec 8 14:20:54 PST 2003


many scripts in /usr/local/etc/rc.d will require the full path to
manually start or stop. just doing "./<scriptname.sh> 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 at stlbsd.org 

-----Original Message-----
From: owner-freebsd-isp at freebsd.org
[mailto:owner-freebsd-isp at freebsd.org]On Behalf Of Lewis Watson
Sent: Monday, December 08, 2003 12:39 PM
To: apcupsd-users at lists.sourceforge.net
Cc: freebsd-isp at 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 at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "freebsd-isp-unsubscribe at freebsd.org"


More information about the freebsd-isp mailing list