Displaying 5 results from an estimated 5 matches for "i_have_secured_my_cgi_directory".
2007 May 11
2
Accessing nut online
...onf
>
> MONITOR belkin@localhost "Local UPS"
>
> ---------------------------
> /etc/nut/upsset.conf
>
> Read the content of this file and secure your cgi directory
> the uncomment the line.
> (If you have done the .htaccess in the cgi-bin it is secure)
>
> I_HAVE_SECURED_MY_CGI_DIRECTORY
> -------------------------------------
>
> You also need the 'upsstats-single.html and upsstats.html'
> in the /etc/nut directory. This is template files for the
> cgi.
>
> Now you can check status and info from the webb.
>
I remerged nut with a use flag of cgi. I...
2014 Feb 11
2
error: Unknown UPS
...are all blank with a
green background.
hosts.conf:
MONTIOR admin at localhost "BelkinUPS"
ups.conf:
[BelkinUPS]
driver = usbhid-ups
port = auto
upsmon.conf:
MONITOR BelkinUPS at localhost 1 admin ********** master
upsd.users:
[admin]
password = **********
upsmon master
upsset.conf:
I_HAVE_SECURED_MY_CGI_DIRECTORY
So I'm not sure why the cgi scripts aren't working, does anyone have a
suggestion?
Thanks,
Greg
2008 Jul 24
2
Nut-cgi error
...162 2008-07-17 15:17 upsmon.conf
-rw-r--r-- 1 root root 1542 2008-07-24 15:09 upsset.conf
-rw-r--r-- 1 root root 1773 2008-07-17 13:58 upsstats.html
-rw-r--r-- 1 root root 1867 2008-07-17 13:58 upsstats-single.html
vi hosts.conf :
MONITOR trust at localhost "trust"
vi upsset.conf
###
I_HAVE_SECURED_MY_CGI_DIRECTORY
###
tail -f /var/log/apache2/error.log
[Thu Jul 24 16:37:16 2008] [error] [client 217.136.113.223] upsstats:
Can't open /etc/nut/hosts.conf: Permission denied
[Thu Jul 24 16:37:17 2008] [error] [client 217.136.113.223] upsstats:
Can't open /etc/nut/hosts.conf: Permission denied
[Thu Jul...
2010 Mar 12
2
2.4.1 Voltages are Great for CP1000AVRLCD, but usbfs messages in logs (a lot)
...vana_ups at localhost 1 david notReald master
MINSUPPLIES 1
SHUTDOWNCMD "/sbin/shutdown -h +0"
POLLFREQ 5
POLLFREQALERT 5
HOSTSYNC 15
DEADTIME 15
POWERDOWNFLAG /etc/killpower
RBWARNTIME 43200
NOCOMMWARNTIME 300
FINALDELAY 5
upssched.conf
CMDSCRIPT /usr/bin/upssched-cmd
upsset.conf
I_HAVE_SECURED_MY_CGI_DIRECTORY
The problem is, while it seems to work fine (check with the url above), it is
filling my syslog up with:
Mar 11 22:23:03 nirvana kernel: usb 2-1: usbfs: process 7534 (usbhid-ups) did
not claim interface 0 before use
Mar 11 22:23:03 nirvana usbhid-ups[7534]: Got disconnected by another driver:
De...
2011 Jul 27
1
Same Box, Moved install to different drive, now get Connection failure: Connection refused??
...<snip-same-as-in-upsmon.conf> master
MINSUPPLIES 1
SHUTDOWNCMD "/sbin/shutdown -h +0"
POLLFREQ 5
POLLFREQALERT 5
HOSTSYNC 15
DEADTIME 15
POWERDOWNFLAG /etc/killpower
RBWARNTIME 43200
NOCOMMWARNTIME 300
FINALDELAY 5
upssched.conf
CMDSCRIPT /usr/bin/upssched-cmd
upsset.conf
I_HAVE_SECURED_MY_CGI_DIRECTORY
upsd.users
[upsmaster]
password = <snip>
upsmon master
[upsslave]
password = <snip>
upsmon slave
[david]
password = <snip-same-as-in-upsmon.conf>
actions = SET
instcmds = ALL
I can't figure out why I'...