Shutdown Problem
Hi,
Actually I am facing problem during the shut down phase. when I give the command shutdown -f now it gives the following output INIT:Switching to runlevel: INIT:Sending process the Term signal INIT:Sending process the Kill signal INIT: no more process left in this runlevel I googled this problem and according to search result I modified menulist and added acpi=force apm =on and acpi=off apm=on and pci=noacpi nothing happened Then I modified modprobe.conf(modules) and added line apm power_off=1. nothing happened. Then I modified /etc/kde/kdm/kdmrc and added in X:-*Core TerminateServer=true in kdrmc. Then also nothing Happened. Kindly help me |
Quote:
I note that you are using '-f'. 'man shutdown', on this box gives no sign of a '-f' switch (I think one of -r -h -H and -P are more likely to be what you want, but I'm guessing). Perhaps you want to say more about what distro you have and why you think that -f is what you want and what you wanted to happen (halt, re-boot, power off, send messsage without shutdown). |
Quote:
I want to shutdown the linux withour halting. it halts , I mean cursor goes on blinking until and unless i switched it off from cpu Usage: shutdown [-akrhfnc] [-t secs] time [warning message] -a: use /etc/shutdown.allow -k: don't really shutdown, only warn. -r: reboot after shutdown. -h: halt after shutdown. --------------> -f: do a 'fast' reboot (skip fsck). -F: Force fsck on reboot. -n: do not go through "init" but go down real fast. -c: cancel a running shutdown. -t secs: delay between warning and kill signal. ** the "time" argument is mandatory! (try "now") ** Kindly help me out. |
You still will not say which distro you have; based on an observation of two boxes (SuSE and Ubuntu), Ubuntu does not have the -f switch and on SuSE it does not work, or at least not how you you would expect, although it may also depend on version.
On SuSE, with kde, giving the command in a konsole virtual terminal shuts down the GUI and lands you at the command line. This seems unlikely to be what you want (although you haven't said what you actually want). The more conventional use of the shutdown command ('-h now', for example) on SuSE does actually shutdown the box, even when given from within the GUI, which seems more likely to be what you want; this behaviour is more likely to be consistent across distros. Note that even if the -f switch did do what you want, whatever that is, it could be slightly dangerous. There is a reason for doing an fsck occasionally on, e.g., ext2 partitions, and consistent use of -f would get around that. |
Quote:
I am sorry for that I am using RedHat now plz tell me and -f option is there in redhat and plz do reply asap. Its very urgent. Thanks a lot |
Quote:
I installed redhat using USB bootable. I am able to do everything its just that it does shutdown properly and hangs with commands I posted earlier. I hope my problem will be more clear now. |
I think if you want to shutdown the system without halting (just power down), you use
shutdown -P or poweroff |
Quote:
Since I am using red hat as my distro so there is no option of -P the option that it provides are been displayed in my previous reply. |
All times are GMT -5. The time now is 06:37 AM. |