Re: [Apcupsd-users] RE: FreeBSD and APCUPSD 3.10.6

From: Lewis Watson (lists_at_visionsix.com)
Date: 12/09/03

  • Next message: James Wyatt: "Re: Billing System"
    To: <john@day-light.com>
    Date: Mon, 8 Dec 2003 17:08:05 -0600
    
    

    > 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

    This was exactly correct for the prefix error that was generated.

    More information on the problem where apcupsd appeared to be failing to
    communicate with the ups. - I looked at the commfailure and commok files.
    Each file tries to run apcaccess and place the output of it in the email
    notifying the admin of the change. I removed these lines and now apcupsd
    is notifiying with wall, email, and logging each communication status
    change.

    Apparantly, apcaccess was just hanging which in turn made the rest of the
    program nonresponsive.

    So far so good at this time with those lines that called apcaccess
    commented out!
    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"


  • Next message: James Wyatt: "Re: Billing System"