Koozali.org: home of the SME Server

ahhh...please help, e-smith shuts down on startup

brad wright

ahhh...please help, e-smith shuts down on startup
« on: July 04, 2001, 10:19:55 AM »
Hi all,
I hope someone can help becuse I'm stuck until someone does.
I have just installed C.Bary's powstatd as instructed by the how-to doc on this site. Unfortunatly i have started powstatd accidently (yes I know, I know, i got  ahead of myself.....I know, I know ) BEFORE running the test and checking the config (using the powstatd -t cmd).
Now what i have is a server that starts itself up, gets to the 'starting UPS service' line, then starts shutting everything down. I have no time to log in as root , in fact no time to do anything accept watch my server go back to sleep.
I have tried to reboot in single user mode (as per the how-to) but this does not work.... the only boot option is 'esmith' at the 'boot prompt'.

I dont mean to sound pityful, but.... pleaeeaasssee heeelllpp. My partners are looking at me in a NOT friendly way as they cant get email etc from the server until this is fixed.....
how do i 'stop' the UPS service startup????? or at the very least, get into e-smith before the UPS service shuts it down???


Thanks in advance........

Brad

Stephan Burmeister

Re: ahhh...please help, e-smith shuts down on startup
« Reply #1 on: July 04, 2001, 01:33:38 PM »
If nothing else helps, you can boot from a special linux rescue floppy disk (I recommend tomsrtbt, see http://www.toms.net/rb/) and access your hard disk from there. Then you can change/delete whatever you want.

Stephan

aniston

Re: ahhh...please help, e-smith shuts down on startup
« Reply #2 on: July 04, 2001, 09:43:59 PM »
hello brad,

the way to get into the e-smith single user is quite simple, it just follows the same pattern that redhat uses (being based on the redhat distro ;)

when your comp boots up and you see the graphic of e-smith, you have 5 seconds to hit "ctrl-x" and then type in "esmith single" and this should let you boot into single user for maintenance mode as root, very handy when you forget the root password too, as the typing "passwd" allows you to specify a new root password. (also very dangerous if you are not the real sysadmin). There is also a way to protect from unauthorized acces with a second LILO password.

Once inside single user use "mc" commander and navigate to the /etc/rc.d/rc7.d directory and adjust your system startups noted by the "S". that way you can stop the unwanted from happening.

hope this helps.

regards,
 aniston

brad wright

Re: ahhh...please help, e-smith shuts down on startup
« Reply #3 on: July 05, 2001, 11:09:57 AM »
thanks aniston,

you have saved the day....i have successfully got the server functioning again using your advice..... I am having the correct ups cable (as per previous postings in the discussions) made up over the weekend which should sort out all my ups probs.

Thank you very much for your invaluable help.

Brad