Init is the initial process that loads on a linux system. If init fails to load, it will result in a kernel failure.

learn more… | top users | synonyms

1
vote
2answers
18k views

Why I cannot find in /etc/inittab? [duplicate]

Possible Duplicate: where is inittab file? I have learned from the wikipedia that init is usually called by the kernel with an argument to specify the runlevel, in order to do different ...
0
votes
1answer
406 views

X : conditional xorg.conf file during startup

I've got a computer which I use at a couple of different sites, and I've got differen monitors at those sites. What I've done is that I've ceated different xorg.conf files for each of these sites. ...
2
votes
1answer
215 views

Failed to use upstart to control startup dependency

In a server I have memcached and apache2 installed, I want my apache2 ONLY can start if memcached is started, so in my apache upstart script, I added the line From start on runlevel [2345] To ...
0
votes
1answer
74 views

For processes to be up and running all the time

I want my python program sample.py to be always up and running. I have read some things and asked people about ways to do this. So far I have following options - Upstart Cron I am trying things ...
3
votes
1answer
498 views

.override file isn't working

I have a file /etc/init/boinc-client.override with the single line manual that I use to prevent the BOINC client from starting up. (I don't want it hogging CPU time away from Folding@Home, for now ...
3
votes
1answer
689 views

Scripts slowing boot

Inspired by the "How fast" video, I've recently been trying to speed up my boot up as much as possible. I've been reading many forums on different approaches but I've recently hit a wall with a ...
15
votes
1answer
36k views

Is reboot the same as init 6?

Is reboot the same as init 6 for ubuntu? I'm running Ubuntu 12.04 on Amazon EC2. When ssh'ed into the box I can type runlevel and I get: N 2 Looking at man reboot I see that: When called with ...
0
votes
1answer
240 views

Why my upstart script don't work?

It is strange the script use to work fine,but after the proxy went down for a while,it don't work all the time. But the command in script section can still do it's job,and I have no idea what's going ...
1
vote
1answer
5k views

Start-up problems - some daemons not starting

This is a new installation of 12.04 and I can see that my machine is using both the old sysvinit method and the new upstart method to launch programs on start-up. According to the man page for ...
2
votes
2answers
649 views

How do I prevent race conditions in Upstart 'starting on' scripts?

I am working on a package that needs two Upstart jobs: one that launches a daemon, and another that launches a supporting daemon if the configuration file requires it. The logic to determine if the ...
16
votes
4answers
6k views

How do I stop all processes in a chroot?

I have a number of LVM partitions, each containing an Ubuntu installation. Occasionally, I want to do an apt-get dist-upgrade, to update an installation to the most recent packages. I do this with ...
1
vote
3answers
2k views

Unable to fully remove Juju

After downloading Juju and playing around with it a little bit, my curiosity is satisfied. I decided to move on to other endeavors and uninstall Juju, although despite my best efforts a piece of Juju ...
11
votes
2answers
23k views

How can I make fsck run non-interactively at boot time?

I have a headless Ubuntu 12.04 server in a datacenter 1500 miles away. Twice now on reboot the system decided it had to fsck. Unfortunately Ubuntu ran fsck in interactive mode, so I had to ask someone ...
1
vote
1answer
764 views

Fresh install of 12.04 Kernel panic

I am attempting to install Ubuntu 12.04 on my computer. After the Ubuntu splash screen, the computer throws up this error: sr 2:0:1:0: [sr0] Unhandled error code Kernel panic - not syncing: Attempted ...
5
votes
2answers
6k views

How can I run an application in gnome-terminal automatically when booting?

I need to run an application automatically when Ubuntu starts. I've got this app running without opening the terminal. However, this application displays some information in a terminal window and, ...
2
votes
0answers
348 views

Ubuntu doesn't boot after apt-get upgrade (black screen) [duplicate]

Possible Duplicate: My computer boots to a black screen, what options do I have to fix it? Some time ago (2 weeks) I ran apt-get upgrade. When complete I turned off the computer. I was on ...
0
votes
1answer
2k views

Start wifi in adhoc mode right after boot

I'm trying to set my wireless card to adhoc mode after the system starts. I have created a shell script following this guide: ...
1
vote
1answer
731 views

Customizing upstart “restart” commands

I'd like to run a different command when upstart is restarting a process than when it is starting a process. In particular, I'm using Thin and I want to do a rolling restart (built in to thin via a ...
3
votes
1answer
1k views

command “init 1” freezes computer

I'm taking a Beginners Administration for Linux class, and one of the things we are learning is how to change "runlevel" in order to optimize efficiency and security of a server. However, when I run ...
5
votes
2answers
16k views

cannot change runlevel from 5 to 3

i'm trying to change from runlevel 5 to runlevel 3 by running sudo init 3 command. for some reason it doesn't do anything anymore. the weird thing is that if i run the command runlevel it shows me ...
0
votes
2answers
2k views

Changing runlevel: init or telinit?

I've been looking on the Internet for an answer and haven't found a concrete one. If I want to change the runlevel it is okay to use just init or do I always have to call it through telinit. I've ...
3
votes
2answers
1k views

starting sshd on first connection to port 22 with upstart's new socket bridge

Recent Upstart has these new fancy systemd-like features of starting jobs on incoming connection via socket-bridge. I'd like to start my sshd upon first connection to port 22. I now have: start on ...
4
votes
2answers
5k views

Running commands on boot in 11.10

So I am getting properly confused on how to create a startup script on my Ubuntu 11.10 server. I have read about init-scripts, upstart-jobs and more, but I get even more confused the more I read. ...
0
votes
1answer
849 views

init error, laptop do not boot

I turned my computer on and it comes up with ways to boot and I clicked Ubuntu with linux 2.6.38-13-generic. There was a recovery mode too. Once I clicked its writing come up: init: udevtrigger main ...
9
votes
3answers
49k views

Cannot boot because: Kernel panic - not syncing: Attempted to kill init!

This is what I've got. I cannot boot and I see the two of three little lights on the keyboard blinking all the time and the cooling is working on full power, almost. I saw in other askubuntu topic ...
2
votes
1answer
410 views

How to run normal session from user script after passing init=MY_SCRIPT in grub entry

I have entry in grub to start my configuration script written in Python. I would like to give user option to start normal session after the work is done. But I've found that /sbin/init needs to have ...
1
vote
1answer
2k views

How do I get Upstart to start my Mediatomb service?

I've been struggling, trying to get my Mediatomb server to start automatically on Upstart run level 2. I can't figure it out. I guess Upstart is still new to me and I don't understand it. I even ...
4
votes
1answer
10k views

initctl won't start jobs

I am operating an Ubuntu 11.10 server and one of the PHP scripts calls a bash script for inserting jobs and starting them. The script copies the job into /etc/init Everything is fine except that the ...
5
votes
2answers
4k views

What is this brltty init script?

I'm on my way to cleanup my system , started from init scripts , and found: /etc/rcS.d/S25brltty The description header wasn't helpful enough, and what's that used for, and if it's safe to purge ?
16
votes
3answers
75k views

How can I see or change default run level?

In the Linux / Unix administration handbook it mentions that you can edit the /etc/inittab file to change the run level. I don't have that file on 10.04. I Googled this and found a tip saying that ...
3
votes
1answer
1k views

On 10.04 Lucid, how can I add a script to startup to run as another user?

On 10.04 Lucid, how can I add a script to run at startup as another user? Will I add a script someplace like /etc/init.d/myscript ? Or is it better to put it in the cron file for root as @reboot and ...
2
votes
1answer
889 views

Kernel panic at boot with BusyBox and init error messages [closed]

How do I reboot my computer? A friend of mine started my computer over from scratch, then installed Ubuntu on my computer. But, when my computer ran out of power and I charged it, the computer ...
6
votes
2answers
27k views

How to start jenkins?

I installed jenkins via sudo apt-get install jenkins. However, it doesn't start up. Tried to start it manually using sudo /etc/init.d/jenkins start. But it says this message when I try to start it ...
1
vote
2answers
2k views

How do I replace corrupted /etc/inittab and /etc/init.d/rcS files?

I am using Ubuntu 11.10 on my laptop and I have managed to overwrite my /etc/inittab and /etc/init.d/rcS files while running a stupid script with sudo. Can anyone please provide me the default ...
1
vote
1answer
688 views

How is ssh started during init?

How does the ssh daemon start on Ubuntu server? I see /etc/init.d/ssh, but I don't see any sym-links to it from the rc?.d directories. I have a situation I'm trying to troubleshoot where a server ...
6
votes
1answer
7k views

When you run `update-rc.d myscript default` - what is called on startup/shutdown?

What gets called on startup/shutdown when you run update-rc.d myscript default? Docs seem fuzzy, I want concrete. I am guessing that this happens: At startup (specifically at entry to runlevel 2, ...
2
votes
2answers
15k views

How to write an init script that will execute an existing start script?

I'm trying to understand the init process. I have a script which launches 3 background processes (2 shell scripts and a java app). It works just fine from the command line. I'd like to execute that ...
2
votes
1answer
1k views

Upstart scripting: Start service and immediately run another command

Here is my current Upstart script I've placed at /etc/init/redis.conf: description "redis server" start on runlevel [2345] stop on shutdown exec sudo /opt/redis/redis-server /opt/redis/redis.conf ...
5
votes
5answers
9k views

Init process at 100% CPU usage

I have a Ubuntu x64 machine on a OpenVZ VPS account on a QuadCore processor with 1GB/2GB(burst). A few days ago I've managed to successfully update it to 11.10 Oneiric Ocelot. There's only one ...
1
vote
0answers
203 views

Decrease Boot Time [duplicate]

Possible Duplicate: Improve Boot time I have an 11.10 system that takes a while to boot. I ran bootchart and it reported that there was a block of time about 10 seconds long where there was ...
2
votes
0answers
745 views

/dev/mapper/cryptsetup1 is not ready yet or not present, slow system [closed]

Today I had a very high system load because I used many applications at the same time (VirtualBox, totem, firefox,...). The load was so high, that the system almost didn't react anymore. Then I killed ...
8
votes
2answers
2k views

What is responsible for mounting disks listed in fstab?

What script/init process/whatever is responsible for reading fstab and calling mount, during the boot process?
1
vote
1answer
112 views

Prevent new packages from linking start up scripts?

How can i prevent newly installed packages from creating links in e.g /etc/rc2.d? Currently i'm launching update-rc.d -f blabla remove /etc/rc.local each time during boot. But this shouldn't be ...
1
vote
4answers
6k views

Boot mounts failing after power outage

UPDATE 1 Output of sudo fdisk -l ubuntu@ubuntu:~$ sudo fdisk -l Disk /dev/sda: 120.0 GB, 120034123776 bytes 255 heads, 63 sectors/track, 14593 cylinders Units = cylinders of 16065 * 512 = 8225280 ...
0
votes
1answer
973 views

Can someone explain what these messages are REALLY telling me? [closed]

Trying to log back in, init greets with messages like Failed to spawn encryptfs-utils-save (I don't care for encryption and my drives are never encrypted....at least, not by me - so who or what is ...
1
vote
1answer
2k views

What does each of these network services do

I have the services listed in the /etc/init.d folder starting with 'network': cyrex@cyrex:/etc/init.d$ ls network* networking network-interface-security network-interface ...
1
vote
2answers
10k views

update.rc-d init.d startup script is not starting

I got a simple script called hwtestinit which I installed using update-rc.d hwtestinit defaults On the surface, as far as I can inspect, all seems fine , I mean, the following files, all exists, ...
0
votes
1answer
109 views

Start the same “sessions” after shutdown

Many times it happen I got several terms & app sessions opened, while I just have to quick shutdown the machine to move away in another building. Is there a way, when I next boot the laptop, to ...
4
votes
4answers
5k views

Upstart script for a transmission-daemon executed as a normal user

I have done a script to start transmission-daemon as a normal user: start on filesystem stop on runlevel [!2345] respawn respawn limit 10 5 pre-start script test -x /usr/bin/transmission-daemon ...
3
votes
1answer
442 views

Ensuring ethernet is configured before continuing init scripts

Is there a better way to ensure that an ethernet port is configured before continuing through startup init scripts? When 802.3ad bonded ethernet is configured on Ubuntu, it takes some time before it ...