English Forums > General Discussion

Unable to get Nut to start

(1/1)

jspeckman:
Hi,

I am unable to get Nut to start
nut_upsmon will start, but nut_daemon will not.

I am using a Prolific USB to Serial adapter with an APC SmartUPS 900

The adapter is seen by the OS:
ugen0.2: <Prolific Technology Inc. USB-Serial Controller> at usbus0
uplcom0 on uhub1
uplcom0: <Prolific Technology Inc. USB-Serial Controller, class 0/0, rev 2.00/3.00, addr 1> on usbus0

When I run:
/usr/local/sbin/upsdrvctl -D start

It returns:
Network UPS Tools - UPS driver controller 2.7.4
   0.000000   Starting UPS: ups-garage-01
Network UPS Tools - APC Smart protocol driver 3.1 (2.7.4)
APC command table version 3.1
Can't uu_lock cuaU0: link error: Operation not permitted
   0.146787   Driver failed to start (exit status=1)

I've checked the premissions on:
/dev/cuaU0
/var/spool/lock
/var/db/nut

All are owned by uucp with rw access

I'm running OPNsense 20.1.3-amd64
FreeBSD 11.2-RELEASE-p17-HBSD

Thanks,
Jason

mimugmail:
Error in system.log?

jspeckman:
No errors in the system.log

derpderp:
Had the same problem with a apc 750 ...

Solution was the access rights on /dev/usb/ ...
the nut daemon uses the user uucp and has no access ...

changed that and everyting works ...

Navigation

[0] Message Index

Go to full version