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

0
votes
0answers
166 views

Screen goes off while loading Ubuntu

Since I updated my Ubuntu to version 12.10, after booting, when Ubuntu starts loading, screen goes off (monitor shows information that no signal is recieved). When screen goes on, first thing I can ...
3
votes
2answers
4k views

Booting Ubuntu into the Command Line? [duplicate]

Possible Duplicate: How to disable X at boot time? How do I boot Ubuntu by default into the CLI using a multiuser runlevel? I wish to still maintain my graphical desktop manager (GDM or ...
1
vote
3answers
643 views

Ubuntu way to run sysctl -p on each boot?

I made some changes to sysctl.conf but now need to run sysctl -p on each boot. I can always create an init script to have it run automatically on boot, but I was wondering if there was an Ubuntu / ...
0
votes
2answers
4k 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
215 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
159 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
62 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
208 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
246 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 ...
12
votes
1answer
17k 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
211 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
3k 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 ...
1
vote
2answers
254 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 ...
13
votes
2answers
3k 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 ...
0
votes
2answers
581 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 ...
4
votes
3answers
11k 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
679 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
3k 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
340 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
720 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
537 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
501 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 ...
3
votes
2answers
11k 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
995 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
727 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 ...
3
votes
2answers
4k 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
573 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 ...
3
votes
1answer
23k 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
323 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
7k 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 ...
3
votes
1answer
1k views

What's brltty?

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 ? ...
9
votes
3answers
27k 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
876 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
650 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 ...
5
votes
2answers
12k 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
1k 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
0answers
148 views

How to debug a startup script remains active on my desktop with a blinking cursor until logout and re-login? [closed]

When login my desktop a startup script remains in my desktop and blinking cursor (shape is underline) left top side on the desktop and when I logout and login again it disappear. How to collect debug ...
1
vote
0answers
219 views

Restore Ubuntu after power outage [closed]

the problem is after short power outage I'm getting message like "gave up waiting for root device. Alert! /dev/disk/by-uuid/{long_guid_} does not exists. Dropping to a shell". How do I fix it? ubuntu ...
1
vote
1answer
464 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 ...
4
votes
1answer
4k 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
7k 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
727 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 ...
4
votes
5answers
6k 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
200 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
665 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 ...
6
votes
2answers
985 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?
0
votes
1answer
66 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
4k 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
639 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 ...