Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: brad wright on October 17, 2002, 05:38:51 AM
-
Can someone please tell me how to completely remove powstad from my SME 5.5 server?
I installed it a while ago (before upgrade from 4.1.2) and do not use it.. I have found APCUPSD a MUCH better solution.
However.. when I 'cold boot' the machine.. it starts powstad.. then shuts the system doen.
I have tried renaming/removing the 'Spowstad' file from etc/rcd/rc7.d directory.. but it is recreated (seemingly) on boot up.
Any help as to getting rid of this annoyance would be appreciated.
-
I think if you rename /etc/powstatd.conf to something else that should stop powstatd.
From the HOWTO:
Another problem you might get if you get the config wrong is the phenomenon of your server shutting down just after it's started up. Try quickly logging in and doing a
shutdown -c
to cancel the shutdown and allow you to modify the config.
If you cannot then:
"try rebooting in single user mode (issue "linux 1" at the LILO prompt) and disable powstatd by renaming /etc/powstatd.conf to something else. Reboot and you should be able to fix the configuration.+ (from the man file).
For more see
http://www.e-smith.org/docs/howto/contrib/UPSHOWTO.txt
Regards
Ray Mitchell
-
Ray Mitchell wrote:
> "try rebooting in single user mode (issue "linux 1" at
> the LILO prompt)
to boot up in single user mode-
hit CTL-X when the esmith graphic comes up. This puts it into lilo text input mode.
Type: esmith single
You will eventually arrive at the command prompt (you will not be asked to login)
-
Thanks for the answeres guys, but Ive already been able to 'disable' it. I just wanted to know how to uninstall it completetly.
Thanks,
Brad
-
Ok then how about
/etc/rc.d/init.d/powstatd stop
Regards
Ray Mitchell
-
Ray,
powstad is NOT runnng ..... I have already disabled it,
Running the command you gave me, just gets a
'shutting down UPS services [failed]' message.
I just want to completely uninstall it from my server. Completely, for good, is no more.... has gone. Not just disabled
-
rpm -e powstatd
rpm -e e-smith-powstatd
I'm not sure which order to uninstal these, reverse the uninstal order if necessary
Is this what you are after ??
Ray
-
thats the one.. thanks mate :)