Debian :: System Rebooting On Shutdown -h Now Command
Aug 17, 2011
I am running Debian Squeeze on an Intel DH55TC motherboard. When I issue a shutdown command
shutdown -h now
The system goes shutting down. Eveything looks fine, and the main console shows all process being stopped. In the end it says "System will now halt". Then a few seconds later, it restarts. It is unclear what is causing this, because nothing is written to the screen. It just goes blank and starts rebooting. Looking afterwards in syslog doesn't show anything also.
I have Debian (Kernel 2.6.26-2-686) installed on two computers. On one of them it reboots quite finely but I am having following problem with rebooting Debian on my second computer.When i type reboot at the linux prompt, following messages appear and system hangs up after saying "Restarting System":
The difference that I noted between my two computers is that I don't have ACPI support in the BIOS of the system which is giving me this error whereas the BIOS of my first computer do have ACPI support on which Debain do not give this Restart hanging problem.I have also disabled running the acpid script by running Code: update-rc.d -f acpid remove.
I have Ubuntu 10.10 installed for some time now and I don't boot my Win7 machine in weeks!I love how solid, robust it is... and also how good it looks.Love the features like Ubuntu One (use it a lot!) and the Software Center. I'm 95% converted and I would be 100% if it weren't for 2 issues:
1 - The machine won't shutdown. Rebooting works fine but shutdown it just hangs... Kinda sucks having to press the Power Off button every time...
2 - I'm on a laptop but it doesn't recognize my battery. All I get is a "electric ray" on the panel. Even if I remove AC power it still does the same... No charging information, nothing... I tried
Code: sudo modprobe pmu_battery on the terminal but is says that the module could not be found.
Everything else works terrific (better than Windows!) with this two exceptions...
am starting to get this figured out. finally got the wifi working on a HP touchsmart tx2 laptop and once i give ubuntu a total system shutdown command this system restarts, is this normal or do i need to fix something?
I've added entries to my Openbox menu labeled Reboot and Shutdown. Problem is, reboot and shutdown h only work as root, and I never login as root. I've tried su-to-root -c reboot, but the menu entries remain unresponsive. I do not have sudo installed because I feel it is a security issue. However, I found that sudo reboot works with the menu entry, but only if my account is set to use sudo without a password in /etc/sudoers. I use tint2 as my panel, but have had no luck with finding a shutdown/reboot button.
I set the file as executable. sudo chmod +x /etc/init.d/myshutdown.sh
I inserted a symlink in the rc0.d directory with the process order K04. sudo ln -s /etc/init.d/myshutdown.sh /etc/rc0.d/K04myshutdown.sh
I also inserted a symlink in the rc6.d directory with the process order K04. sudo ln -s /etc/init.d/myshutdown.sh /etc/rc6.d/K04myshutdown.sh
Apparently rc0.d is for shutdown and rc6.d if for reboot
After reboot it appears that rtorrent does not run (I cannot connect to rtorrent via rutorrent) but really what is going on. I am trying to do this because rtorrent does a hash check on all files if it is not shutdown properly. I just want it to shutdown automatically and safely, before the system shuts down.
When I try to shut my PC down (press the shutdown button in KDE 4.3.4), the desktop quits, but the console screen does not appear (the CTRL+ALT+F1 screen). Well, technically speaking it appears but only a still (not blinking) cursor is shown, otherwise the whole screen is blank. This means that not only the X freezes but whole system, because the keyboard is unresponsive too. It happend multiple times now, and every time I reboot after such event, some kde rc files (amarokrc, kmailrc, etc...) get deleted due to the automated filesystem check (unclean umount), which means that I have to reconfigure these apps again.
My home partition is on a separate EXT2 partition (this way I have full r/w access from winxp) and every time this is the only one which gets corrupted. The system partition (which is EXT3) is always intact (no fsck starts on boot). I'm using Debian Squeeze by the way.
looking for a command that shutdown/reboot my ubuntu just same as process that happened when I press shutdown buttonIn fact I need to close all programs that are running and then PC shutdown (that happened when I press shutdown button).
I am using Debian sid 4.1.3-1 and when i shutdown the system it takes 3 - 5 minutes before actually shutdown, there is only a black screen until the hdd led start flashing and after that the system finally shutdown. The weird part is that sometimes it happen in less than 30 seconds , how can i figure out where the problem is ?
I saw 2 users asking the same question, but no one has answered that post...
I am posting this because it is also happening to me.
I've installed (through Wubi) Ubuntu 10.04, after rebooting, I've got this error, waiting a couple seconds, Ubuntu started normally. This message now repeats whenever I start Ubuntu.
Error: unknown command, keystatus
I always get this message when I boot to Ubuntu. How can I get rid of this message and fix this issue.
Can I add memory to the Linux box without rebooting the system? I think Linux check the hardware at booting time. But if I need to add more memory to the server while I do not want to stop the service. Is there some method to make Linux use the new added memories?
I have NFS fileserver that has served me well for more than year. But recently I noticed that it has started to reboot on its own very frequently, almost once a day! It is most likely not a power related issue as I tried changing UPS/power sources, but no help!So my question is:Is there any log file where I can check which is causing the reboot? There may not be a single logfile, but I need some point to start the investigation!
since upgrade to suse 11.3 every time I reboot pc the file /etc/hosts is reset to default value. I am a web developer so I need to put in there my aliases for 127.0.0.1. It is annoying to do it again and again. Luckily, I don't restart my system very often but still I would like to avoid that.What should I do to stop this resetting? Or is there another place in 11.3 where should I put my entries?
I have noticed that ubuntu 9.10 (but also other distro and in general those that configure the network automatically at startup) crashed if my pc boot directly with a linux kernel at power on.This does not happen if the first boot is done with windows xp and then rebooting the pc and choosing the same linux kernel.Some distro (for example SysrescueCD) that does not configure the network at startup can work but also with these if I try to configure the network using the command ifconfig eth0 the system crashes.My network card is a SiS191 Ethernet and linux recognized it using sis190 module.I suppose that something happen during the first power on, some inizialization done with windows xp but does not done with linux in fact after a reboot made from windows xp without shutdown the pc, with Linux I can configure the network using ifconfig without crash. Any ideas to solve this without have to boot always windows as first?
I'm trying to come up with a startup init script that will check to see if the system was shut down gracefully, or if it is rebooting from a poweroff or something similar?Anyone know of a way to check for this condition with the least amount of room for false positives or vice versa?My intial thought is just a startup script that will will check for a file on startup, and on a proper reboot/shutdown just touch the file. But id like to avoid that type of script if possible,
I have installled ubuntu 9.04 and windows XP. After rebooting the system the desktop background image which i saved earlier is not showing up in Ubuntu.
I have a question regarding the /proc/interrupts file. Let's say for example I had a server with 2xQuad-Core processors (so we have CPU0 to CPU7 ), and with 5 network interfaces. SMP affinity to all 5 interfaces was set to "ff", so all interfaces have done interrupts on all the processors. he network interfaces interrupts counters should look like this:
Now let's say I've set the affinity to each of the network interfaces, so that it balances one per processor, so we have 5 processors working only for the network interfaces each processor with it's own eth. Now let's assume that the network interfaces generate very few interrupts, and that they show up every 5-6 seconds, so watching cat /proc/interrupts doesn't exactly underline the modifications unless you look with a ruler. Is there a way to reset the counters on /proc/interrupts so that they all start at 0, without rebooting the system?
I have been trying to install a command line Debian Squeeze system on n Eee PC 701., but have run into a number of problems:
1) All install info I can find assumes that the person wants to install a GUI system of some sort. 2) The Eee PC has a unique 2 MB. partition that needs to be preserved, so no guided install. 3) The Eee PC has an SSD instead of an HD. Most postings I have seen recommend an install without a swap partition, but the install (both live and text) seems to choke and despite a fresh formatting of the existing partition, claims to be overwriting existing files. 4) I can understand from the wiki that the Eee PC wireless driver (Atheros) should be included in Squeeze, but when the wireless connection and password is added, the installer claims that the password is not correct, despite me having checked it a number of times.
I hope someone can help me out. I just want to use the Eee PC for low resource stuff done on the cli like using a text based web browser to access the net through a wireless router and to hook it up to an external USB HD and to my stereo, to play my music collection.
How to update newly created partion in RHEL6 without rebooting the system?partprobe /dev/sdaN...does not work here in RHEL6, however it did work in RHEL 5.
I'm using Gnome and I'd like to still have the ability to reboot/shutdown from one particular account as well as root. How would I modify the chmod command to add this ability?Also, I have a few users who just will hold the power button in to shutdown the machine. How can I keep them from doing this?// Pruned from the vintage 2007 Prevent a non-root user from shutting down, rebooting or suspend the system thread. Please create new threads instead of resurrecting ancient ones.
I have a DELL Vostro 1500 and I have Debian Lenny running on it. I did get the wireless card BCM4312 working but after doing apt-get update followed by apt-get upgrade and after rebooting it stopped working. I am including the output from iwconfig, ifconfig and lsmod. raygo75@RayGo-d3:~$ sudo ifconfig eth1
[sudo] password for raygo75: eth1 Link encap:Ethernet HWaddr 00:16:44:9b:e9:cc inet6 addr: fe80::216:44ff:fe9b:e9cc/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:17 Base address:0xc000
I think I will mentions that I got the wireless card working after following the instructions at [URL]
I have a rented vserver running at Strato [URL]. It came preinstalled with Debian 7. I upgraded it to Debian 8, what seemed to run fine, all services running. The problems came up when I tried to reboot the server to test the init system. It just does not come up, I cannot ping it, nothing. I can boot into the rescue system, mount the system partitions and chroot in to the filesystem. In this state I also can run my services, including apache2 and mysql. In the syslog I find nothing about the reboot. Now I need to reboot ino the normal system. I already tried to resume to sysvinit without success.
I recently pulled out my old computer and decided I would install linux on it so I could get online. The specs aren't the greatest (Pentium II processor, 94 MB RAM, and an 8 GB HDD). I chose AntiX 8.0 as my OS. Anyways, I got through the installation just fine, but when it said "Try rebooting your computer without the CD"...So I did, and what happened? I got that error. I've tried rebooting with different Live CDs to no avail. Is there anything I can do to get back up and running?
I created a new partition in Windows Vista which, after rebooting, screwed up Grub. I believe that I need to reinstall Grub and everything should be fine, and I remember reading the command to do this on this forum, but I can't find it. When I boot, I now get a black screen with white letters instead of the Grub boot menu. It says something about "Minimal Grub" at the top and gives me a prompt that looks like this.
grub>
I can boot the live CD and I have internet access with it, but I can not remember the terminal command to repair Grub. Can someone tell me this command?
i have a debian 5 vps system.. it reports the time as beeing one hour behind, i have tried to change this by setting the time to GMT+1 and setting the time to my local region (Europe-Brittian) using the tzselect command but none get the time to the correct time, one hour ahead of the current time.