Questions tagged [startup]

The startup sequence, from the time the kernel goes live to when all services are up and running.

Use this tag for questions about the system startup sequence after the kernel is loaded. Contrast with , which covers what happens before the kernel is loaded.

While the details vary greatly from distribution to distribution, the typical sequence goes like this:

  • The kernel initializes drivers and mounts the root partition.
  • The kernel runs the init program, which triggers subsequent stages.
  • Startup-time setup is performed, such as mounting filesystems other than root, configuring some hardware devices, bringing up the network, etc.
  • Daemons are started for network services, logging and monitoring, etc.
  • Login prompts are shown on the console.
765 questions
6
votes
6 answers

Run a sh file on machine boot up

I am quite new to Linux and want to know what to be done to launch a .sh file on machine startup. Basically, I have a server machine with Linux OS on it and want to run some jboss application when system restart/crashes I added S99jBossServers in…
Varun
  • 111
  • 1
  • 1
  • 5
2
votes
3 answers

Advantages of using distribution-specific configuration files over generic start-up scripts?

For example in case of Debian, one can specify network configuration in distribution-specific configuration file /etc/network/interfaces or one could use generic Sys-V scripts where network configuration can be specified with generic tools like ip…
Martin
  • 7,516
1
vote
1 answer

linux run jar on startup after mysql is running

Is there a way to run a jar at startup on CentOS 6.5 but only after MySQL is running?
Doua Beri
  • 111
1
vote
0 answers

Where can I put settings that are run with root and last from start of OS till it shuts down?

Where can I put settings that are run with root and last from start of OS till it shuts down? One requirement is that when I suspend/hibernate my Ubuntu 12.04 and wake it up, the settings should not be changed again. For example, I would like to set…
Tim
  • 101,790
1
vote
1 answer

How to say which process slows down boot (bootchart)

So my computer boots up for 150s and I can clearly see that it does nothing between 40-105s. Can You help me determine which process is responsible for this waste of time?
Parchandri
0
votes
1 answer

Services in /etc/rc.local prevent the system from finishing to boot

I start some services such as Tomcat and MySQL from a shell script /etc/rc.local. There is a while loop to restart the services. This loop is continuously running and my system is not booting. How can I solve this?
0
votes
1 answer

How to get a list of all user scripts that are called on startup?

I have emacs daemon launching on startup and I have no idea where it is being launched. I've checked systemd and I don't have a service neither in /etc/systemd/system nor in /usr/lib/systemd/system. I've also checked ~/.config/autostart, .xinitrc,…
0
votes
0 answers

How can I automatically minimize all startup programs?

I have set around five programs to run at startup and it's annoying when they take all my screen space. The worst offender is probably the Steam client that starts in fullscreen mode. How can I automatically minimize all windows after signing in?…
Dolphin
  • 41
0
votes
1 answer

Start App On Bootup - Debian

I have a ts3.desktop file in my /usr/share/applications folder that I want to run on system boot. I have typed the following commands which don't work crontab -e Then in the editor, I typed @reboot gtk-launch ts3 /usr/share/applications Then I…
0
votes
2 answers

How to edit /etc/sysconfig/iptables from: RESCUE MODE boot?

Let's say the /etc/sysconfig/iptables needs to be edited because, due to it I can not ssh to my server. I start my server in "Rescue Mode", but when I login, there is no such thing as /etc/sysconfig/iptables to edit. What can be done so I can edit…
-7
votes
1 answer

What command can be used to find where Python is installed?

what command? and why is so important? In UNIX? I have heilo and need to correct command.