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
122 views

Tool to disable services and daemons

For the old (and still used in debian) init mechanism there are tools such as rcconf to disable services and daemons. Are there such for whatever is used in Ubuntu (upstart I guess) ? I am running ...
1
vote
1answer
116 views

Why does the run level change automatically?

I am trying set up a virtual machine as an exercise for my friend, it came to my mind that I can give him a machine that reboots all the time and ask him to find out whats wrong with it. I change run ...
1
vote
0answers
219 views

init has huge memory allocation after time - ubuntu 13.10

init process is taking huge amounts of memory. It starts normally with about 2 MB and if I kept the laptop running for half a day, it would reach 1.5 GB!! Which slowly kills the performance, and ...
0
votes
1answer
314 views

OpenFire/Redmine service autostart

We are using OpenFire chat service in the office on a Ubuntu server. Everyday I have to enter a command to start it. The command line is sudo su - service openfire start. I also start the Redmine ...
2
votes
4answers
10k views

13.04: Kernel panic - not syncing: No init found

I know this question has been asked several times on this forum, but none of the answers given worked for me. Tonight I did an install of Ubuntu 13.04 on a brand new Acer Aspire laptop. I formatted ...
1
vote
1answer
373 views

Upstart not starting emacs --daemon

I am trying to start emacs daemon through upstart. Here is my script # emacs --daemon - Emacs daemon # # The Emacs daemon provides a server for Emacs clients. description "Emacs daemon" start ...
0
votes
1answer
449 views

System V init scripts

How do I list the services running on an instance started by System V init scripts? I attempted to run 'service | --status-all>' with no luck.
1
vote
0answers
176 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 doesn't sudo need password when used in 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 ...
21
votes
4answers
40k 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
166 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
737 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
157 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
3k 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
416 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
414 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
648 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
180 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
702 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
730 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
361 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
106 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
832 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
1k 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
8k 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
278 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
183 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
282 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
373 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
24k 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
221 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
370 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 ...
15
votes
3answers
4k 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
853 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
717 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
341 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
978 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
597 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
681 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
848 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 ...