Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
61 views

Equivalent of `/etc/init/` folder for non admin users?

We have a cluster where I run some simulations. I want automatically sync the results between multiple computers so I decided to use syncthing. I'm trying to follow this tutorial setting up syncthing ...
1
vote
1answer
55 views

How to have the system run a bash script to remap keys after login? [duplicate]

I've got a setup-notebook-keyboard.sh script that I run everytime after logging in because I like my keyboard with the CapsLock -> Esc, CapsLock+Key -> Ctrl+Key setting. I've tried to set this ...
0
votes
1answer
84 views

automatic script

I have an Ethereum node running and mining on a terminal in Linux. I want to create a script that will start up the node.sh roughly 2 minutes after startup. My script is in the home/chainskills/...
1
vote
0answers
13 views

How to control whether the initd script or the systemd unit file is used to start/stop/control the service?

Some packages, like apt-cacher-ng provide both a /etc/init.d/apt-cacher-ng and /lib/systemd/system/apt-cacher-ng.service. That might be a good or bad idea (in comparison to providing an apt-cacher-ng-...
0
votes
0answers
65 views

Unable to start Ubuntu after installing Gedit dependencies

While I was trying to build Gedit on Ubuntu 16.04, I followed the prerequisite dependencies and installed them religiously. I noticed that I lost my terminal color, and the preinstalled gedit theme ...
1
vote
0answers
39 views

How to configure more IPv6 addresses sooner at boot init time?

I have a full /64 of IPv6 addresses allocated to my VPS running Ubuntu Xenial Xerus Server Edition 16.04.4 LTS recently upgraded. I put my configuration of 15 IPv6 addresses (:1 .. :f) in /etc/network/...
2
votes
0answers
185 views

Running a Windows .exe service on Ubuntu (with Mono?) [closed]

I have a service that was coded that I need to move over to linux. Got the code and got it up and running as a .exe on windows to start using installutil. However quite unsure how to get it working ...
1
vote
0answers
6k views

What is the correct way to run a command after boot on ubuntu 18.04? [duplicate]

I need to run a simple batch of commands after the computer boots, something like sudo thing sudo thing1 -p But for the life of me I can't figure out how. I googled and googled and I kept finding ...
0
votes
0answers
137 views

“no init found. Try passing init=bootarg” Ubuntu installation broken?

Power went out to my house, came home to restart my Ubuntu (18.04) server and I get a bunch of "no such file or directory", "run-init: current directory on the same filesystem as the root: error 0" ...
0
votes
0answers
89 views

Ubuntu won't boot. /sbin/init permission denied and not found

run-init: /sbin/init: Permission denied Target filesystem doesn't have requested /sbin/init. run-init: /sbin/init: Permission denied run-init: /etc/init: Permission denied run-init: /bin/init: No such ...
0
votes
0answers
23 views

Should I remove files in /etc/rc*.d that correspond to software I no longer have installed and if I should then how to do so?

In the /etc/rc*.d directories I have files such as *01mongodb, *01postgresqland *01mysql, but I have neither of these DB softwares installed anymore. As I know these files tell the system what to do ...
0
votes
1answer
186 views

runlevel is return unknown in teminal

I put in my terminal command: $ runlevel and it return me instead some: init num just: unknown I use Ubuntu 17.10
1
vote
0answers
21 views

init in interruptible sleep state

Just out of curiosity, I tried to send some signals to init with root permissions. At some point I used SIGABRT and then the system just hangup, Currently only the initramfs part is booting and init ...
0
votes
0answers
29 views

I am trying to boot from USB [duplicate]

ISSUE I am confronted with this error. Pc Asus Z97-K Intel Core i7 4790K Soket 1150 4.0GHz 8MB cache 22nm Evga GTX970 SuperClock ACX 2.0 GDDR5 4GB 256Bit DX12 Nvidia GeForce CORSAIR 8GB Vengeance ...
0
votes
1answer
37 views

Kernel initialisation error

List of errors I updated my kernel to the latest version on my ubuntu 16.04.3 and now after reboot i get these errors. Please solve.
0
votes
1answer
123 views

(terminology) init.d script = LSB Init Script = System V Init script?

I'm having some trouble recognizing the different types of (traditional) system process management tools by name. By "traditional" I mean before the likes of upstart, systemd, launchd etc. which I ...
0
votes
0answers
504 views

Ubuntu unable to start: run-init: /sbin/init: no such file or directory

I have Ubuntu16.04 LTS installed on my system. I upgraded MySQL from 5.5 to 5.6 by following this online documentation. The upgrade process seemed to be successful. But when I tried to execute my PHP ...
0
votes
0answers
148 views

Unable to boot due to Kernel Panic, Ubuntu 17.04

I am not able to boot into Ubuntu due to Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200 and it is stuck after that in INITRAMFS. This is a screenshot of the INITRAMFS ...
0
votes
1answer
48 views

How can I make sure one Upstart service starts before other non-Upstart (System V) service?

Is there a way to run one Upstart service before another non-Upstart service (system V, to be more precise)? Or I must "convert" my Upstart script to a System V script (if it provides such ...
0
votes
0answers
1k views

end kernel panic - not syncing: Attempted to kill init! exit code=0x00007f00

during the update to version 16.04.3 there was a power failure and now, even when I boot from recovery mode, I run into this error (photo 1). I can run Ubuntu from the USB-stick, but I am not offered ...
0
votes
0answers
462 views

It is asking me to install module-init-tools?

Every time I give command sudo apt-get dist-upgrade they are telling me dkms : Depends: module-init-tools but it is not installed
0
votes
3answers
3k views

/etc/rc.d/init.d/wipefs start cpu problem

I have a vps on main server. This vps has many web sites but traffic is normal. Yesterday server cpu usage went up suddenly. I don't know what this line means. What is it and what should I do about ...
-1
votes
1answer
270 views

Any installation of packages fail

root@campaigns:/var/lib/dpkg/info# apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 ...
1
vote
0answers
363 views

Launch docker deamon at startup when offline

On a 14.04 LTS, my docker daemon doesn't start at init when internet isn't available. An ifconfig doesn't show any docker0. The only related message I've found is in /var/log/kern.log : IPv6: ...
0
votes
0answers
27 views

How to add a startup option when starting a program through init

If you start a program at the command line like this "vuurmuur --no-check" How do you add that same option when starting it through init?
1
vote
1answer
296 views

init setting error: restore-uuid is wrong

I upgraded my system via command line, apt gave me the error message: init setting RESTORE-UUID=(uid) is wrong drive doesn't exist. init will try to restore from /sda3 the system boots fine and the ...
0
votes
1answer
181 views

How to debug a service that “crashes” Upstart (supervisor, in this case)

I running Ubuntu 14.04. I have several services configured to run on boot, one of which is supervisor. I boot into runlevel 2, so all of the services in /etc/rc2.d/ should be started at boot. /etc/...
3
votes
1answer
931 views

Writing systemd script

I have a process that I need to run at startup. It is something that needs to stay running the entire time that the machine is on. As of now I am just typing the following into bash everything I start ...
1
vote
1answer
4k views

Ubuntu won't boot: run-init: /sbin/init: Permission denied and /bin/sh: 0: Can't open splash

Last night everything was fine with my Ubuntu 16.04. Today I tried to turn it on and it simply won't boot, throwing these errors: run-init: /sbin/init: Permission denied Target filesystem doesn't ...
0
votes
1answer
4k views

/sbin/init : no such file or directory | Not able to boot ubuntu desktop

I have been using Ubuntu Desktop for a while now, but today for some reason I am not able to start it. Here is what I see. Here is what I have already tried : Tried booting in recovery mode ...
1
vote
0answers
38 views

Not able to boot Ubuntu desktop [duplicate]

I have been using Ubuntu Desktop for a while now, but today for some reason I am not able to start it. Here is what I see. I have tried rebooting and starting it in recovery mode. but seems to be of ...
1
vote
1answer
621 views

How can I replace systemd with upstart? [duplicate]

I found this : How can I replace upstart with systemd? but I would like the other way around. The reason is that I spend quite a time learning the basic init process and I am pretty much ...
8
votes
1answer
24k views

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 ...
4
votes
2answers
641 views

Reboot without power cycle?

I need a little help with this. I have a server set up at home, running Ubuntu 16.10. When I reboot, it brings up a prompt that interrupts the normal power-up sequence to notify me of case intrusion. ...
5
votes
2answers
168 views

Inconsistent output for init process name using 'ps'

I am on Ubuntu 16.04, and am following allong "Starting and Stopping" services chapter of the Linux Bible (9th edition). I am trying to find what type of init daemon I have (init or systemd) which ...
3
votes
2answers
274 views

Why do initd scripts in /etc/init.d remain after deinstallation of the corresponding package?

Packages, like irqbalance provide an initd script /etc/init.d/irqbalance which remains after the deinstallation of the packages with apt-get remove and needs to be evaluated by systemd or another init ...
3
votes
1answer
667 views

How to replace init with upstart?

I have a Ubuntu 14.04.5 LTS installation, and when I run the following command: ps -p 1 I get the following output: PID TTY TIME CMD 1 ? 00:00:06 init suggesting I am using ...
-3
votes
1answer
135 views

init program doesn't work, can't boot the system [duplicate]

Today I opened my Ubuntu and I saw What should I do ?
0
votes
1answer
791 views

Ubuntu insserv rejected the script header

I m constantly getting this error while I m trying to install or purge any packages - insserv: exiting now without changing boot order! update-rc.d: error: insserv rejected the script header The ...
0
votes
0answers
62 views

Different init configurations based on dhclient input

I need to boot my system with different configuration options in different work sites. I can determine which work site I am at, based on the IP address I am given by the DHCP server. The configuration ...
6
votes
2answers
26k views

A TPM error (7) occurred attempting to read a pcr value

I had tried a command (I do not remember it) with the terminal of Ubuntu, and the computer shut down. Now when I boot it, it says :- [ 4.562057] ACPI PCC probe failed. [ 4.615205 tpm_tis ...
0
votes
1answer
534 views

How to find out what init mode system is using?

I was looking at this and I'm not sure how to find out which startup service is used on my machine (Ubuntu 14.04 on Digital Ocean). Can it use all of them? (upstart, system v, systemd) https://www....
0
votes
0answers
91 views

Missing system files - Ubuntu 14.04 wont boot?

:-) When trying to boot my laptop with Ubuntu 14.04 LTS I get the below error message: Error message on boot - ubuntu 14.04 LTS It also wont boot in recovery mode. My laptop has two hard drives. ...
0
votes
1answer
479 views

Can't get a script to run on starting an ec2 ubuntu server

So I have an EC2 instance setup, but in order for it to work the way I'd like to, I need to execute a script every time the EC2 instance is started, but for the life of me I cannot get the script to ...
-1
votes
1answer
198 views

3 processes that couldn't have had init as an initial parent

Name 3 processes that couldn't have had init as an initial parent can any one help me on parent which doesn't have children in Ubuntu this question refers to Linux handbook
3
votes
1answer
790 views

Why doesn't pstree command show init in Ubuntu 16.04 LTS?

I am trying to examine the output from pstree command. But for some reason it always starts from something called as systemd as opposed to it being init. I have checked to see the process ID's of both ...
2
votes
1answer
1k views

What is /etc/default/ directory called?

Runtime configs? Default init configs? Init configs? When you have to explain it someone like check /etc/default/files dude... I was asked about this and I've no idea..
0
votes
0answers
190 views

Both `systemd` and `upstart` (init) installed - which package(s) determents what's default?

I've been playing around (a bit too much?) with "Unrecognized Tasks" in aptitude, and have installed lots of extra-packages - mostly to be able to freely choose between different desktop-managers... ...
0
votes
4answers
299 views

How to execute script file at startup without using any commands like ln -s or any other to be executed at first?

How to execute script file at startup without requiring any commands to be executed at beginning to set it up like chmod , ln -s with etc/rc.d or any other command ? The script file should be ...
0
votes
1answer
3k views

Kernel panic on boot: run-init: /sbin/init: No such file or directory

I'm trying to reboot a system Ubuntu 14.04 LTS 64bit. When I boot up, it gives me the message found below. Kernel panic on boot: run-init: /sbin/init: No such file or directory. How can I fix it and ...