Ubuntu Servers :: Reboot Command Shutting Down PC
Jun 6, 2011I have problem with my reboot command.
sudo reboot and sudo halt -f now don't work (they don't reboot)
but sudo halt -p is shutting down my PC.
I have problem with my reboot command.
sudo reboot and sudo halt -f now don't work (they don't reboot)
but sudo halt -p is shutting down my PC.
I have an mysql innodb ~ 20gigs. Normally shutting down mysql (service mysql stop) takes a few seconds. When I reboot Ubuntu with the reboot or shutdown command it just reboots it super fast without mysql logging (/usr/sbin/mysqld: Shutdown complete) Also during this shutdown the following is failed: umount2: device or resource busy /data: device is busy.
mysql is setup to read from /data . Why is ubuntu not waiting for mysql to properly shutdown before unmounting the filesystem and rebooting?
I want my server to automatically shutdown at 23:59 and startup at 8:00. The startup is handled through by bios but the shutdown is to be managed through cron. I thought I had this working, I actually swear I had it working because I thought the uptime command showed the appropriate uptime. I happened to be up and was streaming a movie from my server when at the time it should've shutdown it actually just restarted. If I run the shutdown -h now command by itself it works well but the scheduled command just restarts the server. Here is the what is shown when I enter crontab -e.
View 9 Replies View RelatedI am accessing a linux server remotely from my putty. I started the server and now I want to close the command line. when I do cntr+c or cntr+z it kills my server aswell. how will I close my terminal without closing my server? I tried cntr +d but it is not doing anything
View 2 Replies View RelatedWhat is your preferred command for shutting down the system? Please explain your votes.
View 14 Replies View RelatedI have Ubuntu Server 10 installed on my Desktop and it seems to shut down every night, requiring me to turn it on each morning. Is there any log/place I can check to figure out what's causing the shutdown?
View 6 Replies View RelatedI'm working with Linux 2.6.23 on an embedded device and am receiving the following error executing the reboot command.
View 2 Replies View RelatedI am running named as a caching name server (package bind-9.7.3-1.fc14.x86_64 with config files exactly as supplied), and sometimes it does not shut down cleanly when I shut down the machine.The script /etc/ init.d/named tries to issue a "stop" command with rndc and that seems to fail most of the time; then it next uses the function killproc (defined in /etc/init.d/functions) which fails sometimes.I've hacked the named service script for now so that error messages are not hidden, but there is nothing reported.
View 2 Replies View RelatedI 10.04 32bit server edition on a box I had lying around, set it up for samba+upnp, and everything was going great.
When rebooting, the server now turns the monitor off, and I'm not sure if anything's loading. I see the initial dell splash screen, and hear the hard drive start to run, and then the monitor goes into standby.
Do active localhost server instances automatically gracefully shutdown upon system shut down?
View 1 Replies View RelatedI want to reset my password but when I reboot the grub command never comes up. Is there another way?
View 1 Replies View RelatedI would like to know if I can reboot my headless ubuntu machine from command line to a different OS on the same disk. To clarify, I want to do this without having to manually choose in GRUB.
OS1: Ubuntu on sda1- it is the default OS in an always on server.
OS2: Fedora on sda2 - have to login into this once in a while.
There are no monitors attached with the machine. So I cannot manually scroll through grub and choose Fedora. I want to know if there is a command I can issue remotely to the Ubuntu server to reboot to Fedora.
I'm trying to schedule a reboot ,using the 'at' command. Normally to reboot I have to be 'root'. I tried using sudo to start 'at',to no avail. How would I type the command ,using at, to reboot?
View 2 Replies View RelatedWhat is the exact way 'reboot -f' command operates? How does it differ from regular reboot/shutdown? Is it proper to restart pc using 'reboot -f', if not why? The reason why I'm asking this: After installing live-distros via USB, I usually do this 'reboot -f' for restarting.
View 1 Replies View RelatedIs there a way to execute some command and then after the command completes utomatically reboot the system and then after the system reboots execute another command ? For example look at the sequence shown below(1) Execute command-1(2) After the command-1 in (1) is completed,reboot the system (3) Execute command-2(4) After execution of command-2 reboot the sytemIs there a way i can automate this process so that i need not reboot the system manually
View 5 Replies View RelatedI was using Ubuntu 9.10 and was using fireftp ( firefox plugin ) to do some ftp operation. And then I noticed firfox is fozen so I reboot my pc by switching off the power ( restart doesn't work ). When I turn it back on again, no GUI anymore. I was taken to ttyl login commend.
View 3 Replies View RelatedI just finished installing Ubuntu Server Edition 10.10. After reboot it brings me to a shell prompt asking for username and then password. After putting it in I just get a blank shell prompt. How do I get into the GUI ?
View 6 Replies View RelatedI have set up a new IP specifically for SSH and configured SSHD_Config accordingly to listen on this new interface and a specific port. However when I reboot SSH is not starting. Looking in the syslog it shows that it is unable to start. It looks like its trying to listen on the interface before it is set up.
Code:
Nov 29 13:00:23 anubis init: ssh main process (601) terminated with status 255
Nov 29 13:00:23 anubis init: ssh main process ended, respawning
Nov 29 13:00:23 anubis init: ssh main process (610) terminated with status 255
Nov 29 13:00:23 anubis init: ssh main process ended, respawning
Nov 29 13:00:23 anubis init: ssh main process (618) terminated with status 255
Nov 29 13:00:23 anubis init: ssh respawning too fast, stopped
I am able to start SSH manually once the server is booted. Do I need to set up my interfaces differently to ensure they are available prior to SSH starting somehow? I don't want to change my ssh config to listen on all addresses.
I have an iSCSI target on my Ubuntu 10.04 LTS server that is giving me access to 3 x 2TB volumes. I am using LVM to create 1 big volume and using it as a place for my backup software to write to. Upon initial setup I tested to see if the connection would still be there after a reboot, and it was. After going through the trouble of configuring my backup software (ZManda) and doing a few very large backups I had to reboot my SAN (OpenFiler) for hardware reasons. I took my server down while performing the maintenance and brought it back up only after the SAN work was done. Now, the LVM volume is listed as "not found" when booting.
Using iscsiadm I can see the target but LVM doesn't know of any volumes that exist using those targets. I need to get it back up and running and then troubleshoot the reboot issue.
Is there a command i can enter into the terminal or over an SSH session to make an Ubuntu system reboot a few hours later? Sometimes I want to reboot my server and it should take place in the middle of the night when I'm asleep.
View 4 Replies View RelatedI'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.
View 4 Replies View RelatedI have a problem while rebooting my 9.10 server when I have SAN partition mounted. The message is something about the swap that can not be cleaned during the process. All works if I unmount the partitions before shutting down or rebooting.So I though to create a bash script that unmounts the parts during runlevel 0 and 6.I've created a simple script like this in /etc/init.d:
#!/bin/bash
umount /mnt/xxx
and the I've done:
[code]....
I am having problems with bond0 starting at boot on ubuntu server 9.10. After I do a restart I have to manually start the network with "ifup bond0". I have installed the built package (ifenslave-2.6_1.1.0-15ubuntu1_i386.deb (as indicated in Bug #482419)).
I have setup bonding for mode=6 with miimon=100 using eth0 and eth1 (both are Intel 10/100/1000 ports using an aic79xx network driver).
The contents of the aliases file are:
alias bond0 bonding
options bond-mode=6 miimon=100
The contents of the interfaces file are:
auto bond0
iface bond0 inet static
address 192.168.15.60
netmask 255.255.255.0
gateway 192.168.15.1
slaves eth0 eth1
bond-mode 6
The Machine
Core 2 Duo E4600
2GB DDR2 RAM (1 stick)
Intel ICH10R based motherboard (tried an ICH9R aswell)
4-port SATA controller (PCI Sil 3114)
O/S: Ubuntu Desktop x64 10.04 LTS (using 'desktop' because I like having a remote desktop)
The Storage Setup Disks: Assorted selection of 9 disk. 750GB, 1000GB and 1500GB Seagate and Western Digital disks. The disks are joined through a standard LVM2 configuration. I don't know the LVM term, but normally you'd call it a JBOD setup. On that LVM device, I've put a cryptsetup device, made with the LUKS tools (aes-xts-plain 256) On the cryptsetup device, I've created and mounted an EXT4 partition.
All in all, a completely standard LVM2 and LUKS setup, running EXT4. After a reboot, I proceed to unlock my cryptsetup encryption device, and then mount the EXT4 partition. All is well, the mount is accessible and everything looks fine. I then try to send a file to the mount, via Samba. After a few hundred MB written, the I/O wait goes berserk. It stays at 50% (dual core setup remember). The system becomes unresponsive to network commands (can't browse samba) for about 5-10 minutes. When it finally responds, the I/O wait is gone and everything is now fine. I can write and read hundreds of GB's of data without any issues at all. I can benchmark and stress all disks perfectly fine and no logs are showing disk errors.
I tried monitoring my disks with 'iostat -d 2' while the I/O wait was happening, and there is some slight Blk_read/s activity on 1 disk at a time. First for example /dev/sda is showing a little Blk_read/s acitivty, then it jumps to the next disk, and when every disk has show that slight Blk_read/s activity (500-800 or so) the problem is gone and the I/O wait is no more. I've tried changing motherboards, switching disks around on the controllers, checking individual disks, replacing disks and I've tried different versions of Ubuntu. The problem however persists. I could see it being a network issue, possibly a driver issue. But since the NIC is a standard RTL8111 on-board it seems unlike that the problem wouldn't be more widespread since this NIC is litterally being used everywhere. I did change my motherboard, so a faulty NIC seems unlikely twice in a row.
Where can I find the updates time line that requires Ubuntu server reboots for this year? Is there such a list ?
View 4 Replies View RelatedI have an Ubuntu 8.04 server running 2.6.24-23-server. I have a godaddy account and I am trying to upgrade my os version to 10.04, which requires a kernel upgrade. I have tried ksplice but kernel 2.6.24-23-server is not supported. I have heard about screen sessions but I have not found it possible to reboot one screen while having the other screen stay persistent if it is possible.So the main question is how to update Ubunut 8.04 to Ubuntu 10.04 with out rebooting the entire server? Rebooting is completely not an option at the moment.
View 1 Replies View RelatedI had a thread earlier asking for help installing Ubuntu Server to my homemade atom based NAS, but I gave up on that (GUI's are more helpful to me ) and so now I'm running Ubuntu 10.10 Desktop 64bit edition.Last night I was finally able to get mdadm set up. I have two 1TB disks set up in RAID1 config. I used
Code:
sudo mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdc1
to create the array, and then waited until it finished assembling. Then I used System>Administration>Disk
[code]....
In /etc/ldap.conf I'm using my own nss_initgroups_ignoreusers setting. However, on each system start, Ubuntu adds its default nss_initgroups_ignoreusers line additionally to my own, and I have no idea where that comes from (needless to say, it's annoying!). So when I edit /etc/ldap.conf as follows:
Code:
# [...]
nss_initgroups_ignoreusers avahi,avahi-autoipd,backup,bin,couchdb,daemon,games,gdm,gnats,haldaemon,hplip,irc,kernoops,libuuid,list,lp,mail,man,messagebus,news,ntp,proxy,pulse,root,rtkit,saned,speech-dispatcher,sshd,statd,sync,sys,syslog,usbmux,uucp,www-data,backup
After I restart the system (and that happens on *every* startup), I've suddenly got two lines:
Code:
# [...]
nss_initgroups_ignoreusers avahi,avahi-autoipd,backup,bin,couchdb,daemon,games,gdm,gnats,haldaemon,hplip,irc,kernoops,libuuid,list,lp,mail,man,messagebus,news,ntp,proxy,pulse,root,rtkit,saned,speech-dispatcher,sshd,statd,sync,sys,syslog,usbmux,uucp,www-data,backup
[code]....
How can I disable this 'feature'?
I'm running Ubuntu 10.04 LTS. Last night I was doing some admin on this box, it's running apache and ASSP for spam filtering. Once I finished I started some updates.I checked for updates and applied them, but fell asleep. This morning, my session had timed out at continue. I reconnected and saw a message stating a reboot was required.I've rebooted, my usual services are running, eg apache and ASSP. I can view pages on apache and the admin page for ASSP. I'm remote from the system, so connecting over the internet and when I try to connect, it fails.
Quite urgent, however at least my services are working. However I'm not happy that I can't access the system myself.I don't know if this is my own fault for leaving updates unattended or if an update caused the problem. Thanks.
Is there any web interface that I can install to remotely reboot ubuntu? It would only be accessible via a VPN or on the LAN so not too much worry over security.
View 3 Replies View Related