ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Алексей Шенцев" <ashen@nsrz.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] UPS & linux & windows
Date: Mon, 12 Nov 2007 11:24:50 +0300
Message-ID: <200711121124.50337.ashen@nsrz.ru> (raw)
In-Reply-To: <200711101814.49794.ashen@nsrz.ru>

В сообщении от Saturday 10 November 2007 18:14:49 Алексей Шенцев написал(а):
> настроил, работает вроде ... :)
Работает. Вчера наши энергетики устроили crash-test. NUT отработал, погасил и 
линукс-сервер и виндовс-клиента.
В логах вот такое:
[root@gw /]# cat /var/log/messages | grep ups | grep 'Nov 11'
Nov 11 06:26:36 gw upsmon[22562]: UPS apcSUA3000I@localhost on battery
Nov 11 06:26:36 gw wall[30981]: wall: user upsmon broadcasted 1 lines (38 
chars)
Nov 11 06:27:21 gw upsmon[22562]: UPS apcSUA3000I@localhost on line power
Nov 11 06:27:21 gw wall[30989]: wall: user upsmon broadcasted 1 lines (41 
chars)
Nov 11 18:48:03 gw upsmon[22562]: UPS apcSUA3000I@localhost on battery
Nov 11 18:48:03 gw wall[4523]: wall: user upsmon broadcasted 1 lines (38 
chars)
Nov 11 18:54:09 gw upsmon[22562]: UPS apcSUA3000I@localhost on line power
Nov 11 18:54:09 gw wall[4545]: wall: user upsmon broadcasted 1 lines (41 
chars)
Nov 11 19:00:59 gw upsmon[22562]: UPS apcSUA3000I@localhost on battery
Nov 11 19:00:59 gw wall[4585]: wall: user upsmon broadcasted 1 lines (38 
chars)
Nov 11 19:31:37 gw upsmon[22562]: UPS apcSUA3000I@localhost battery is low
Nov 11 19:31:37 gw upsmon[22562]: FSD set on UPS apcSUA3000I@localhost failed: 
Access denied
Nov 11 19:31:37 gw wall[4675]: wall: user upsmon broadcasted 1 lines (42 
chars)
Nov 11 19:31:53 gw upsmon[22562]: Host sync timer expired, forcing shutdown
Nov 11 19:31:53 gw upsmon[22562]: Executing automatic power-fail shutdown
Nov 11 19:31:53 gw wall[4677]: wall: user upsmon broadcasted 2 lines (43 
chars)
Nov 11 19:31:53 gw upsmon[22562]: Auto logout and shutdown proceeding
Nov 11 19:31:53 gw wall[4680]: wall: user upsmon broadcasted 1 lines (37 
chars)
Nov 11 19:31:58 gw upsd[21501]: Host 127.0.0.1 disconnected (read failure)
Nov 11 19:31:59 gw upsmon: upsmon shutdown succeeded
Nov 11 19:31:59 gw upsd[21501]: Signal 15: exiting
Nov 11 19:31:59 gw upsd: upsd shutdown succeeded
Nov 11 19:32:00 gw newhidups[20933]: Signal 15: exiting
Nov 11 19:32:00 gw upsdrv: newhidups shutdown succeeded

А вот строчка:
Nov 11 19:31:37 gw upsmon[22562]: FSD set on UPS apcSUA3000I@localhost failed: 
Access denied

Подозрительна мне. С чем это может быть связано?

Сейчас настраиваю web-интерфейс к нему. По умолчанию у нас в ALS4 вроде 
apache2. А nut-cgi укладывается в /var/www/cgi-bin/, /var/www/html/nut.
Т.е. в каталоги для первого апача. Мелочь на которую можно не образать 
внимание, imho.
-- 
С уважением Шенцев Алексей Владимирович.
E-mail: ashen@nsrz.ru
XMPP: ashen@altlinux.org, AlexShen@jabber.ru
ICQ: 271053845


  parent reply	other threads:[~2007-11-12  8:24 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-07  9:48 Алексей Шенцев
2007-11-07 11:10 ` Sergey
2007-11-07 11:17   ` Алексей Шенцев
2007-11-07 11:21     ` Serge
2007-11-07 11:50     ` Sergey
2007-11-08  7:24       ` Anton Gorlov
2007-11-07 12:21 ` Denis Klimov
2007-11-07 20:16 ` Michael Shigorin
2007-11-08  7:33   ` Алексей Шенцев
2007-11-08 10:22     ` Sergey
2007-11-08 10:28       ` Алексей Шенцев
2007-11-08 10:45         ` Sergey
2007-11-08 11:01           ` Алексей Шенцев
2007-11-08 12:49             ` Sergey
2007-11-08 12:59               ` Алексей Шенцев
2007-11-08 17:38                 ` Sergey
2007-11-09  5:47                   ` Алексей Шенцев
2007-11-08 10:33       ` Maxim Ivanov
2007-11-08 10:40         ` Алексей Шенцев
2007-11-07 21:12 ` Alexey Shabalin
2007-11-07 21:23   ` [Sysadmins] [JT] " Michael Shigorin
2007-11-08  8:49 ` [Sysadmins] " Алексей Шенцев
2007-11-10 15:14 ` Алексей Шенцев
2007-11-10 19:32   ` Sergey
2007-11-10 23:02     ` Alexey Shabalin
2007-11-12  8:24   ` Алексей Шенцев [this message]
2007-12-25 15:06 ` Sergey
2007-12-25 15:59   ` Алексей Шенцев
2007-12-25 18:42     ` Sergey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200711121124.50337.ashen@nsrz.ru \
    --to=ashen@nsrz.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git