Koozali.org: home of the SME Server

Disable nut messages

Offline FrancisT

  • **
  • 23
  • +0/-0
Disable nut messages
« 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...
...

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Disable nut messages
« Reply #1 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
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline FrancisT

  • **
  • 23
  • +0/-0
Re: Disable nut messages
« Reply #2 on: July 25, 2008, 11:53:40 PM »
That results in the same error message and screen messages continue, thanks
...

Offline mdo

  • *
  • 355
  • +0/-0
Re: Disable nut messages
« Reply #3 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




...

Offline FrancisT

  • **
  • 23
  • +0/-0
Re: Disable nut messages
« Reply #4 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
...

Offline mdo

  • *
  • 355
  • +0/-0
Re: Disable nut messages
« Reply #5 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?
...

Offline FrancisT

  • **
  • 23
  • +0/-0
Re: Disable nut messages
« Reply #6 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
...