General :: How To Cancel Shutdown
Jan 12, 2011
I am having a situation, if some have to fire some command after firing shutdown or init 0.
is there any possibilities to cancel ?shutdown process if yes then how?
one more question: how a computer know that i have to shutdown if a user fire shutdown or init 0(just want to know the actual shutdown process what files the shutdown process calls and how it prevents a user to login (over the network)while shutting down.)
View 7 Replies
ADVERTISEMENT
Dec 16, 2008
I have lost my ability in KDE Menus to do a shutdown or restart. My only option is to logoff or cancel. This started occurring about 2 weeks ago, possibly 2 KDE workspace updates ago. I have been assuming it would get fixed with an update but so far it has not.
I am running Fedora 10 x86_64, kernel = 2.6.27.7-134.fc10.x86_64, and the KDE version is:
kde-filesystem.noarch 4-20.fc10 installed
kde-settings.noarch 4.1-4.20081031svn.fc10 installed
kde-settings-kdm.noarch 4.1-4.20081031svn.fc10 installed
code....
I have 3 different systems all running the same OS and KDE versions and it is happening on all 3 systems. All systems have the "Offer Shutdown Options" selected in Session Manager. I have even turned this option off, rebooted, and then back on to try to jumpstart it but that did not work.
Additionally, I have tried deleting the contents of the /tmp directory while in single-user mode and also the .kde under my home directory. This made no difference.
Another symptom I am noticing is that any desktop widgets that I create all get moved to the upper left-hand corner of the display whenever I reboot and log back in. Any extra shortcut widgets that I add to the panel are also gone the next time I log in.
Again, these same symptoms are occurring on 3 different machines.
These symptom do not occur after a fresh install of FC 10. It is breaking during one of the yum updates but I have not narrowed it down yet as to which update is causing this to happen.
View 3 Replies
View Related
Aug 22, 2011
When I compile a LaTeX document in the terminal like so:
latex document.tex
How do I then abort the process? Ctrl-C doesn't work.
View 2 Replies
View Related
Jul 1, 2010
I am using Ubuntu 9.10 and am bothered by the sometimes pretty long update progress. sometimes i wish to abort the update-manager, apt-get or synaptics because i need to go, but i think it might break anything. could you advice me how to do it safely, even if some cleaning up is required afterwards?I was just wondering because certainly there is a way to preserve the pre-update condition, e.g. when installing a new kernel. but my guess is, that the installation is postponed to restart then.
View 1 Replies
View Related
Dec 15, 2010
perhaps I've been typing for 20m and, in command mode, I accidentally press a key that undoes all of my work. What would be one of the more elementary undo commands
View 4 Replies
View Related
Mar 13, 2011
$ execute_some_long_command <command is executing> <Accidently press middle button that inserts bunch of garbage (including, for example, `rm -Rf ~/*`) into console>
How to let execute_some_long_command finish, but not execute inserted things?
View 1 Replies
View Related
Apr 22, 2010
I cannot locate shutdown log for Linux shutdown to check various activities carried out during shutdown. I can view Startup Log which is availble on console>Applications>System Tools>System Logs.
I have included Shutdown/Startup in dbora, so that Oracle 10gR2 Shutdown/Startup will be automated during OS Shutdown/Startup.
I want to check Shutdown log because Oracle Shutdown was not running, as from $ORACLE_HOME/shutdown.log contains no entries, where as startup log contains latest startup details.
That means here 2 issues are there. One, I want to locate OS Shutdown Log and the other being Why Oracle Shutdown not getting executed.
View 2 Replies
View Related
Dec 10, 2010
I have installed a cluster computer with 10 nodes . The manufacturer is HP . All nodes and the master node have redhat enterprise linux installed in them . When I shutdown the nodes from the master terminal using "shutdown -h now" they get shutdown . But they dont get completely turned off . This issue bothers me when the power supply is given , all nodes boot up simultaneously generating a huge heat .
Thing to note : When we shutdown our PC they get completely turned off . When the power supply is given , a press on the Power On button is required to boot the system. But , why does it not happpen in the case of cluster? Is there any other way of completely turning off the nodes from the master terminal ?
View 1 Replies
View Related
Jun 1, 2010
Now I'm using gdb to debug my program, I Know i can use "break #num" to set a breakpoint, but how can i cancel a brekpoint.
View 3 Replies
View Related
Mar 24, 2010
my Fedora 12 does fsck on boot time to time and sometimes it's really annoying having to wait for the check to complete. In Linux Mint pressing <Esc> cancelled the check; however in Fedora this does not work (nor does Ctrl+C nor anything other I've tried). What is the key to cancel the check in Fedora?
View 11 Replies
View Related
Mar 22, 2010
Right now I am trying to fix the problems on my server with daemons not starting.
So I have to try different solutions and reboot.
The problem is that after 28 reboots, fsck kicks in and decides to check 2 TB of data.
Is there a way to cancel this???
It takes forever, and by the time it will be done, I will have forgotten what I was testing.
The issue of daemons not starting becomes even more frustrating when fsck decides that I must take a half an hour break.
So again, how do I cancel the fsck on Ubuntu Server?
View 5 Replies
View Related
Apr 14, 2010
Linux/Ubuntu noob here so please be gentle So I own an Ubuntu server (7.10 - "gutsy") which was previously used for my small business. All setup and maintenance of this server was done by an admin who has since moved on and I can't get in touch with.As part of the setup, this admin has somehow setup the server such that whenever I plug in an external HDD (USB) it automatically runs a backup script which copies over a whole bunch of stuff to this drive.I want to cancel/delete this script as this is no longer necessary. Can anyone give me any pointers as to how I could track down where this script is and how to remove it?
View 2 Replies
View Related
Jan 8, 2011
I made a mistake on my home server. I installed the eXist xml db, and wrote a bash script so that it would start up when the machine boots up. But now, the server just hangs before the system asks for a user logon, so I can't ssh into the machine, and when I have the monitor and keyboard hooked up to it, it's not letting me logon or cancel the script. Anyway to kill the current running process and get to the logon, so I can delete that bash script?
View 1 Replies
View Related
Mar 25, 2009
I used my boot disk in rescue mode to solve this, but I would really like to know how to do this the easy way.
Question: when I am booting up and getting all those "OK" green remarks, how do I cancel a daemon that freezes instead of giving me an ok or failed? I have tried <Ctrl><C> with no joy. I have tried dropping to interactive mode ("I") and bypassing the bad daemon, but interactive mode freezes when I go to start GDM, so no joy there either.
View 15 Replies
View Related
Aug 28, 2010
I'm running openSUSE 11.3 with an Intel GM965 on-board video card. After upgrading xorg-x11-server to 7.5_1.9.0-62.2.x86_64 from Index of /repositories/X11:/XOrg/openSUSE_11.3/x86_64 after a suggestion to fix a different problem, I noticed that the screensaver seems to work fine as mentioned above. However, I've noticed now that when the screen starts to dim before applying the actual screensaver I apparently can't cancel the screensaver initiation until after the screen finishes dimming (that is, goes completely black) and the screensaver actually starts. No amount of mouse gestures, clicks or key strokes will cancel the screensaver once the screen starts to dim until the screensaver itself starts running.
View 6 Replies
View Related
May 11, 2010
my comp hangs when disk check reaches 91% and pressing C to cancel does nothing. from irc-#ubuntu i was given this "sudo tune2fs -c 0" to cancel all future disk checking but it did not work. my drive is 2 months old.
View 9 Replies
View Related
May 27, 2011
I am attempting to put a SystemRecoveryCD ISO onto a USB drive by using a shell script that is bundled with the ISO file (usb_inst.sh). When I run this script, I am presenting with a dialog box with a blue background (see attachment) with two options: <OK> and <Cancel>. I am able to switch between the options by using the arrow keys and Tab, but if I try to select an option by pressing Enter, O, or C, a new terminal line appears (as in the attachment), preventing me from selecting anything in the dialog. I feel like I'm not doing something extremely obvious;
View 3 Replies
View Related
May 5, 2010
How can I stop and cancel email which are sending? Is there any command? I'm using postfix.
View 2 Replies
View Related
Sep 30, 2010
In Fedora 13 64 bit, Ctrl+C does not terminate the running programing in terminal window but in Unbuntu this shortcut key works. If I hit Ctrl+Z, this makes the running program run in background which is something I definitely dont want. what is the shortcut for terminating a program in terminal window? What is the shortcut key for canceling the command I have typed but not run yet no matter where the cursor is in the command ? Ctrl+U works but only if cursor is at the last character of the command.
View 8 Replies
View Related
Aug 30, 2010
Sometimes I accidentally winkey + middleclick with compiz, which makes the desktop zoom into a small box. So far, every time it happens, I usually just log out, then log back in and it fixed it. Is there a more proper way to return the desktop back to it's normal unmagnified state?
View 2 Replies
View Related
Nov 9, 2010
In order to change the MAC address I do: ifconfig eth0 down hw ether ff:ff:ff:ff:ff:f0 When the ff:ff:ff:ff:ff:f0 is the new MAC address. Now how do I cancel that change and return it to the real MAC address of my NIC?
View 1 Replies
View Related
Dec 20, 2010
Recently did a fresh installation of Maverick 10.10.and have hopefully everything including the updates, etc.But...I have the following problems, Not been able to get the "auto-login" to work ...(systems/administration/login screen), and I've unable to switch off the "sleep mode", of which I tried to change in..systems/preferences/power management).
View 1 Replies
View Related
Oct 9, 2010
When I installed Debian stable on a headless machine of mine, I configured a partition with LUKS encryption (intended for swap), but told the installer not to use it. After installation, I configured that encrypted partition as swap and mounted it. I wanted my headless machine to boot all the way without manual intervention, so I can log in via ssh and mount my encrypted partitions.However, since the kernel was updated (and the initrd regenerated), the machine now waits during boot for me to enter the swap encryption password, but no others, only the swap.I have been unable to find in my searchings how the initrd is generated with that setting or how I can change it, preferably permanently so future regenerated initrd's don't try activating my encrypted swap on boot. Does anyone know how to configure a Debian style initrd generator to generate an initrd that will not try to activate swap?
View 9 Replies
View Related
Jan 25, 2011
Having a little issue with creating a login message banner in RHEL6 that uses two buttons. One for Accept which logs the user in. The second for Cancel which immediately logs the user out. I've modified the /etc/gdm/PostLogin/Default file to have the script, posted below, and it worked perfectly fine in RHEL5. But in 6, when you click Cancel, the user is still able to log in. It even states in the system logs that the user cancelled the login.As you can see, I have the script using the 9th field of the user's env to get the PID, and using the kill command to end the process, which should be logging the user out right away if they click the Cancel button. This works in 5 without issue (though I used -f5 in RHEL5, had to move it to -f9 for RHEL6).
View 4 Replies
View Related
Dec 14, 2010
Sometimes I want to keep something in PDF files, so I print to the PDF "printer". However, if I inadvertetnly forget to check the PDF creation and rather take the real printer (which is usually only powered up, when I really want to print something), printing goes to the real printers queue and nothing happens ... until, possibly some sessions later, I want to print something (on paper rather than PDF) and power up the printer.
Then all inadvertent garbage comes first and chances are big, that the printer gets junk during power up or reconnecting the cable to the computer and then the whole thing is wasting even more paper, since escape-sequences sent to the printer get chopped and misunderstood by the printer.
In order to stop this alltogether, I am looking for a mehtod, to automatically flush the whole printing queue every time when I log out of my ubuntu session.
I know, there is a command lpq to tell which print jobs are pending, I also know the command cancel -Umyname -a, but this requests for my password. I want to kill all those incomplete or pending print jobs automatically.
And how do I hook such a command script into the logoff or shutdown sequence?
View 1 Replies
View Related
Feb 5, 2011
Recently I installed vncserver (tigervnc) on my desktop. Ever since my computer refuses to shutdown normally. At shutdown the following message pops up: Quote: System policy prevents stopping the system when other users are logged in Then I have to enter the root password to shutdown. If I stop vncserver before, the computer shuts down normally.
[Code]....
View 2 Replies
View Related
Jun 30, 2010
when my pc boots and shuts down my monitor goes into 'input out of range' mode for a bit between the gui and the text only phases of boot/shutdown.is there a way to fix this? or where to start troubleshooting?also, when it shuts down it hangs after coming back to the text only part
View 4 Replies
View Related
Mar 25, 2010
I am installing SUSE 11.2, and went with the default options, now it reached the point of "Windows Domain Membership". At job I do not remember the right names, so I tried some but I get an error message which says "cannot use the group "WORKGROUP" for Linux authentication", etc.So I would like to avoid windows authentication, but at this point I do not see this option. I can only try domain names or abort the installation. What could I do here in order to finish the installation without windows memebership?
View 2 Replies
View Related
Mar 25, 2010
Further to this LQ thread which Tinkster solved by suggesting the last command (thanks Tinkster) I have been exploring last -x reboot and have found that the reported duration is incorrect for the last reboot and shutdown when a old wtmp file is used. Not having a record for the following shutdown, last assumes that the system has been up until the current time and similarly for the shutdown.
The output comes in time order, latest first, each line showing the time of the reboot and the uptime from then to shutdown. Using last -x reboot shutdown to show the shutdown time, here's an illustration
Code:
shutdown system down 2.6.29.6-smp Sun Mar 7 15:35 - 03:02 (11:27)
reboot system boot 2.6.29.6-smp Sun Mar 7 09:35 (05:59)
09:35 until 15:35 is 05:59.
When the uptime exceeds 24 hours it is shown as (<days>+<hours:minutes) like this
Code:
shutdown system down 2.6.29.6-smp Sun Feb 21 12:39 - 13:20 (00:40)
reboot system boot 2.6.29.6-smp Sat Feb 20 09:39 (1+02:59)
09:39 until 12:39 the next day is 1 day 02:59.
The time in parentheses at the end of the shutdown lines is normally the time until the next shutdown.
So far so good. The incorrect output is for the last reboot and shutdown of an old wtmp file. Here's the output of last /var/log/wtmp -x reboot shutdown; last -f /var/log/wtmp.1 -x reboot shutdown
Code:
[snip]
reboot system boot 2.6.29.6-smp Fri Mar 12 07:42 (01:54)
shutdown system down 2.6.29.6-smp Fri Mar 12 01:31 - 09:37 (08:05)
wtmp begins Thu Mar 11 08:25:26 2010
[snip]
reboot system boot 2.6.29.6-smp Wed Mar 10 14:12 (15+01:42)
shutdown system down 2.6.29.6-smp Wed Mar 10 12:41 - 15:54 (15+03:13)
[snip]
The boot started at "Wed Mar 10 14:12" which had an actual uptime of 1 day 11:20 is reported as 15 days 03:13 which is the time from then until the last -f /var/log/wtmp.1 -x reboot shutdown command was issued. The time from shutdown to shutdown is similarly affected.
View 1 Replies
View Related
Feb 3, 2011
I am trying to get bash script using zentity to exit if the user presses the cancel or close buttons.The exit codes are working fine; they read 1 or 0 depending on the status but it always assumes 0. This is the portion of the script: PHP Code:
function settings(){
result=$(zenity --height=30 --width=300 --list --checklist --title='Selection'--column=Boxes --column=Selections --column="Options"
[code]...
View 2 Replies
View Related