From: Vladimir Karpinsky <vkarpinsky@mail.ru> To: community@lists.altlinux.org Subject: Re: [Comm] NUT и Ippon Date: Sun, 22 Jan 2012 21:23:11 +0400 Message-ID: <4F1C45FF.7050708@mail.ru> (raw) In-Reply-To: <4F1C4391.4030803@kalina.in.ua> 22.01.2012 21:12, Yura Kalinichenko пишет: > Vladimir Karpinsky пишет: >> >> Письма тоже не приходят. Может, кроме рута, на выполнение этого скрипта >> надо ещё кому-нибудь права дать? >> > Разумеется. > > ls -l /usr/lib/nut/upssched-cmd > -rwxr-xr-- 1 root upsmon 3945 Ноя 13 01:07 /usr/lib/nut/upssched-cmd Понял. Но внутри скрипта вызов shutdown, его дадут выполнить пользователю upsmon? Тут ещё накопал: > Jan 22 18:23:31 pullet upssched[27440]: Failed to connect to parent and > failed to create parent: No such file or directory > PIPEFN /var/run/upssched/upssched.pipe > LOCKFN /var/run/upssched/upssched.lock NUT пользователь не может писать в /var/run/upssched/, см. http://lists.alioth.debian.org/pipermail/nut-upsuser/2007-June/002851.html. Правильно ли просто сменить хозяина этого каталога на upsmon или это плохо по каким-то соображениям. > Во-первых, 3 раза про то, что UPS ушёл на батареи, Тут такое: $ ps aux | grep upsmon root 28477 0.0 0.1 3272 824 ? Ss Jan17 0:00 /usr/sbin/upsmon upsmon 28478 0.0 0.1 3272 668 ? S Jan17 0:00 /usr/sbin/upsmon root 17743 0.0 0.1 3272 824 ? Ss Jan17 0:00 /usr/sbin/upsmon upsmon 17744 0.0 0.1 3272 668 ? S Jan17 0:00 /usr/sbin/upsmon root 2716 0.0 0.1 3272 824 ? Ss 21:15 0:00 /usr/sbin/upsmon upsmon 2717 0.0 0.1 3272 600 ? S 21:15 0:00 /usr/sbin/upsmon Т.е. 3 процесса от пользователя upsmonи 3 --- root. Их так и должно быть много? -- С уважением, Владимир.
next prev parent reply other threads:[~2012-01-22 17:23 UTC|newest] Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-01-20 14:00 Vladimir Karpinsky 2012-01-20 14:07 ` Vladimir Karpinsky 2012-01-21 12:35 ` Sergey Vlasov 2012-01-21 13:05 ` Vladimir Karpinsky 2012-01-21 16:07 ` Sergey Vlasov 2012-01-21 18:29 ` Dubrovskiy Viacheslav 2012-01-21 18:47 ` Vladimir Karpinsky 2012-01-21 18:38 ` Vladimir Karpinsky 2012-01-22 17:18 ` Michael Shigorin 2012-01-22 17:28 ` Vladimir Karpinsky 2012-01-22 17:51 ` Michael Shigorin 2012-01-22 17:59 ` Vladimir Karpinsky 2012-01-22 21:04 ` Yura Kalinichenko 2012-01-22 16:12 ` Vladimir Karpinsky 2012-01-22 17:12 ` Yura Kalinichenko 2012-01-22 17:23 ` Vladimir Karpinsky [this message] 2012-01-24 14:19 ` Vladimir Karpinsky 2012-01-24 14:37 ` Шенцев Алексей Владимирович 2012-01-24 14:51 ` Vladimir Karpinsky 2012-01-24 15:00 ` Шенцев Алексей Владимирович 2012-01-24 15:21 ` Vladimir Karpinsky 2012-01-24 15:31 ` Шенцев Алексей Владимирович 2012-01-24 15:39 ` Vladimir Karpinsky 2012-01-24 15:51 ` Шенцев Алексей Владимирович 2012-01-24 16:01 ` Vladimir Karpinsky 2012-01-24 19:48 ` Sergey Vlasov 2012-01-25 15:50 ` Vladimir Karpinsky 2012-01-25 20:50 ` Alexey Borisenkov 2012-01-26 5:27 ` Vladimir Karpinsky 2012-01-24 19:04 ` Andrey Liakhovets 2012-01-24 19:13 ` Vladimir Karpinsky 2012-02-01 13:18 ` Vladimir Karpinsky 2012-02-01 16:17 ` Vladimir Karpinsky 2012-02-02 15:24 ` Vladimir Karpinsky 2012-02-01 17:01 ` Andrey Liakhovets 2012-02-01 17:32 ` Vladimir Karpinsky 2012-02-01 18:06 ` Andrey Liakhovets 2012-02-01 18:11 ` Vladimir Karpinsky 2012-01-22 17:37 ` Dubrovskiy Viacheslav 2012-01-21 12:23 ` Sergey Vlasov
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=4F1C45FF.7050708@mail.ru \ --to=vkarpinsky@mail.ru \ --cc=community@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 Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git