Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Unable to get Nut to start
« previous
next »
Print
Pages: [
1
]
Author
Topic: Unable to get Nut to start (Read 1941 times)
jspeckman
Newbie
Posts: 2
Karma: 0
Unable to get Nut to start
«
on:
March 27, 2020, 07:39:58 pm »
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
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: Unable to get Nut to start
«
Reply #1 on:
March 27, 2020, 07:44:26 pm »
Error in system.log?
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
jspeckman
Newbie
Posts: 2
Karma: 0
Re: Unable to get Nut to start
«
Reply #2 on:
March 27, 2020, 07:54:14 pm »
No errors in the system.log
Logged
derpderp
Newbie
Posts: 1
Karma: 0
Re: Unable to get Nut to start
«
Reply #3 on:
October 07, 2020, 11:56:44 pm »
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 ...
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Unable to get Nut to start