Displaying 20 results from an estimated 3000 matches similar to: "CGI: multiple web pages"
2023 Jun 14
1
Accessing: upsstats.cgi Error: no hosts to monitor (check hosts.conf)
For some reason I?m no longer able to access the upsstats.cgi (http://192.168.123.49/cgi-bin/nut/upsstats.cgi) I get the error: Error: no hosts to monitor (check hosts.conf)
When Apache starts is complains about not finding the fully qualified domain name.
In the past, upsstats.cgi would just load. I didn?t have to do any Apache2 configuration. I don?t know what has changed.
I?ve build NUT
2023 Jun 14
1
Accessing: upsstats.cgi Error: no hosts to monitor (check hosts.conf)
Dan Grostick via Nut-upsuser <nut-upsuser at alioth-lists.debian.net>
writes:
> When Apache starts is complains about not finding the fully qualified domain name.
That seems normal
> In the past, upsstats.cgi would just load. I didn?t have to do any Apache2 configuration. I don?t know what has changed.
in general this does need configuration. read the apache config file.
read the
2008 Jul 24
2
Nut-cgi error
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
2018 Feb 01
1
Live Import of IMAP
2018-02-01 11:59 GMT-03:00 Sami Ketola <sami.ketola at dovecot.fi>:
>
>
> On 29 Jan 2018, at 21.57, Sergio Belkin <sebelk at gmail.com> wrote:
>
> Hi,
>
> I have the mailbox of jon.doe at example.com just migrated only with mails
> after migration, is it ok to run:
>
> doveadm -o mail_fsync=never sync -1 -R -u joe at example.com imapc:
>
>
> wiil
2023 Jun 14
1
Accessing: upsstats.cgi Error: no hosts to monitor (check hosts.conf)
Not fully true about example configs in docs: man pages for CGI bits have
some :)
https://github.com/networkupstools/nut/blob/master/docs/man/upsset.conf.txt
https://github.com/networkupstools/nut/blob/master/docs/man/upsstats.cgi.txt
https://github.com/networkupstools/nut/blob/master/docs/man/hosts.conf.txt
etc.
Other than that, check permissions - e.g. OTOH if Apache user may read your
2013 Feb 01
1
Question for Dev's on NUT's upsstats.cgi
Hey guys,
New user to NUT and was playing with the upsstats.cgi.
On my website, I have everything going through a wrapper script that frames the pages.
So my web files are actually truncated since the wrapper installs all my headers for me.
When using the upsstats.cgi, it works fine embedding it into my pages and then editing the .html template EXCEPT, I can't get rid of:
Content-type:
2016 Jun 03
2
Restarting service issues
Hi,
Every time that I have to restart the nut-server it's a nightmare.
For example, after editing ups.conf
In many cases the only "solution" is to reboot the system.
These are the errors:
systemctl -l status nut-driver
? nut-driver.service - Network UPS Tools - power device driver controller
Loaded: loaded (/usr/lib/systemd/system/nut-driver.service; static;
vendor preset:
2019 Nov 23
2
yum4 and dnf on CentOS 8
Hi,
I was using yum for years on CentOS servers, and since a few years ago dnf
on Fedora desktops. My question is:
Is the same yum4 on CentOS 8 that dnf? What should I use?
Thanks in advance
--
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
2018 Jan 29
2
Live Import of IMAP
Hi,
I have the mailbox of jon.doe at example.com just migrated only with mails
after migration, is it ok to run:
doveadm -o mail_fsync=never sync -1 -R -u joe at example.com imapc:
wiil that import all mails missing mails to the new server? I don't want
that delete any current mail, is that right the command above?
thanks in advance!
--
--
Sergio Belkin
LPIC-2 Certified -
2018 Jul 12
3
Distro and release recommended
El jue., 12 jul. 2018 a las 11:57, Rowland Penny via samba (<
samba at lists.samba.org>) escribió:
> On Thu, 12 Jul 2018 11:44:47 -0300
> Sergio Belkin <sebelk at gmail.com> wrote:
>
> > El jue., 12 jul. 2018 a las 9:44, Rowland Penny via samba (<
> > samba at lists.samba.org>) escribió:
> >
> > > On Thu, 12 Jul 2018 09:34:59 -0300
> >
2013 Dec 14
2
cgi graphs text unreadable (black-on-black)
Guys,
This is probably known, but since I working on nut tonight, I thought I would
make sure. This is with the latest built from git. The cgi-bin script that shows
the graph of upsstats has text that is unreadable. The text is black and the
background is black. Here is a screenshot:
http://www.3111skyline.com/dl/bugs/nut/cgi-black-text.jpg
Here is the same page with the text selected with
2009 May 28
1
NUT upsstats.cgi problem
I seem to have NUT all working with my R3000XR, except for the CGIs.
The webserver's all properly configured and upsstats.cgi *runs*, but
doesn't yield any useful output - no values are displayed, every value
is replaced by [error: Invalid argument]. Apache is not logging any
resulting errors, and there doesn't seem to be a lot of useful
documentation on the CGIs to troubleshoot
2019 Feb 06
1
Unable to join to a SAMBA4 domain
El mar., 5 feb. 2019 a las 17:52, Rowland Penny via samba (<
samba at lists.samba.org>) escribió:
> On Tue, 5 Feb 2019 17:27:08 -0300
> Sergio Belkin <sebelk at gmail.com> wrote:
>
>
> > Hi Rowland,
> >
> > Centos files:
> >
> > /etc/hostname
> > tiny-fishwife.example.com
>
> It should be just the short hostname
2019 Sep 11
5
How to make an unattended backup
Hi,
I use AptVanBelle repo for samba, is there a way to backup in unattended
way (I mean via cron) the DC?
If I use
samba-tool domain backup online --targetdir=/srv/backup --server=
samba4.example.com -k yes -d1
It works, by it ask for password Administrator.
What is the best practice to do it?
Thanks in advance!
--
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
2013 Jul 31
2
nut package with Riello UPS support
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
# ps -aux | grep ups
_ups 13934 0.0 0.0 484 920 ?? Ss 5:41PM 0:01.53
/usr/local/bin/riello_ser -a senpro
_ups 9171 0.0 0.1 532 1168 ?? Ss 5:41PM 0:00.13
/usr/local/sbin/upsd
_ups 16906 0.0 0.1
2023 Nov 30
1
NUT 'upsstats' Battery Meter Question
Hello Jeff,
`upsstats` by itself only relays and renders the information provided by
a NUT data server (upsd) and the NUT driver for the device. So you can
revise the specific reported values with e.g. `upsc` command-line client to
be sure.
What I think happens here is that the driver uses a
`battery.voltage.low/nominal/high` group of readings which does not match
the hardware circumstances
2009 Jul 09
1
Premature end of script headers: upsimage.cgi
hi-
i'm using version 2.4.1, courtesy of debian testing, and noticed that
in the web interface, the image for the battery voltage bar graph
wasn't displaying. the other images (change, input, output, load)
seem to be fine. the browser reports "500 internal server error", and
apache reports "Premature end of script headers: upsimage.cgi,
referer:
2013 Dec 14
0
cgi graphs text unreadable (black-on-black)
On Dec 14, 2013, at 5:13 AM, David C. Rankin wrote:
> This is probably known, but since I working on nut tonight, I thought I would
> make sure. This is with the latest built from git. The cgi-bin script that shows
> the graph of upsstats has text that is unreadable. The text is black and the
> background is black. Here is a screenshot:
That's odd.
I'll admit that I
2012 May 14
1
Openswan or Ipsec-tools?
Hi,
I wonder what is better on CentOS 6 if openswan or ipsec-tools, what
do you recommend me?
(I can't use openvpn)
Thanks in advance!
--
--
Sergio Belkin ?http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
LPIC-2 Certified - http://www.lpi.org
2023 Nov 29
1
NUT 'upsstats' Battery Meter Question
Hello,
I am using Nut 2.8.0 (2.8.0-7 packages) Debian 'Bookworm' in it's Devuan form 'Daedalus'.
When I look at my Eaton (ex-MGE Powerware) E5115 UPS boxes in NUT 'upsstats" I am confused by the battery readings.
Under the 'System' column I can click on the link and obtain a GUI with a few meters.
The NUT 'upsstats' battery voltage meter for these