[Nut-upsdev] Powerware 9125 - bcmxcp - shutdown problem
Axel Bergerhoff
axelbergerhoff at compuserve.com
Fri Nov 11 18:38:39 UTC 2005
Hi Kjell,
thx for the fast response.
Here it is:
Nov 11 13:41:03 tfp-8 upsmon[894]: USV auf BATTERIE
Nov 11 13:41:03 tfp-8 upssched[907]: Timer daemon started
Nov 11 13:41:04 tfp-8 upssched[907]: New timer: a-onbat (30 seconds)
Nov 11 13:41:04 tfp-8 upssched[907]: New timer: a-onbat2 (120 seconds)
Nov 11 13:41:34 tfp-8 upssched[907]: Event: a-onbat
Nov 11 13:43:04 tfp-8 upssched[907]: Event: a-onbat2
Nov 11 13:43:04 tfp-8 upsmon[894]: Signal 10: User requested FSD
Nov 11 13:43:04 tfp-8 upsd[890]: Client karl at 127.0.0.1 set FSD on UPS [PW9125]
Nov 11 13:43:04 tfp-8 upsmon[894]: Executing automatic power-fail shutdown
Nov 11 13:43:04 tfp-8 upsmon[894]: System wird von USV runtergefahren
Nov 11 13:43:09 tfp-8 init: Switching to runlevel: 0
Nov 11 13:46:21 tfp-8 syslogd 1.3-3: restart.
After init 0 it took about 15 to 20 seconds until power went off.
Last line is caused by my manual restart.
Does this tell you anything?
Axel
P.s.: I'm running the system @work - and it's pretty late now. It would be
great if we could continue to talk about it next week.
Am Freitag, 11. November 2005 18:56 schrieb Kjell Claesson:
>
> Hi Axel.
>
> Can you give me the info from the system log when it do a shutdown.
>
> Kjell
>
> fre 2005-11-11 klockan 17:34 +0100 skrev Axel Bergerhoff:
> > Hi,
> >
> > just through setting up nut-2.0.2 I ran into a shutdown problem. As I have
> > already spend some time on it and don't know any further, I like to ask
for
> > advice.
> >
> > Situation:
> > Powerware 9125 serially connected using /dev/cua0
> > nut compiled and installed fine
> > system shall
> > - broadcast a message and shut down if ups on battery for 30+ s
> > - wait 120 s
> > - broadcast another message
> > - give system 120 s to shut down, then power off
> >
> > bcmxcp
> > is running as /usr/bin/bcmxcp -a PW9125 with
> > ups.conf
> > [PW9125]
> > driver = bcmxcp
> > port = /dev/cua0
> > shutdown_delay = 120
> > desc = "tfp-8"
> >
> > upsd and upsmon are running, too
> >
> > upssched is used and works fine, e.g.
> > AT ONBATT * START-TIMER a-onbat 30
> > AT ONBATT * START-TIMER a-onbat2 120
> > do alright
> >
> >
> > Problem:
> > When shutting down, shutdown_delay is not recognized, system is powered
off
> > immediately as soon as upsdrvctl shutdown is executed. upsc reports
> > shutdown_delay as set.
> >
> > As described in the man page bcmxcp.8, a delay of 120 s should be
expected,
> > giving the system enough time to clean up.
> >
> > This is my first installation of nut, so I cannot be sure having done
> > everything right.
> > Not knowing what to touch next I appreciate any help.
> >
> > Axel
> >
> > _______________________________________________
> > Nut-upsdev mailing list
> > Nut-upsdev at lists.alioth.debian.org
> > http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev
>
More information about the Nut-upsdev
mailing list