General :: Correct Way To Shutdown System While Apt-get Still Running
Sep 9, 2011What's the correct way to shutdown system while apt-get is still running? apt-get complains about unclean shutdown when I just shutdown computer.
View 2 RepliesWhat's the correct way to shutdown system while apt-get is still running? apt-get complains about unclean shutdown when I just shutdown computer.
View 2 RepliesI want to shutdown my computer as if power was cut off (don't ask me why). How do I do this under Linux?
View 6 Replies View RelatedI cant shutdown without running sudo shutdown. When I try to use the default gnome shut down it takes me back to the logon screen. Fresh install today and I've had the same problem on other installs.
View 9 Replies View RelatedSimple question: what parameters can be used to shutdown a computer running Linux/OSX in 30 seconds? I've always run Windows, where I would go shutdown -s -t 30 but the parameters are different. I've looked it up here but it will only let you shut a computer down at a specific time (like 8:00) rather than in a specific amount of seconds.
View 4 Replies View RelatedI ssh into a ubuntu box with username "ubuntu" and I can become root without entering a password via "sudo su". How can I scp files onto this box using the ubuntu@ username? It does not allow me to do so using root@. The error is:scp: /etc/: Permission denied.
View 2 Replies View RelatedI've used the following script here: [URL] to upgrade Alsa to 1.0.21 in Ubuntu 8.04. Now whenever I run:
Code:
sudo shutdown -h <time> or sudo reboot from the terminal I get a rather annoying beep sound. What's even more annoying is if I use the shutdown command to specify a time I get a beep every 10 minutes or so.
I've tried disabling the terminal beep in the terminal profile, disabling the beep in System/Preferences/Sound, adding "blacklist pcspkr" to /etc/modprobe.d/blacklist, and running gconf-editor from the terminal and setting /desktop/gnome/peripherals/keyboard/bell_mode to 'off' rather than 'on'.
From Ubuntu 11.04 installer. What does this mean? how do I do it correctly?
View 11 Replies View RelatedI tried the above command on my pc. It broadcasts the message passed , but I noticed one thing that during this time( 2min) normal users are not allowed to login onto the terminal.
View 2 Replies View RelatedI'm trying to reboot the server (shutdown -r now).But it seems like nothing happened.
When I try "shutdown -c", the system prompts "shutdown: cannot find pid of running shutdown."
after installing linux mint 7, I have been getting one beep on shutdown, a google search on this came back as a ram problem...but then i ran across a bunch of posts on ubuntu forums about one beep on shutdown, with an older version of ubuntu, grep does return some paramter errors, but in the mint bug report page those are listed as : benign ignore. it doen't bother me in the least, as long as it isn't a warning of impending hardware failure.
View 5 Replies View RelatedI'm running Ubuntu 10.04, and I like to logout or shutdown or restart my system with system->shutdown just as in Fedora, but it's not there. How can I add this, the only way that I have been using is through the terminal or Crtl-Alt-D, which doesn't has Logout option but Hibernate.
View 2 Replies View RelatedI need create user .when user login --> system go to shutdown .I create this script :
Code:
### Shutdown Script ###
#!/bin/bash
[code]...
I have double boot windows xp and linux mint 10 on a dell desktop. from the start, linux mint would not completely shutdown. the windows xp shuts down completely. i have tried the commands sudo poweroff, sudo telinit 0 and sudo shut down -h now. not one works. i also have updated to the dvd version and is updated on everything else.
i do not know how to go to bios or perform any programming tasks. may i then request that instructions, if any, be detailed?
Just installed Ubuntu 9.04 last night. All seems perfect except on shutddown. It seems to go through all shutdown processes but right about the time you expect the computer to turn off a message says: "system halted [4027.514883]" Have Googled it but no matches. If I just push the on/off button at that point it shuts off immediately
View 4 Replies View RelatedI usually download files from internet throughout the night. I can shut down computer automatically using commandshutdown -P timeThis works well ,but very often ,electric supplies cutoffs and system get rebooted and remain booted uselessly.In such case i want to use c program to shut down system after particular time which i will add on startup application list.If i added it on startup application every time i boot the computer it will automatically shutdown after particular time so ,to use the system i should be able to disable that program.
View 1 Replies View RelatedAfter NFS mounting some system folders (i.e. lib, usr) of a slave cluster node to /lib & /usr located on the master cluster server I got into some problems: I forgot Ubuntu 10.04 was installed on this particular slave node, while the master node runs 9.10. Now, I am not able to unmount these folders using umount, or restart the system using shutdown, I get some error: " /lib/libblkid.so.1: version `BLKID_2.17' not found". Is there an alternative way to unmount these NFS shares, or to restart the system to undo the mounts? The systems are located elsewhere, so just physically restarting the system would not be the preferred option.
View 2 Replies View RelatedI'm using Fedora 15. For some reason, my computer is booting up graphically. I do not have video drivers for a graphical setup apparently now that Gnome is getting more advanced, so I really need to restore to a CLI. I see /etc/inittab is now deprecated thanks to systemd. The instructions say the following:
Code:
# Ctrl-Alt-Delete is handled by /etc/systemd/system/ctrl-alt-del.target
# systemd uses 'targets' instead of runlevels. By default, there are two main targets:
# multi-user.target: analogous to runlevel 3
# graphical.target: analogous to runlevel 5
To set a default target, run:
# ln -s /lib/systemd/system/<target name>.target /etc/systemd/system/default.target
And that's exactly what I have set up!
Code:
[root@server system]# pwd
/etc/systemd/system
[root@server system]# ls -la
total 20
lrwxrwxrwx 1 root root 37
May 31 10:41 default.target -> /lib/systemd/system/multi-user.target
Why is this machine starting up graphically? I even removed the symlink and recreated it... but that obviously isn't the issue here.
I have just installed Ubuntu 9.10 netbook remix for my new laptop. I've tried at great length to install the correct drivers to get my wireless up and running. I'm currently trying to install the Broadcom driver for my 802.11g wireless card. I have downloaded the headers and tools for ubuntu and am proceeding with the instructions given on [URL].
But when I get to these steps I come unstuck
# mkdir hybrid_wl
# cd hybrid_wl
# tar xzf <path>/hybrid-portsrc.tar
I can make the directory and open it but when it comes to the third step I get a message saying that there is no such file or directory.
how to access a FTP server with php. I've written a script from a tutorial but I'm getting errors with the ftp_get function.
PHP Code:
[code].....
Warning: ftp_get() [function.ftp-get]: Error opening /var/www/download.txt/ in /var/www/gwr/connect.php on line 11
I'm having trouble with the ftp_get function and I believe the problem is with the local server path. In this case var/www/download.txt I've also used a folder in that directory called download in the place of the .txt file and it gives the same errors. Is var/www/ the correct path to tell php where to download the files to? I've experimented with the files permission and nothing has worked. I'm running a standard ubuntu desktop install, Karmic Koala.
I need to check and see that dbus, udisks and gvfs are running correctly, how can I check them?
I'm running only LXDE on a custom install of Lucid I did and I can't get my usb hard drive to automount properly and I was told by an LXDE developer that I need to check and make sure these three are running ok.
I have now installed a radeon 9250l display board. I followed the Ubuntu Radeon documentation page. It tells me that 3d is supported. I am not sure that 3d is correct or running. I am running without a xorg.conf file and my current resolution os 1024x768 (which is fine). I get no errors on boot but want to make sure its correct. I also did:
[code]...
Since the documentation seems to apply to the previous version (mine is 10.04) that may be a problem.
i want to run a script when computer shutdown to close my teamspeak2 serveri know how to start it automatically http://www.fedorafaq.org/basics/#startonbooti found a good start stop script for ts2Quote:
#! /bin/bash
# Copyright (c) 2004 TeamSpeak team All rights reserved.
#
[code]...
I just dloaded ubuntu 10.04 iso, i used firefox and on the way i had to pause n start for about 5 times, when i burned the iso with brasero and booted from it I got an error, but recently I have burned discs with my burner and they never work. So how do i check if the iso is correct or not
View 9 Replies View RelatedI have a small but annoying problem... I have two scripts that I want to run automatically one at boot and one at shutdown. For the one at boot I tried to put it in rc.local or to create a file in /etc/init.d/ based on the others files in the folder but nothing worked... I need it to run system-wide and not once a specific user is logged in.
For the script at shutdown I don't know how to do it but it can be user specific or system-wide I don't really care. I am running Ubuntu 10.10 64bits with kernel 2.6.35-24-generic
PS. I should add that when executed manually both scripts works perfectly well and I don't need those script to run continuously in the background, just run and quit.
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.
I'm use ubuntu 8.10 ( on a msi 645 notebook ) and i'm trying to shutdown from grub. I have add these entries to menu.lst after the ### END AUTOMAGIC KERNEL LIST
title Halt
halt
I only get a black screen but the pc is still running someone said it only put grub to sleep or something. I also tried this commands sudo shutdown -h now or init 0, poweroff... but there all "unrecognized commands" in grub... Is there a possibilty to shutdown from grub.
I'm thinking about cloning a system without having physical access to its HDD. Is it possible to simply copy the contents of the filesystem (using ssh/scp) to a freshly formatted HDD (maintaining the source fs-type and -geometry)?
View 14 Replies View RelatedHow I setup my NetworkManager to use the correct host name on my system, if that is possible. NetworkManager ignores the specified hostname and uses 'localhost', which is a bit annoying.
View 9 Replies View RelatedI manage to ssh in server ok but when it opens i,m in file system is this correct seems abit vunrable? I would of expected to go to specific folder i.e a shared folder, if this is how it is then so be it
View 6 Replies View RelatedI have adjust the clock to my country current time but after a reboot,all the setting is gone. How to permanently setting the correct time?I have select my country region.
View 2 Replies View Related