Hello all, Some time ago, you all were very helpful in getting nut running on an OpenBSD system, using--for what it's worth--a CyberPower 1500AVR. So I finally got my FreeBSD system's UPS, also a CyberPower 1500AVR, within reach of its serial cable and I'm trying to get nut running here. I'm going nuts. Basically, I copied the OpenBSD configuration over to the FreeBSD system and tried to put everything in the right place. It looked like the FreeBSD port wants to run as user uucp rather than nutmon, so I changed ups.conf and upsmon.conf accordingly and tried changing the ownership of everything to uucp. upsdrvctl still complains that it "Can't chdir to /var/db/nut: Permission denied" The directory exists and is owned by both user and group uucp. What does it want? -- David Benfell, LCP benfell@parts-unknown.org --- Resume available at http://www.parts-unknown.org/
David Benfell wrote:> Hello all, > > Some time ago, you all were very helpful in getting nut running on an OpenBSD > system, using--for what it's worth--a CyberPower 1500AVR. > > So I finally got my FreeBSD system's UPS, also a CyberPower 1500AVR, within > reach of its serial cable and I'm trying to get nut running here. I'm going > nuts. > > Basically, I copied the OpenBSD configuration over to the FreeBSD system and > tried to put everything in the right place. It looked like the FreeBSD port > wants to run as user uucp rather than nutmon, so I changed ups.conf and > upsmon.conf accordingly and tried changing the ownership of everything to > uucp. > > upsdrvctl still complains that it "Can't chdir to /var/db/nut: Permission denied" > The directory exists and is owned by both user and group uucp. What does it > want?I not sure which driver you are using, but the generic driver is the only one that works _well_. [hiveups] driver = genericups port = /dev/cuad0 upstype = 7 desc = "Hive UPS" The cpsups driver has some flow control issues... my cyberpower 1200AVR is kinda dumb.
On Thu, 28 Dec 2006 11:37:17 -0500, Doug Reynolds wrote:> I not sure which driver you are using, but the generic driver is the > only one that works _well_. > > [hiveups] > driver = genericups > port = /dev/cuad0 > upstype = 7 > desc = "Hive UPS" >I was using the cyberpower driver, which works fine on the OpenBSD system. Changing this as you indicate, upsdrvctl still produces the same error. Thanks! -- David Benfell, LCP benfell@parts-unknown.org --- Resume available at http://www.parts-unknown.org/