Bug 5946 - segfault
: segfault
Status: CLOSED FIXED
: ALT Linux 2.4
(All bugs in ALT Linux 2.4/nut-cgi)
: 2.4
: all Linux
: P2 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2005-01-25 11:40 by
Modified: 2005-05-17 11:38 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2005-01-25 11:40:03
$ upsc smart1000i@localhost
[ данные есть ]
$ /var/www/cgi-bin/upsstats.cgi
Content-type: text/html
Pragma: no-cache

<!-- upsstats template file -->

<!-- 
        This (upsstats.html) is the default template file which is used
        when upsstats.cgi is loaded with no arguments.

        It usually contains a FOREACHUPS block to iterate through every
        UPS in the hosts.conf.

        See upsstats.html(5) for more information on template files.
-->

<!-- change this to TEMPF if you don't like Celsius. -->


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
        "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>
Network UPS Tools upsstats 
2.0.0
: UPS Status
</title>
</head>
<body BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000EE" VLINK="#551A8B">

<table BGCOLOR="#50A0A0" ALIGN="CENTER">
<tr><td>

<table CELLPADDING="5">
<tr>
<th COLSPAN="8" BGCOLOR="#60B0B0">

<font SIZE="+2">Network UPS Tools upsstats
2.0.0
</font>

<br>
Tue Jan 25 10:32:09 EET 2005
</th>

</tr>

<tr BGCOLOR="#60B0B0">
<th COLSPAN="1">System</th>
<th COLSPAN="1">Model</th>
<th COLSPAN="1">Status</th>
<th COLSPAN="1">Battery</th>
<th COLSPAN="1">Input</th>
<th COLSPAN="1">Output</th>
<th COLSPAN="1">Load</th>
<th COLSPAN="1">UPS<br>Temp</th>
</tr>

Segmentation fault
------- Comment #1 From 2005-02-12 22:23:25 -------
А что в /etc/nut/hosts.conf?
------- Comment #2 From 2005-02-16 19:57:43 -------
Кроме комментариев ничего.
------- Comment #3 From 2005-03-05 16:07:29 -------
Проявляется только в случае, когда в /etc/nut/hosts.conf не сконфигурировано ни
одного монитора.
Исправлено в nut-cgi-2.0.1-alt1