ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Nut
@ 2008-09-18  9:21 alisher
  2008-09-20 21:22 ` Michael Shigorin
  0 siblings, 1 reply; 5+ messages in thread
From: alisher @ 2008-09-18  9:21 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Здравствуйте. Что то я совсем запутался c ups mustek, все настроил при 
30 % заряда вроде срабатывает но пишет:
Sep 17 18:55:24 serversmb upsmon[5375]: parent: Unable to call shutdown 
command: "/sbin/shutdown
В чем может быть проблема?
/var/log/messages
Sep 17 18:21:17 serversmb upsmon[5376]: UPS myups@localhost on battery
Sep 17 18:40:46 serversmb upsd[5347]: Host 127.0.0.1 disconnected (read 
failure)
Sep 17 18:45:09 serversmb upsd[5347]: Connection from 127.0.0.1
Sep 17 18:51:10 serversmb upsd[5347]: Host 127.0.0.1 disconnected (read 
failure)
Sep 17 18:51:10 serversmb upsd[5347]: Connection from 127.0.0.1
Sep 17 18:53:29 serversmb upsd[5347]: Host 127.0.0.1 disconnected (read 
failure)
Sep 17 18:53:29 serversmb upsd[5347]: Connection from 127.0.0.1
Sep 17 18:53:53 serversmb upsd[5347]: Host 127.0.0.1 disconnected (read 
failure)
Sep 17 18:53:53 serversmb upsd[5347]: Connection from 127.0.0.1
Sep 17 18:53:55 serversmb upsd[5347]: Host 127.0.0.1 disconnected (read 
failure)
Sep 17 18:53:55 serversmb upsd[5347]: Connection from 127.0.0.1
Sep 17 18:54:03 serversmb upsd[5347]: Host 127.0.0.1 disconnected (read 
failure)
Sep 17 18:54:03 serversmb upsd[5347]: Connection from 127.0.0.1
Sep 17 18:54:25 serversmb upsd[5347]: Host 127.0.0.1 disconnected (read 
failure)
Sep 17 18:54:25 serversmb upsd[5347]: Connection from 127.0.0.1
Sep 17 18:54:44 serversmb upsd[5347]: Host 127.0.0.1 disconnected (read 
failure)
Sep 17 18:54:44 serversmb upsd[5347]: Connection from 127.0.0.1
Sep 17 18:54:53 serversmb upsd[5347]: Host 127.0.0.1 disconnected (read 
failure)
Sep 17 18:54:53 serversmb upsd[5347]: Connection from 127.0.0.1
Sep 17 18:55:02 serversmb upsd[5347]: Host 127.0.0.1 disconnected (read 
failure)
Sep 17 18:55:02 serversmb upsd[5347]: Connection from 127.0.0.1
Sep 17 18:55:19 serversmb upsmon[5376]: UPS myups@localhost battery is low
Sep 17 18:55:19 serversmb upsd[5347]: Client admin@127.0.0.1 set FSD on 
UPS [myups]
Sep 17 18:55:19 serversmb upsmon[5376]: Executing automatic power-fail 
shutdown
Sep 17 18:55:19 serversmb wall[10362]: wall: user upsmon broadcasted 2 
lines (43 chars)
Sep 17 18:55:19 serversmb upsmon[5376]: Auto logout and shutdown proceeding
Sep 17 18:55:19 serversmb wall[10365]: wall: user upsmon broadcasted 1 
lines (37 chars)
Sep 17 18:55:20 serversmb upsd[5347]: Host 127.0.0.1 disconnected (read 
failure)
Sep 17 18:55:20 serversmb upsd[5347]: Connection from 127.0.0.1
Sep 17 18:55:24 serversmb upsd[5347]: Host 127.0.0.1 disconnected (read 
failure)
Sep 17 18:55:24 serversmb upsmon[5375]: parent: Unable to call shutdown 
command: "/sbin/shutdown
Sep 17 18:55:29 serversmb upsd[5347]: Host 127.0.0.1 disconnected (read 
failure)
Sep 17 18:55:29 serversmb upsd[5347]: Connection from 127.0.0.1
Sep 17 18:56:53 serversmb upsd[5347]: Host 127.0.0.1 disconnected (read 
failure)
Sep 17 18:56:53 serversmb upsd[5347]: Connection from 127.0.0.1
Sep 17 19:08:22 serversmb upsd[5347]: Host 127.0.0.1 disconnected (read 
failure)
Sep 18 10:07:17 serversmb upsd[5347]: Connection from 127.0.0.1

ups.conf
[myups]
        driver = megatec
        port = /dev/ttyS0
        desc = "Something descriptive"

upsd.conf
ACL all 0.0.0.0/0
ACL localhost 127.0.0.1/32

ACCEPT localhost
REJECT all

upsd.users
[admin]
password =*****
allowfrom = localhost
action = set
instcmds = all
upsmon master

[monuser]
        password  = *****
        allowfrom = localhost
        actions = SET
        instcmds = ALL
        upsmon master

upsmon.conf

MINSUPPLIES 1
SHUTDOWNCMD "/sbin/shutdown -h +0"
NOTIFYFLAG ONLINE  SYSLOG+EXEC
NOTIFYFLAG ONBATT  SYSLOG+EXEC
NOTIFYFLAG LOWBATT SYSLOG+EXEC
POLLFREQ 5
POLLFREQALERT 5
HOSTSYNC 15
DEADTIME 15
POWERDOWNFLAG /etc/killpower
RBWARNTIME 43200
NOCOMMWARNTIME 300
FINALDELAY      5
MONITOR myups@localhost 1 admin ****** master

upsshed.conf
CMDSCRIPT /bin/upssched-cmd
LOCKFN /var/lib/ups/upssched.lock
PIPEFN /var/lib/ups/upssched.pipe
AT ONBATT * START-TIMER  onbatt1 10
AT ONLINE * CANCEL-TIMER onbatt1
AT ONBATT * START-TIMER  earlyshutdown 120
AT ONLINE * CANCEL-TIMER earlyshutdown



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Comm] Nut
  2008-09-18  9:21 [Comm] Nut alisher
@ 2008-09-20 21:22 ` Michael Shigorin
  2008-09-22  3:45   ` alisher
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Shigorin @ 2008-09-20 21:22 UTC (permalink / raw)
  To: ALT Linux Community general discussions

On Thu, Sep 18, 2008 at 03:21:45PM +0600, alisher wrote:
> Здравствуйте. Что то я совсем запутался c ups mustek, все настроил при 
> 30 % заряда вроде срабатывает но пишет:
> Sep 17 18:55:24 serversmb upsmon[5375]: parent: Unable to call shutdown 
> command: "/sbin/shutdown
> В чем может быть проблема?

Возможно, это баг, который стоит повесить на пакет.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Comm] Nut
  2008-09-20 21:22 ` Michael Shigorin
@ 2008-09-22  3:45   ` alisher
  2008-09-22  8:39     ` Michael Shigorin
  0 siblings, 1 reply; 5+ messages in thread
From: alisher @ 2008-09-22  3:45 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Michael Shigorin пишет:
> On Thu, Sep 18, 2008 at 03:21:45PM +0600, alisher wrote:
>   
>> Здравствуйте. Что то я совсем запутался c ups mustek, все настроил при 
>> 30 % заряда вроде срабатывает но пишет:
>> Sep 17 18:55:24 serversmb upsmon[5375]: parent: Unable to call shutdown 
>> command: "/sbin/shutdown
>> В чем может быть проблема?
>>     
>
> Возможно, это баг, который стоит повесить на пакет.
>
>   
На ALD 4.0.3  стоит вешать?



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Comm] Nut
  2008-09-22  3:45   ` alisher
@ 2008-09-22  8:39     ` Michael Shigorin
  2008-09-22 10:01       ` alisher
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Shigorin @ 2008-09-22  8:39 UTC (permalink / raw)
  To: ALT Linux Community general discussions

On Mon, Sep 22, 2008 at 09:45:30AM +0600, alisher wrote:
> >>Здравствуйте. Что то я совсем запутался c ups mustek, все
> >>настроил при 30 % заряда вроде срабатывает но пишет:
> >>Sep 17 18:55:24 serversmb upsmon[5375]: parent: Unable to
> >>call shutdown command: "/sbin/shutdown
> >>В чем может быть проблема?
> >Возможно, это баг, который стоит повесить на пакет.
> На ALD 4.0.3  стоит вешать?

Да.  {mike,alexsid}@altlinux.org в Cc: засуньте, pls.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Comm] Nut
  2008-09-22  8:39     ` Michael Shigorin
@ 2008-09-22 10:01       ` alisher
  0 siblings, 0 replies; 5+ messages in thread
From: alisher @ 2008-09-22 10:01 UTC (permalink / raw)
  To: ALT Linux Community general discussions

#17267
>
> Да.  {mike,alexsid}@altlinux.org в Cc: засуньте, pls.
>   
К сожалению не понял, где там подписывать.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-09-22 10:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-18  9:21 [Comm] Nut alisher
2008-09-20 21:22 ` Michael Shigorin
2008-09-22  3:45   ` alisher
2008-09-22  8:39     ` Michael Shigorin
2008-09-22 10:01       ` alisher

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