Bug 5946 - segfault
Summary: segfault
Alias: None
Product: ALT Linux 2.4
Classification: Archive
Component: nut-cgi (show other bugs)
Version: 2.4
Hardware: all Linux
: P2 normal
Assignee: Dmitry V. Levin
QA Contact: Andrey Cherepanov
Depends on:
Reported: 2005-01-25 11:40 MSK by Denis Ovsienko
Modified: 2005-05-17 11:38 MSD (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Denis Ovsienko 2005-01-25 11:40:03 MSK
$ 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"
Network UPS Tools upsstats 
: UPS Status
<body BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000EE" VLINK="#551A8B">

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

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

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

Tue Jan 25 10:32:09 EET 2005


<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>

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