Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: FrancisT on July 25, 2008, 12:05:32 PM

Title: Disable nut messages
Post by: FrancisT on July 25, 2008, 12:05:32 PM
I have disconnected the serial cable to the UPS, but am unable to stop the error messages on the console every 10 or 20 seconds.

I have tried:

Disable nut.

config setprop nut status disabled
/etc/rc.d/init.d/nut stop

The result is:

Stopping UPS monitor: [FAILED]
Stopping upsd: [FAILED]
Shutting down upsdrvctl: Network UPS Tools - UPS driver controller 2.2.0-

and the messages continue...
Title: Re: Disable nut messages
Post by: cactus on July 25, 2008, 02:06:10 PM
I have disconnected the serial cable to the UPS, but am unable to stop the error messages on the console every 10 or 20 seconds.

I have tried:

Disable nut.

config setprop nut status disabled
/etc/rc.d/init.d/nut stop

The result is:

Stopping UPS monitor: [FAILED]
Stopping upsd: [FAILED]
Shutting down upsdrvctl: Network UPS Tools - UPS driver controller 2.2.0-

and the messages continue...
Try this instead:
Code: [Select]
service nut stop
Title: Re: Disable nut messages
Post by: FrancisT on July 25, 2008, 11:53:40 PM
That results in the same error message and screen messages continue, thanks
Title: Re: Disable nut messages
Post by: mdo on July 26, 2008, 04:47:44 AM
That results in the same error message and screen messages continue, thanks

Strange. Then let's do something else:

Let's verify that the service is disabled per definition:

 db configuration show nut

should say:
nut=service
    Device= ...
    ..snip..
    status=disabled

If that's the case then let's run a server reconfiguration plus a restart:

signal-event post-upgrade; signal-event reboot

and if after that reboot you still get error messages please post one of those.

Michael




Title: Re: Disable nut messages
Post by: FrancisT on July 26, 2008, 10:33:21 AM
The result from:
db configuration show nut
nut=service
    Device=/dev/ttyS0
    MasterPass=/mZkA6yQ+sGHKwyJWPd+Y8a0oHzUrIR060gi9qgdVjPb+/43eOgn3qi2TMpgFNaFaojG7KF7wNr8
    Model=mge-utalk
    SlavePass=VXOZlPgdKI766/1LS6v4liHadUCJWYPIlHx+Yx426qnDXzTpKqEXovdatSWXs3Ck2gGJdIb4H+XT
    status=disabled

After post-upgrade & reboot the message returned:

Broadcast message from root (Sat Jul 26 20:31:05 2008):

UPS Adapter No Response, please stop the process!!

I hope this makes some sense.
Francis
Title: Re: Disable nut messages
Post by: mdo on July 26, 2008, 10:47:47 AM
It looks a bit like this message might not be generated from nut (I have not seen that exact one before). Could it be that you installed specific monitoring software which came with the UPS?
Title: Re: Disable nut messages
Post by: FrancisT on July 26, 2008, 11:41:59 AM
Yes, that could be possible, I see the CD has linux software.

Reading the readme I have found where I installed it & have run it's stop command -
./ups_manager stop

has stopped the messages, then
./uninstall

has uninstalled the program.

Thanks for your help, I would have continued with trying to stop nut without your trigger!

I really need to document everything I add, etc. and then be able to locate this documentation in future.

Thanks again.

Francis