Apcupsd Failing (USB Device)
-
Hi,
/usr/local/libexec exists (doesn't look to be a symlink though). The only thing inside the directory is ipsec.
Thoughts?
Thanks!
-
Hi,
/usr/local/libexec exists (doesn't look to be a symlink though). The only thing inside the directory is ipsec.
Thoughts?
Thanks!
My guess is the packages are not installing correctly on 2.2. In the past there were some issues with the PBI infrastructure in the 2.2-ALPHA snapshots, but I thought those had been fixed. You could try posting this in the 2.2-ALPHA snapshot feedback forum to see if one of the developers notices, or enter a bug in the bug tracker at https://redmine.pfsense.org
Bill
-
Will post the info - thanks!
-
Hi
Any luck with this issue? I dont see any tickets on Redmine.
-
Hi,
No luck, but no posting either - I was waiting for things to stabilize a bit, then retest (and post then if needed). Are things stable enough for that?
Thanks!
-
Hi,
Neither NUT nor APCUPSD seem to be working … any thoughts of what to check (and what to post to the bug tracker)?
Thanks!
-
Hi,
Neither NUT nor APCUPSD seem to be working … any thoughts of what to check (and what to post to the bug tracker)?
Thanks!
This may be a factor – I notice on my 2.2-BETA virtual machine I use for package testing that a USB driver error is logged to the console during boot-up. I have not investigated the error, and I don't currently have a copy of the text, but I have seen it for a long time when booting the VM and watching the console messages scroll by. It has persisted through many snapshot updates. The problem occurs early in the boot process.
Bill
-
Hi Arrmo,
I was also stuck on it ^^
Regardless, I tried several way (trying make some rules, etc..) and when I checked the apcaccess arguments on internet, I noticed that a NIS serveur is mandatory.In the apcupsd options in pfsense, I didn't activate it. After Y choose "On", listening on 0.0.0.0 and port 3551 it worked for me..
Hope this can help you.
Best regards
-
Hi,
Are you on v2.2? Only asking because I'm not sure what you mean by "After Y" … :(. I do have the server on 0.0.0.0 / port 3551, this is the default. But I still get the error,
: Bogus configuration value (invalid-ups-type)
Terminating due to configuration file errors.If I manually edit /usr/pbi/apcupsd-amd64/etc/apcupsd/apcupsd.conf, changing
UPSTYPE BLANK -> UPSTYPE (and nothing after this).Then tried to restart, by
/usr/pbi/apcupsd-amd64/etc/rc.d/apcupsd onestartBut I get the error message,
/usr/pbi/apcupsd-amd64/etc/rc.d/apcupsd: WARNING: /usr/local/etc/apcupsd/apcupsd.conf is not readable.
/usr/pbi/apcupsd-amd64/etc/rc.d/apcupsd: WARNING: failed precmd routine for apcupsdSo some links are not working?
Thanks!
-
Hi,
Here is my conf (values are without quotes):
General configuration parameters
-
Enable : "Yes"
-
UPS Cable : "usb"
-
UPS Type / Device : "usb"
-
Device : ""
-
Poll Time : "5"
-
Kill on Power Fail : "No"
-
Lock File : ""
Configuration statements for Network Information Server
-
Net Server : "On"
-
NIS Ip : "0.0.0.0"
-
NIS Port : "3551"
Before I set "on" for the NIS, in the /var/log/apcupsd.events, I was able to see "apcupsd 3.14.10 (13 September 2011) freebsd startup succeeded" and if I remove the power cord from the UPS, the log showed "Power failure." with a console alert.
About pfSense, it's installed in 2.1.5-RELEASE (amd64)
And for the "After Y", i mistype ^^. It's "After I choose…"I attached my /usr/pbi/apcupsd-amd64/etc/apcupsd/apcupsd.conf file on this post. Hope this can help you.
Best Regards
-
-
Thanks very much for the help - much appreciated!
Your config makes sense - I agree, a bit odd about the server, but glad it works for you. I think my issue is related to links missing in v2.2 … :(.
Thanks again.