Hello Mr Baart,
2006/3/11, R.J. Baart <R.J.Baart@prompt.nl>:> We are a reseller of MGE. Just sold 2 MGE Evolution 1100 UPS and 4 MGW
powerswitches.
>
thanks for your choice and support.
> But I have a problem with a new MGE Evolution 1100 UPS. After adding
user=root I was able
> to start nut. But the monitor won't work. I guess a problem with
autorization. However I can't
> find the solution. Perhaps this report is relevant for the further
development op this software
> and documentation. I would appreciate any suggestions.
>
> Relebant lines in the /var/log/syslog:
> upsd[13612]: Can't connect to UPS [mgeups] (newhidups-auto): Permission
denied
> Mar 10 23:25:58 hrst-ux100 upsmon[13545]: Poll UPS [mgeups@localhost]
failed - Driver not
> connected
> Mar 10 23:25:58 hrst-ux100 upsmon[13615]: Poll UPS [mgeups@localhost]
failed - Driver not
> connected
>
> # OS
> Debian etch with kernel 2.6.15-1-686
>
> #hardware
> Asus P4-server
>
> #Debian packages
> nut 2.0.3-3
> nut-dev 2.0.3-3
this one is only required to compile client applications, such as wmnut.
> nut-usb 2.0.3-3
>
> #start stop
> # /etc/init.d/nut start
> Starting Network UPS Tools: upsd upsmon.
> # echo $?
> 0
>
>
> # ps -ef|grep nut
> root 13610 1 0 22:15 ? 00:00:00 /lib/nut/newhidups -a
mgeups
> nut 13612 1 0 22:16 ? 00:00:00 /sbin/upsd
> nut 13615 13614 0 22:16 ? 00:00:00 /sbin/upsmon
> root 22453 13455 0 23:54 pts/5 00:00:00 grep nut
> ...
it seems that you only run newhidups as root. If so, upsd should also
run as root to be able to read/write the data from the driver's
socket.
But that's not the solution, and the problem might be elsewhere...
What append if you don't set the "-user=root"?
Also, what are the permissions on /dev/bus/usb/002/ (using "ls -l")?
Arnaud
--
Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
OpenSource Developer - http://arnaud.quette.free.fr/