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
0answers
168 views

how to start service after openvpn connects

I'm trying to setup deluged to run after OpenVPN makes a connection to my VPN. From researching, it looks like there isn't a reliable "start on" status with openvpn, so the next solution is to put the ...
1
vote
1answer
66 views

Live Persistant Install Won't Boot

I've installed Ubuntu on a flash drive via UNetbootin and it worked flawlessly up until today. A few moments after I booted it said "System Problem Detected" and I reported it. I disregarded this ...
1
vote
1answer
2k views

Why the sudo donot need password in the rc.local?

I have added sh /home/victor/startupAP.sh into /etc/rc.local and the startupAP.sh contains statement which need sudo, $ cat startupAP.sh #!/bin/bash sudo hostapd -B /etc/hostapd/hostapd.conf ...
20
votes
4answers
36k views

How to install an init.d script in ubuntu?

I am trying to install an init.d script, to run celery for scheduling tasks. Here is the steps I followed: copied the file celeryd and pasted it in folder /etc/init.d/ created a configuration file ...
2
votes
1answer
131 views

Switch raring to systemd [closed]

I know that Raring use upstart as init system. However I'm wondering if it's possible to switch to systemd, as we can do it on Debian. I've found this ppa: systemd : Martin Pitt But the systemd ...
2
votes
1answer
153 views

runlevel misunderstanding

As I known there is no classical init in ubuntu, instead of init ubuntu uses upstart. Upstart is capable of fully simulation of classical init. The problem is I still don't understand how upstart ...
1
vote
1answer
658 views

mongodb service doesn't restart after being stopped

Currently I am unable to start mongodb with the usual command sudo service mongodb start. When I do that, I get something like: mongodb start/running, process 23387 however no such process is ...
2
votes
2answers
144 views

How to completely remove broken GNOME/GDM installed on Ubuntu Server?

I have installed an Ubuntu Server. It obviously comes with no graphical interface. I tried to install one with: apt-get install xserver-xorg xfonts* gnome gdm Then I got an error message trying to ...
1
vote
1answer
2k views

Upstart job fails to respawn and hangs when tried to stop/restart it

I'm using Upstart 1.5 in Ubuntu 12.04 to manage a process created by some user but needs to be managed as system job as starting on boot, respawning if it fails and we been able to start/stop it at ...
2
votes
1answer
392 views

Where is Unity startup script in rc?.d

I've been reading about runlevels and startup scripts lately, and I've learnt that runlevels 2 to 5 are the same in Ubuntu, and that Ubuntu's default runlevel is 2. What I want to do I want to ...
1
vote
1answer
392 views

Start and stop parameters in init script

I have .conf a file in /etc/init/ with this code at the bottom: start on (started network-interface or started network-manager or started networking) stop on (stopping ...
0
votes
1answer
612 views

Upstart with a script that start and finish their own processes

I'm trying to setup in Upstart a script that launch several internal procs and kill them if is required $ listener.py -startall $ listener.py -killall I can run it with this settings: # Listener ...
1
vote
1answer
177 views

Why can't we remove bluetooth service the reguler way?

The usual way to remove services from startup scripts is to remove it from starting up in the first place (man update-rc.d). Meaning removing the symbolic link to /lib/init. In this case executing ...
2
votes
1answer
53 views

Need to know what program is writing to the console on start, logout and shutdown

I would like to know what program is responsible for writing messages to the console during the start, logout and shutdown process. What I'm referring to is that black console that comes out and spews ...
1
vote
0answers
690 views

Kernel Panic error: Attempted to kill 'init'

After making a update on my Toshiba Satellite L300D laptop I started getting this error message: Kernel panic - not syncing: Attempted to kill init! exitcode =0x00000007 I am currently running ...
1
vote
1answer
704 views

Console prompt during boot (for truecrypt)

In short: Please provide me with a up-to-date best practice solution to mount my Truecrypt volumes at boot with secure password prompt! I may accept a answer that has nothing to do with Truecrypt and ...
0
votes
1answer
348 views

Help setting up e4rat, no startup.log after e4rat-collect

So I've scanned through all the wiki's and posts to no avail. I'm attempting to set up e4rat on Ubuntu 12.10, and after appending init=/sbin/e4rat-collect to Grub and changing ro to rw startup.log is ...
0
votes
1answer
105 views

Redirecting /dev/null to some other device

Is it possible to redirect, ie create /dev/null as non-null device, like /dev/console or /dev/stdout? This obviously has to be done before init runs create creates a standard /dev/null. Upstart seems ...
2
votes
1answer
813 views

MythTV in dmesg though it is not installed

dmesg shows stranges massages. Last year I tried mythtv but it didn't work for me and thus I removed it again. Today I saw that dmesg shows this messages: [ 16.047679] init: mythtv-backend main ...
3
votes
2answers
5k 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
929 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
7k 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
268 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
181 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
63 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
275 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
351 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 ...
13
votes
1answer
23k 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
219 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
4k 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
348 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 ...
14
votes
3answers
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
810 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 ...
6
votes
3answers
14k 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
714 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
4k 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
937 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
591 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
647 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
827 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
641 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 ...
4
votes
1answer
28k 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
346 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 ?