[Nut-upsuser] Nut-cgi error[SOLVED]
Georgy
georgy at bawetic.be
Thu Jul 24 19:04:57 UTC 2008
Arnaud wrote :
ls -l /etc/nut :
I guess you missed the dir itself:
as per /usr/share/doc/nut-cgi/README.Debian
> chmod 766 /etc/nut
you can check by doing an ls -a /etc/nut
Charles Reply :
Arnaud, do you mean 755?
Charles Lepple
Yes, that's make the trick :
chmod 755 /etc/nut and now nut-cgi is working in the web browser
I read this file, but somehow I missing the chmod on the /etc/nut.
Hanks to you two
Georgy
Arnaud Quette a écrit :
> Hi
>
> 2008/7/24 Georgy <georgy at bawetic.be <mailto:georgy at bawetic.be>>:
>
> Hello all,
> I have succefully configure a trust 1200v ups with nut-2.2.2 on an
> ubuntu 6.06 LTS by follow this instructions :
> http://www.networkupstools.org/doc/2.2.0/INSTALL.html
>
> I have the nut-cgi 2.0.3-4 from the ubuntu repos installed
> Now, I have problems to configure the nut-cgi in my web browser and I
> have this when i tried to http://localhost/cgi-bin/nut/upsstats.cgi.
>
> Error: can't open hosts.conf
>
> I added to /etc/apache2/sites-available/default :
>
> ScriptAlias /nut /usr/lib/cgi-bin/nut
> <Directory "/usr/lib/cgi-bin/nut">
> AllowOverride Limit
> Options +ExecCGI
> Order allow,deny
> Allow from all
> </Directory>
>
> ls -l /etc/nut :
>
>
> I guess you missed the dir itself:
> as per /usr/share/doc/nut-cgi/README.Debian
> > chmod 766 /etc/nut
>
> you can check by doing an ls -a /etc/nut
>
>
> -- Arnaud
More information about the Nut-upsuser
mailing list