Questions tagged [init]

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

257 questions
658
votes
26 answers

How do I free up more space in /boot?

My /boot partition is nearly full and I get a warning every time I reboot my system. I already deleted old kernel packages (linux-headers...), actually I did that to install a newer kernel version that came with the automatic updates. After…
user6722
  • 6,855
256
votes
3 answers

What is the difference between /etc/init/ and /etc/init.d/?

What is the difference between /etc/init/ and /etc/init.d/? More generally, what meaning does the .d suffix convey to a directory?
85
votes
4 answers

How to install an init.d script?

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 celeryd in folder /etc/default/ now when I tried…
suhailvs
  • 1,373
51
votes
5 answers

vivid - failed to connect to upstart: connection refused

Just updated via do-release-upgrade and now certain upstart jobs such as fail2ban and plexmediaserver will not start (have tried reinstalling) $ sudo service fail2ban start Job for fail2ban.service failed. See "systemctl status fail2ban.service" and…
matty87a
  • 511
48
votes
2 answers

How can I replace upstart with systemd?

Since Mark Shuttleworth decided to switch to sytemd in the future, I was wondering if I can install it on my Ubuntu now?
blade19899
  • 26,994
43
votes
3 answers

Is Ubuntu 14.04 using systemd?

There was a lot of discussion about the init system for 14.04 before it was released, but I cannot find any site that explains the outcome finally. So is Ubuntu 14.04 using systemd now?
rubo77
  • 34,024
  • 52
  • 172
  • 299
37
votes
5 answers

Where is the inittab file?

I'm on Ubuntu 10.10, and I've just joined the Linux world coming from OS X. I'm learning about runlevels and the rc directory in /etc/, and everywhere (manuals, tutorials, etc) I'm reading about inittab. But I can't find it in my Ubuntu…
nkint
  • 2,065
36
votes
4 answers

How to get rid of cloud-init?

I'm using Ubuntu 14.04 image as my base box for vagrant. Unfortunately this base box contains cloud-init which causes many problems during starting-up the machine: https://github.com/mitchellh/vagrant/issues/3860 I'm not using my machine in the…
mnowotka
  • 565
34
votes
6 answers

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 10 5 pid file /var/run/pure-ftpd.pid console…
Juan Simón
  • 1,703
33
votes
9 answers

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 suggestion for memory test. I did it. I didn't have…
33
votes
2 answers

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 it provides, e.g. autofs, cron, nis, et al. This…
Mark Russell
  • 7,396
29
votes
5 answers

What is Upstart?

Which operating systems besides Ubuntu use it?
akshatj
  • 13,386
26
votes
2 answers

What init 1 command exactly does?

Well to be honest I love finding Loopholes in everything, I was watching a TV Serial Mr Robot and at some point a character mentioned init 1 command, that her computer started crashing again and again and she lost her mind after using that command.…
Ahsan
  • 377
26
votes
4 answers

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 file had been replaced with /etc/event.d/rc-default…
cwd
  • 1,663
  • 5
  • 19
  • 24
24
votes
3 answers

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 at my datacenter to go over, plug in a console,…
Nelson
  • 716
1
2 3
17 18