[Nut-upsuser] Nut-cgi error

Arnaud Quette aquette.dev at gmail.com
Thu Jul 24 15:00:00 UTC 2008


Hi

2008/7/24 Georgy <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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20080724/da197da6/attachment.htm 


More information about the Nut-upsuser mailing list