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 <[email protected]> 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: [email protected] Skype: potcheptsov.pavel
_______________________________________________ Nut-upsuser mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

