General :: Shutdown Works And Init 0 Doesn't So How Are They Different
Jul 7, 2011
When I bring down a certain machine with some nfs mounts using init 0, it hangs forever while trying to bring down the mounts, but if I bring it down using halt -p (which I've read just calls shutdown if I'm in init 3), it comes down in a timely manner. I've also read that shutdown still calls all the rc.d kill scripts just like init 0, so what is actually the difference between them? Is it this:
Quote:
All processes are first notified that the system is going down by the signal SIGTERM?Does init not do that? I'm not trying to directly troubleshoot why NFS makes me hang with init 0 at this point, just wondering why shutdown works whereas init 0 doesn't.
View 4 Replies
ADVERTISEMENT
Sep 30, 2010
I 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 Related
Mar 28, 2010
see if there are differences between init 0 and shutdown -h now?
View 3 Replies
View Related
Feb 15, 2010
Im having a bit of a problem with a init script which I wrote to start and stop oracle listener and database. My system is Redhat 5.4 64bit and oracle 10g2 standard database (64). I have created the script and added the script using
chkconfig add orashut, and on the script by chkconfig level 345 orashut on Now I can use service orashut start, stop, restart, and works fine and when the system comes up the database and the listener would come up as planed. But the problem is when I do a reboot or shut down the db or the listener would not shutdown as expected, I placed at K00 values as well in rc0.d and rc6.d to give the priority at the shutdown. Even though all the configurations say this script should run before everything else at the shutdown time this is not working.
View 6 Replies
View Related
Feb 25, 2010
I have a service that when shutdown requires a username and password. I use `read` in my script to gather this info because I can't have it in the file. When I run the init script by hand it will ask for the username and password and everything shutsdown properly. When I run reboot or halt I get no prompt. get user input in a shutdown process?
View 2 Replies
View Related
May 29, 2009
I have an init.d script (dahdi-redfone) that works perfectly if you call "service dahdi-redfone stop" but for some reason when I reboot or shutdown it never gets called.Below in the listing of my rc6.d directory
# ls /etc/rc.d/rc6.d
K01dnsmasq K05anacron K20nfs K65dahdi-redfone K85messagebus K88auditd K90bluetooth K99readahead_early
[code]....
View 8 Replies
View Related
Nov 2, 2010
I'm getting some trouble with Wake on Lan. The main question is: when I shutdown a PC through Windows, the WOL works well, but it doesn't happen when I shutdwon the same PC through Linux. It happens in all of my PCs here in the company.
View 8 Replies
View Related
Jul 6, 2010
I shutdown around 4 - 5 hours ago which would be around 14:00 to 15:00 time range. But as you can see there's no entry for it. Why? and how can i find when i last shutdown?
Code:
last
lyle pts/1 :0.0 Tue Jul 6 19:18 still logged in
lyle :0 Tue Jul 6 19:15 still logged in
lyle tty7 :0 Tue Jul 6 19:15 still logged in
[Code]....
View 1 Replies
View Related
Dec 1, 2010
i have installed ubuntu ultimate edition 10.04 in my toshiba c650 recently,however it is taking too long before it startup. 2 when i log off the cursor still remain untill all power have been discharged. what could be the problem
View 5 Replies
View Related
Mar 12, 2010
I can connect to vncserver just fine, but if i fire up x0vncserver for some sharing, the viewer will not connect:
[me@mycomp .vnc]$ x0vncserver
Fri Mar 12 13:36:45 2010
main: XTest extension present - version 2.2
main: Listening on port 5900
[code]....
View 2 Replies
View Related
Apr 7, 2011
i have dell latitude(E5510)and the webcam dont works, i have installed open SuSE 11.3. .
how to use or is there any drivers to be installed?
View 1 Replies
View Related
Sep 28, 2010
I have installed RHEL4 on my desktop machine . Done all the setting in /etc/pam.d and finally my rsh and rlogin works from my machine(rsh the same machine)
[root@linux tmp]# rsh 10.121.113.92
Last login: Tue Sep 28 18:00:22 from BLE
You have new mail.
[root@linux ~]#
[Code]....
View 7 Replies
View Related
Dec 15, 2010
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...
View 9 Replies
View Related
Sep 13, 2010
When I shutdown computer and start it up, eth0 doesn't seem to show up (though lspci sees ethernet card and modules are loaded). When i reboot (which is exactly the same, in my opinion), it works good. I'm using Sabayon GNU/Linux, Gnome Network Manager applet.
>uname -srm
Linux 2.6.34-sabayon x86_64
>sudo lspci | grep Ethernet
00:19.0 Ethernet controller: Intel Corporation 82578DC Gigabit Network Connection (rev 05)
View 2 Replies
View Related
Apr 15, 2009
su to root,
init 3
no errors, no nothing acts like it take the command, but nothing happens.
trying to install nvidia drivers which won't run unless all the xwindows are shut down.
View 4 Replies
View Related
Apr 19, 2011
Im am building a Linux distro. It will be very tiny and fast.
I only have a minimal linuxkernel (bzImage) who is 1,2 mb big. And then I have Busybox who is 174,6 kb big.
The commands in busybox is: cd, ls, mkdir, rmdir, wget, httpd, clear, rm, poweroff, halt, reboot, fdisk, mount, umount, free, and cp.
When I compiled the kernel i use initramfs/initrd function and point it to a folder where initrd/initramfs source is.
The kernel works OK with others initramfs/initrd files. But not with my own.
Quote:
Here is how the end of the kernelcomplie look like.
Quote:
Here is my init file who is the initrd/initramfs source.
Quote:
The initramfs folder contains "bin" (folder) and "init" a file. No more.
The problem is that the kernel cannot find/read init file.
View 4 Replies
View Related
Mar 4, 2010
Having trouble booting into Kubuntu originally installed with Wubi.The system returns this error:
Code:
mount: mounting /dev/loop0 on /root failed: Device or resource busy
mount: mounting /sys on /root/sys failed: No such file or directory
[code]....
View 1 Replies
View Related
Oct 11, 2010
I've recently installed 10.10 onto my laptop, a Toshiba Equium A-100. It's been working perfectly for the last few weeks, but today I woke up, booted and got this;
Code:
mount: mounting dev/disk/by-uuid/9f8e1fd1-ca75-4eeb-8afc-a6b7bd756180 on /root
failed: Invalid argument
mount: mounting /dev on /root/dev failed: No such file or directory
[code]....
I'm a bit of a linux newbie, and while I can use the system fine, once we get into a shell I'm out of my depth. My laptop is useless now, and, unluckily, my 2000 word end-of-semester submission is on it. No, I didn't back it up because I wrote it last night. Arrgh.
View 6 Replies
View Related
Nov 15, 2010
I hope that you will be able to help me. I know that my topic may seem the same as some other threads, but there is a twist and it seems that I can't sort things out. I installed Ubuntu on the family's 4 year old Dell about a year ago when Windows stopped working (too many bluescreens!). It seed to be good, until one day when I tried to boot and it listed some codes on a black screen. I then reinstalled ubuntu from one of my disks, and it worked fine... until the entire thing occurred again a week later. This happened once or twice more, until today's problem:
It won't boot into ubuntu and also has white writing on the black background (read this below). I tried to reinstall from a ubuntu install disk, burned additional install disks, made an install usb, and also tried opensuse. They all say the below message when I try to boot into the disk:
Killed
mount: mounting on /dev on root/dev failed: No such file or directory
mount: mounting on /sys on root/sys failed: No such file or directory
mount: mounting on /proc on root/proc failed: No such file or directory
Target filesystem doesn't have /sbin/init.
[Code]...
View 3 Replies
View Related
Aug 19, 2010
What a nuisance after upgrading from Fedora 12 to Fedora 13 the terminal initialisation and the running of agetty agetty doesn't work any more. Same for printer configurations. Apparently this should now be done in /etc/sysconfig/init but where is the documentation? how to use the new /etc/sysconfig/init to do what the event.d scripts used to do.
View 2 Replies
View Related
Mar 22, 2010
My UBUNTU 8.04 server does not boot anymore : here is the error message :Quote:Target filesystem doesn't have /sbin/initPrevious messages on the boot were :Quote:
kinit: name_to_dev_t(/dev/disk/by-uuid/0a301...a8 = md1(9.1)
kinit: trying to resume from /dev/disk/by-uuid/0a301...a8
kinit : No resume image, doing normal boot...
[code]....
View 6 Replies
View Related
May 26, 2010
I have a Lenovo X60 with Intel Centrino Duo Core @ 1.83GHz 1.83GHz, and 0.99 GB of RAM. I am running a dual boot with Windows XP SP3 and the latest version of Ubuntu desktop. My problem is that after I ran the Defrag my C: drive in Windows, I can into my ubuntu.I was greeted with the following error message when i tried to boot into ubuntu {Target file system doesn't have /sbin/init}
View 2 Replies
View Related
Apr 6, 2011
Click here for solution... http://ubuntuforums.org/showpost.php...99&postcount=3So I just realized how stupid I was being trying to run these commands for a NTFS partition... so I searched and used Gparted to check sda2, and also ran
Code:
root@ubuntu:/home/ubuntu# sudo ntfsfix /dev/sda2
Mounting volume... OK
[code]....
View 2 Replies
View Related
Jun 22, 2011
I can't get Ubuntu to boot. The computer isn't actually mine so I don't know exactly what happened, but I think an update went badly wrong...
Anyway, whenever I try and boot Ubuntu, i get this
Code:
Killed
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't have /sbin/init
No init found. Try passing init= bootarg
(and then something about initramfs) I've been trying to find out what the error is on the forums, and I think it could be to do with grub not being able to find something, but I really don't know because I don't understand exactly what's going on.
I can load the grub menu, but I can't boot Ubuntu from there. Also, I can't run or install Ubuntu on a live usb because it just hangs at the Ubuntu loading screen.
View 6 Replies
View Related
Sep 1, 2011
Ubuntu has officially jumped the shark. I did an update...restarted and got this:
Quote:
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't have requested /sbin/init.
No init found. Try passing init=bootarg
[Code]....
View 9 Replies
View Related
Aug 28, 2009
Is there something that blocks cron from running a shutdown command? I'm doing a daily bounce to break an attack (I have thread about that in security forum), but I always end up doing it manually. The cron log shows it being fired off at the right time...but the server never bounces. I thought maybe I just missed it, but there is nothing in messages that shows the server restarting (unlike when i do it manually, you see the start-up logging).
View 2 Replies
View Related
Apr 9, 2010
I was trying to edit a file requiring root permissions, so I used sudo. I typed the root password and it failed. This happened three times, and the process was ended. I then logged in as root (su) and was able to navigate to the file and make changes as root. Am I missing something? How would I edit the sudoers file such that this password would work? Or is there another way to log in to the sudo group to make these changes? How do I set sudo passwords?
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
Feb 19, 2010
I'm in 9.10, I had KDE 4.3 now with SC 4.4, and it doesn't reboot or shut down from any graphical way I can access. Power management works otherwise, and I can shut down from the command line.
View 6 Replies
View Related
Feb 23, 2010
I have a server Hp proliant DL160 G6 with CentOS 5.4 . When I do shutdown -h now it doesn't poweroff.
I try differents options for acpi in menu.lst file. acpi=force, acpi=noacpi,acpi=off,acpi=ht but there's the same problem.
This the stdout when I do shutdown:
Halting system...
md: stopping all md devices.
Completed flushing cache on controller 0
ACPI: PCI interrupt for device 0000:05:00.1 disabled
xenbr0: port 2(peth0) entering disabled state
ACPI: PCI interrupt for device 0000:05:00.1 disabled
Power down.
acpi_power_off called
I show you any specific information about my server:
Reboot works fine
View 3 Replies
View Related