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
1answer
1k 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
606 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
721 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 ...
4
votes
2answers
13k 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
1k 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
862 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
670 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 ...
6
votes
2answers
29k 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
356 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
8k 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 ...
4
votes
2answers
2k 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 ?
10
votes
3answers
41k 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
960 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
754 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
17k 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
0answers
150 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
227 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
557 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
5k 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
10k 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
920 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
7k 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
201 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
721 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
1k 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
83 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
5k 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
738 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
7k 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
103 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
4k 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 ...
2
votes
1answer
366 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 ...
2
votes
1answer
343 views

Where can I find information or description of the boot up process?

I am looking for links to detailed information on how the ubuntu boot process is managed after grub is finished. I have googled by all the documentation referes to individual packages. (upstart, ...
0
votes
1answer
320 views

Bricked 10.10 only gives me initramfs

I managed to brick my Ubuntu 10.10 laptop after updating to x-swat Nvidia and Intel drivers and now I can only get "init not found" when I boot, and I'm dumped to a initramfs text console. I won't ...
1
vote
1answer
2k views

Booting ubuntu gives “init not found”

My friend has been using ubuntu 10.10 on vmware player for many days now. But today, it has a problem booting, so we started the ubuntu live cd to try and fix it. Running sudo fsck /dev/sda1 (got ...
1
vote
0answers
540 views

Boot problem after upgrade from 9.10 to 10.04 [closed]

I just did system upgrade form 9.10 to 10.04 using alternate CD described here: https://help.ubuntu.com/community/LucidUpgrades#Upgrading%20Using%20the%20Alternate%20CD/DVD - I did it this way because ...
11
votes
3answers
18k views

where is inittab file?

hi i'm on ubuntu 10.10, and i've just joined linux world from os/x-apple. i'm learning about runlevels and rc directory in /etc/ and everywhere (manuals, tutorials, etc) i'm reading about inittab. but ...
2
votes
1answer
1k views

How do I change the runlevel?

How can i change the runlevel in ubuntu 10.04 or 10.10 As far as I can recall ubuntu changed the runlevel with something else? If I want to change the start to terminal only and not X what and r
16
votes
6answers
21k views

Upstart script doesn't start

Ubuntu 10.04 I have created this upstart script (/etc/init/pure-ftpd.conf): # pure-ftpd - FTP server description "Pure-FTPd server" start on filesystem stop on runlevel S respawn respawn limit ...
5
votes
3answers
12k views

Initramfs error during boot

Boot from (hd0,0) ext3 238ac8ca-9576-443d-8e23-8dd836cd2683 Starting up ... mount: mounting /dev/disk/by-uuid/238ac8ca-9576-443d-8e23-8dd836cd2683 on /root failed: Invalid argument mount: mounting ...
21
votes
2answers
13k views

How can I make sure one Upstart job starts before other Upstart jobs?

This is a general Upstart question, but let me use a specific case: Centrify is a NIS to ActiveDirectory gateway. It needs to load before any service that will depend the authentication service that ...
3
votes
1answer
3k views

How to set up Java-based services for startup?

What's the best way to set up a Java-based program to run an service and start on boot? upstart (pre-start script and post-stop script ?) plain old SysV init? (start-stop-daemon ?) In my case I am ...
3
votes
1answer
6k views

Target filesystem doesn't have requested /sbin/init

I installed 10.10 a few days ago. The only changes to the default install are the addition of Chrome and Pinta. It was fine for a few days, then today login etc seemed slow. Likewise it couldn't even ...
0
votes
2answers
545 views

Can't boot after recovering backup

I installed Xubuntu 10.10 on a 16 GB pendrive with full disk encryption using the alternate installer. The installation process was quite time consuming so I made a backup booting from the standard ...
3
votes
1answer
383 views

Why does mysql process starts on boot?

As you can see, mysql exists only in the /etc/init.d directory and not in /etc/rcN.d, therefore it shouldn't start on boot. $ sudo find /etc -regex ".*\(rc.*d\|init\.d\).*" | sudo grep "mysql" | sort ...
4
votes
2answers
3k views

How do I setup gunicorn?

Upstart doesn't like to start gunicorn because it tries to call setpgrp (see github issue), what would be the best way to start [gunicorn] on a 10.04.1 server install? - Ideally with automatic ...