[Nut-upsuser] Fwd: NUT on FreeBSD

Carlos Rodrigues carlos.efr at mail.telepac.pt
Mon Feb 12 00:14:12 CET 2007


I'm forwarding this to the list, as I'm not quite sure what's going on
here. Never seen this on Linux, don't know if it is a FreeBSD thing or
not.

---------- Forwarded message ----------
From: Herman J van der Merwe <herman at mercygate.com>
Date: Feb 11, 2007 9:50 PM
Subject: NUT on FreeBSD
To: carlos.efr at mail.telepac.pt




Hello Carlos

Maybe you can assist me with NUT 2.0.5 on FreeBSD 6.2-STABLE

1. I compiled from source and installed - no .conf files created in
specified directory (in my case /usr/local/etc/nut) - no big problem -
can do them manually
2. Created ups.conf with content

[QP1000]
driver = megatec
port = /dev/cuad1
desc = "Fileserver"

3. Created upsd.conf with content:

ACL all 0.0.0.0/0
ACL localhost 127.0.0.1/32

ACCEPT localhost
REJECT all

4. I did a chmod 777 on /dev/cuad1 to eliminate any permission pains
at the beginning

5. I then started nut and got the following error:


fileserver# /usr/local/etc/nut/bin/upsdrvctl start
Network UPS Tools - UPS driver controller 2.0.5
Network UPS Tools - Megatec protocol driver 1.5 (2.0.5)
Carlos Rodrigues (c) 2003-2006

Can't uu_lock cuad1: creat error: Permission denied
Driver failed to start (exit status=1)

6. Since cuad1 has permission 777 this should not be possible ...

If you cannot assist kindly forward the mail to somebody that can -
this is fairly NB

Thanks in advance and regards!

Herman J van der Merwe
SOUTH AFRICA




-- 
Carlos Rodrigues



More information about the Nut-upsuser mailing list