From: Sergey <a_s_y@sama.ru> To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org> Subject: Re: [sisyphus] 2.6.38-std-def-alt7.2, 2.6.32-el-smp-alt22 & shutdown -h now = кома Date: Fri, 3 Jun 2011 12:17:15 +0400 Message-ID: <201106031217.15941.a_s_y@sama.ru> (raw) In-Reply-To: <201106030938.43045.john@sakh.com> On Friday, June 03, 2011, john@sakh.com wrote: > Jun 2 04:50:31 gw kernel: Kernel logging (proc) stopped. > Jun 2 04:50:31 gw kernel: Kernel log daemon terminating. > Jun 2 04:50:32 gw klogd: klogd shutdown succeeded > Jun 2 04:50:32 gw exiting on signal 15 > . > Последнее что увидел сервер на CentOS от apcupsd > Jun 2 04:51:13 host apcupsd[3482]: Communications with UPS lost. > Так и работал, пока UPS окончательно не сдох. Это - неправильное поведение. Если бы в этот момент дали 220, он бы не поднялся. apcupsd должен был успеть послать killpower. UPS точно не отключился ? > . > Ниже видно, что в 04:52:24, может чуть позднее UPS выключился. > . > Jun 2 04:52:24 host openvpn[10615]: UDPv4 link remote: > Jun 2 04:54:34 host syslogd 1.4.1: restart. > . > Jun 2 04:54:34 host syslog: запуск syslogd succeeded > . > Приблизительно в 04:54:34 появилось напряжение 220В в сети. > UPS включился. Сервер на CentOS включился, а альт так и висел. Это, опять же, говорит только о том, что SmartUPS не получил сигнал killpower. Это не имеет никакого отношения к halt/poweroff/shutdown. > В этой ситуации все сервера на CentOS без исключения завелись, > кроме сервера на альте. Наводит на мысли использовать идеологически > неправильный poweroff. Это совершенно неправильная мысль. Копать надо в сторону правильности отработки команд apcupsd. > APC Smart UPS, настройки в конфиге apcupsd одинаковые что на CentOS, > что на альте, Этого не может быть, я гарантирую, что в ALT есть отличия в скриптах и порядке останова. Сам делал. ;-) Разве что сам конфиг одинаковый. > за исключением того, что альтовский сервер управляет UPS по com > порту, RS-232 - самый простой вариант. Тут должно быть всё всегда правильно. Разбираемся дальше. "rpm -qa|grep apcupsd" что показывает ? И ls /etc/rc0.d/*apc* . Кстати, сразу замечу, у меня десятка два систем с ALT/SmartUPS/apcupsd, с RS-232, с читым USB, с USB-Serial. Один с snmp. Сейчас вот с Moxa NPort ещё появился, правда тут гаситься не будет мониторящий хост - не надо. Отключения хоть где-то, но раз в месяц бывают. -- С уважением, Сергей a_s_y@sama.ru
next prev parent reply other threads:[~2011-06-03 8:17 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-06-02 4:38 john 2011-06-02 6:23 ` Sergey 2011-06-02 7:00 ` Dmitry Chistikov 2011-06-02 7:13 ` john 2011-06-02 8:24 ` Sergey 2011-06-02 8:06 ` Sergey 2011-06-02 22:38 ` john 2011-06-03 8:17 ` Sergey [this message] 2011-06-06 7:54 ` [sisyphus] apcupsd (Re: 2.6.38-std-def-alt7.2, 2.6.32-el-smp-alt22 & shutdown -h now = кома) Sergey 2011-06-06 23:04 ` john 2011-06-07 4:54 ` Sergey 2011-06-07 5:38 ` Sergey 2011-06-07 5:58 ` john 2011-06-07 6:58 ` 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=201106031217.15941.a_s_y@sama.ru \ --to=a_s_y@sama.ru \ --cc=sisyphus@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 Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git