Fedora :: Difference Between Init And Telinit
Aug 11, 2010difference between init and telinit?
View 2 Repliesdifference between init and telinit?
View 2 RepliesI just installed my machine with ubuntu 9.04. When I run "init 3" or "telinit 3", nothing happens. I need to exit the X server to install a video driver.
View 3 Replies View RelatedI just upgraded Fedora 10 to Fedora 11. When I rebooted I just had a flashing cursor. So I typed Ctrl-Alt-F2 to open a console window on booting. That worked fine. I was going to edit xorg.conf because I suspected the problem was related to haveing installed the latest Linux NVIDIA drivers (and custom kernal) in Fedora 10 before upgrading to Fedora 11. But, I decided to edit the run level in /etc/inittab first. Unfortunately, I fat fingered run level 3 to runlevel 333. No when booting I get hung up with the error "telinit: illegal run level 333". When I try to use Ctrl-Alt-F2 to open a console window on booting now it doesn't work. How to get into a console window with this error?
View 1 Replies View RelatedWhen I run the command startx it launches me immediately into Gnome without having to login and if I attempt to go back to the command line interface by typing in the comamnd init 3 in the x-terminal it does nothing. If I attempt to hit CTRL-ALT-Backspace it does nothing however if I were to run init 5 it launches me into the Gnome Display Manager and expects me to login and if I run init 3 in the x-terminal it shutdowns the x-server and returns me to the command line interface.
View 3 Replies View Relatedsee if there are differences between init 0 and shutdown -h now?
View 3 Replies View RelatedI have a project in which many processes run. p1,p2,p3.
->There are some .so files are included in some process when needed example ppp.so in process p1 (when ppp is needed and will go like a plugin) but it has a init () function how a process includes a init() function ?
->process p1 has main function i.e main()
->so evry process has main() right ?
what is the difference between init () and main () functoins. where is init () used and how many init() a process van have ?
I have no display after attempting nvidia driver install and doing telinit 3
On hitting F2 I get these errors -
Code:
Is there anyway to boot in safe mode. I boot Fedora with GRUB2 and there isnt any failsafe entry for it. I have blacklisted nv driver already.
Is there any difference in cpu usage for process in init.rc(runs automatic when boot is happened) and manually running process. Will these both have same priority by default...?
View 1 Replies View RelatedI have a question regarding runlevels, shutdown procedure and KDM. I am on a freshly installed Slackware64 13.37 multilib system. The default runlevel in /etc/inittab is set to 3: multiuser w/o X.
Now, I log in as root and issue the command:
Code:
As expected, KDM starts up, and I log in to KDE (or another WM/DE) as a normal users. When I am finished, I either issues
Code:
In Konsole or click on Shutdown in the KDE menu. The shutdown process is initiated, as expected, but then it stops, and a window alerts me, that there is a session open by user 'root'. If I click OK, the machine is finally shut down.
Now, if I interpret this correctly, the behaviour of Slackware64 13.37 has changed here, compared to 13.1. In previous versions, the root seesion was closed, when I changed the runlevel to 4 with the telinit command. Now, the session remains open, obviously.
My question is: Is this the correct behaviour, and isn't this a security whole? An unnoticed (!) open root session while I am surfing the web as an unprivileged user in KDE could be dangerous, I think...
Is it misconfiguration in my system, or is this the way it should be?
I've been dual booting 10.10 with Windows7 for about a month. Today is the first time I've encountered a serious problem.
This morning, nothing functioned properly after trying to open several programs. The computer seemed to be "frozen", although the mouse was working fine.
I decided to reboot, but then encountered an even bigger problem.
It failed to boot and got this message: no init found. try passing init= bootarg
The problem now is that it requires a Live CD session and I keep getting this: GLib-WARNING **: getpwuid_r(): failed due to unknown user id (0)
In case it matters, I didn't install 10.10 from an ISO, I just upgraded from 10.04.
Ubuntu 9.10 will not boot! System froze this morning, I restarted and it is now failing to boot. Starts loading grub and I get this message:
mount: mounting /dev/disk/by-uuid/04aa3697-7bc0-45b5-b86a-77a1e6534bd5 on /root failed: invalid argument
mount: mounting /sys on /root/sys failed: no such file or directory
mount: mounting /dev on /root/sys failed: no such file or directory
[code]....
I booted with 9.04 LiveCD discovered the drive could not be mounted-ran fsck -ln and it told me the drive has no valid partition table. I have had intermittent problems mounting flash drives before this, so I'm kind of worried it might be a hardware issue.Also have files on that drive I would rather not lose, so reinstalling is hopefully a last resort.
me the difference between /etc/init.d scripts and /etc/init.d/rc?.d scripts.
View 3 Replies View RelatedI have written an init script and placed it in /etc/init.d/ directory.What I would like to know is, will the script run automatically or we need to install the script using "install_initd" command.If I have to invoke this command manullay, what will be the best place to do this ? Can I add this to "/etc/init.d/rcS" file
View 6 Replies View RelatedI'm trying to boot Emdebian lenny on my compact flash and it shows the following errors during boot time :
Code:
Mounting local filesystems ... done .
/etc/rc.d/S35mountall.sh : line 45 : uname : command not found .
[code]...
openSUSE 10.3 on Itronix IX260+ Stuck on command line, init 3, and all attempts at graphic init 5 fail. Get these messages:(EE) No devices detected; Fatal screen error: no screens found; AIGLX disabled Primary Device is PCI 01:00:0kernel:device-mapper:multipath round-robin:version 1.0.0 loaderkernel:device-mapper:table:253:0:multipath: error getting device
kernel:device-mapper:ioctl: error adding target to tableProblem would seem to be with the device-mapper, but have no idea how to fix it.
While I was using my computer a few days ago, the terminal stopped working properly, so I tried to reboot, and when it started up again it wouldn't boot and said "no init found. try passing init=bootarg"
This has happened twice before, so I really need to figure out what keeps happening, otherwise I can't continue to use linux. i reinstalled both times before. i think that this is caused by a process that prevents me from using the hard drive, because when I try to check the disk in the terminal or in gparted, it says Device or resource busy while trying to open /dev/sda1. Filesystem mounted or opened exclusively by another program?
Also, in the disk utility, in the lower right corner of the filesystem it has a spinning "loading wheel".(i'm not sure if that means anything)
I am using ubuntu 10.10, but am not sure what kernel I am using, but i tried a few different kernel options(there's three of them at start up). safe mode does not work either.
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.
Lately I've been trying to install the Nvidia Cuda driver for Linux.In order to do this, I have to tun a .run file. When I run it in the console, It says that I can't install when running the X server. So I try to use "init 3".When I type it, and hit enter, the screen goes black, no blinky cursor thing, just a frozen black screen. I followed one of the nvidia tutorials on here to get the normal nvidia driver, and it worked successfully.Before I installed the nvidia driver, when I would use "init 3" I would get a colourful console window with random coloured blocks of random lettering. It seems that installing the nvidia form the tutorial turned this into a black screen.
View 4 Replies View RelatedI saw that there are 2 NTP services in /etc/init.d:
/etc/init.d/ntpd - the NTP daemon
/etc/init.d/ntpdate - what is this ? and what is the relation between the 2 services?
I mean... if there is ntpd to do all the clock sync, what is ntpdate's role?
im just stating in fedora..why does i cant restart/start/stop my /etc/rc.d/init.d/smb ? actually i notice that there are no "smb" or "samba" file exist in my /etc/rc.d/init.d/ or in /etc/init.d/
and there is no smb or samba found in my /sbin/chkconfig but i have my samba installed. Im using fedora 10
This is a minor annoyance, but I'd like to know how to fix it... When starting Fedora 12 with KDE, the KDE icon is twice the size of the other icons. I figure it is easy to make it the same size as all the other icons, but I don't know how. If this seems confusing, I am referring to the screen that appears after you enter your password and before the KDE desktop appears. A set of icons appear one at a time. The KDE icon is clearly twice as large as the others.
View 4 Replies View RelatedI am trying to install a new NVIDIA Driver. as I usualy do I go to a terminal logging off and using "ctrl+Alt +F2" logging in as root and entering "init 3" but when I run "sh NVIDIA" it tells me "X server is still running." If I enter "init 5" it goes right to a gui. I have tried "killlall X11" with no results.
View 7 Replies View Relatedsu 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.
We have a virtual XP machine on our fedora 11 install. I want to drop fedora 11 down to init3 (since its a server anyway) and everyone is worried about the windows virtual machine dying. What would happen to my windows virtual machine if I drop the host server to init 3?
View 1 Replies View RelatedI upgraded to Fedora 15 using preupgrade after I failed to upgrade or install it clean through DVD. But, after the preupgrade process finished, I can't boot my system even into init mode 3. I am able to boot into the init mode 1 and can see that many of the packages have been upgraded to fc15. I tried to start the x server from init mode 1. My nVidia screen even popped up. But after that the screen went totally blanked.
View 6 Replies View RelatedI would like some quick pointers to understanding service-daemon controlling and etc/initd.conf or /etc/xinetd.conf, if you prefer. read, a while back, I should be using...
[bash]# service "srv-dmon" start/stop/status/restart/reload/etc
and to stop using...
[bash]# /etc/init.d/"srv-dmon" start/stop/status/restart/panic/save/etc
[code]....
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 RelatedI was having a job in /etc/event.d. It was working fine upto FC12. With upgrade to Fedora 13, it stopped working . Searching the internet, It looks like /etc/event.d is obsolete and I need to use /etc/init. Also the filename has to have a '.conf' extension. So I have renamed my job as /etc/init/svscan.conf.However, it fails to start automatically on reboot . It works if I manually issue the command % sudo /sbin/initctl emit qmailstartBut fails to start automatically on reboot. Is there anything wrong in my script below ? Let me know if I have missed out anything?
% cat /etc/init/svscan.conf
# svscan - runlevel compatibility
# WARNING: This file was auto-generated. Do not edit!
[code]....
I am trying to view the startup programs of init whenever I boot up, but don't know how to edit /etc/inittab file. I am running Fedora FC13 and my runlevel is 3. I have the following in my inittab file:
Quote:
#
# inittab This file describes how the INIT process should set up
# the system in a certain run-level.
#
# Author: Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
[Code]...
I'm working to make guest OS run as no privileged user. I've found a script made by an Italian guy that should start the guest instance during boot. Unfortunately the script was made for Debian and as I'm not confident with bash, I'm having some difficulties in making it work under RedHat 5.3 launched as root
vbox-ithaca start
vbox-ithaca: line 116: log_daemon_msg: command not found
sudo: VBoxManage startvm ithaca --type vrdp: command not found
vbox-ithaca: line 119: log_end_msg: command not found
these errors to me basically say that those commands aren't in PATH, but I couldn't find them anywhere
[code]...