Network UPS Tools upsset 2.0.4
set input.transfer.high to 130 (was 127)
Error: SET failed: Access denied
No settings changed.
I can enter any user name and password and it will show the settings. But
when I try to apply a change I get the above on the web page.
The monitor page can see and display the UPS. And it is in the hosts.conf
file
Yep it is the upsset.cgi
Nothing in the log files for the web server.
I compiled it myself from source with ./configure --with-user=nut --with-cgi
I thought that it would use one of the users from the upsd.users file. But
neither one of these nor the nut user will work.
Thanks,
Doug
----- Original Message -----
From: "Charles Lepple" <[EMAIL PROTECTED]>
To: "Doug Parsons" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Monday, May 07, 2007 8:03 PM
Subject: Re: [Nut-upsuser] User credential for cgi site
On 5/5/07, Doug Parsons <[EMAIL PROTECTED]> wrote:
Running into a little problem. I have several UPS units connected to one
server. Then several servers talk to this server. All of this is working.
When I try to set a setting with the setting.cgi page I get an access
denied. Which credential does the setting.cgi page authenticate against?
I assume you mean upsset.cgi. I believe the web server needs monitor
privileges, and the UPS has to be listed in hosts.conf.
Can you cut-and-paste the error message verbatim? That should narrow
things down. Also, check your web server error log to see if any more
detailed messages are there.
I am running 2.0.4 and the particular UPS is a 2200RM APC.
Who built the 2.0.4 package you are using?
--
- Charles Lepple
_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser