[Nut-upsuser] nut package with Riello UPS support

Pavel Potcheptsov (EKTOS) ppo at ektos.net
Thu Aug 1 13:11:24 UTC 2013


You are right.
Before install nut-cgi I have stopped apache and started it again without
chroot.
I have started it again with chroot and cgi is working!
This is best support for open source project I have ever seen.
Good luck!

On Thu, Aug 1, 2013 at 3:03 PM, Charles Lepple <clepple at gmail.com> wrote:

> On Jul 31, 2013, at 11:39 AM, Pavel Potcheptsov (EKTOS) wrote:
>
> > I'll test it.
> > I'm a bit confused with cgi-bin. I have made a lot of hosts.conf copies
> and didn't understand
> > where does upsstats trying to find hosts.conf
>
> [...]
>
> > # tail /var/www/logs/error_log
> > upsstats: Can't open /conf/nut/hosts.conf: No such file or directory
> > upsstats: Can't open /conf/nut/hosts.conf: No such file or directory
>
> It looks like there might have been a problem parsing the configure
> arguments, because "/conf/nut/hosts.conf" doesn't sound like a standard
> path.
>
> Or maybe OpenBSD intends for CGI scripts to run chroot()ed in /var/www, so
> that path prefix gets removed?
>
> I would check the ./configure parameters in the package script again.




-- 

Best / С наилучшими пожеланиями


 *Pavel Potcheptsov*

   LLC EKTOS-Ukraine

System administrator

   1, Academika Proskury

Mobile UA: +38 050 3642391

Home UA: +380 572 931115

   61070 Kharkiv

   www.ektos.com.ua <http://www.ektos.net/>

E-mail:

ppo at ektos.net


  Skype:      potcheptsov.pavel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20130801/7989048c/attachment-0001.html>


More information about the Nut-upsuser mailing list