From: "Sergei O. Naumov" <vomus@rambler.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] nut в Сизифе
Date: Mon, 22 Aug 2011 21:05:40 +0400
Message-ID: <201108222105.41184@VOMUS> (raw)
In-Reply-To: <4E4F6350.1050306@kalina.in.ua>
В сообщении от 20 августа 2011 11:33:36 автор Yura Kalinichenko написал:
> > решил проверить вот так:
> >
> > $ /lib/nut/genericups -a skat и получил:
> >
> > Can't chdir to /var/lib/upsd: Permission denied
>
> Если уж хотите проверять именно так то
> 1) делайте это от root'а
> 2) c ключиком -D
[serge@yarilo ~]$ su -
Password:
[root@yarilo ~]# /lib/nut/genericups -DDDD -a skat
Network UPS Tools - Generic UPS driver 1.34 (2.2.2)
debug level is '4'
UPS type: Generic RUPS model
Cant' chdir to /var/lib/upsd: Permission denied
[root@yarilo ~]#
> А в общем случае правильнее
>
> service upsdrv start
>
> и если OK - то проверять с помощью upsdrvctl.
[root@yarilo ~]# service upsdrv start
Starting UPS drivers: [DONE]
[root@yarilo ~]# upsc skat@localhost ups.status
Error: Connection failure: Connectio refused
Стало быть всякие chroot'ы сработали, демон запустился, я даже вижу его
запущенным. Но почему upsc не может получить к нему доступ?
--
Сергей
next prev parent reply other threads:[~2011-08-22 17:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-19 17:21 Sergei O. Naumov
2011-08-19 18:25 ` Andrey Liakhovets
2011-08-20 7:33 ` Yura Kalinichenko
2011-08-22 17:05 ` Sergei O. Naumov [this message]
2011-08-22 18:53 ` Michael Shigorin
2011-08-23 12:45 ` Yura Kalinichenko
2011-08-23 14:14 ` Michael Shigorin
2011-08-23 6:02 ` Andrey Liakhovets
2011-08-23 18:53 ` Sergei O. Naumov
2011-08-24 4:19 ` Andrey Liakhovets
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=201108222105.41184@VOMUS \
--to=vomus@rambler.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