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

learn more… | top users | synonyms

0
votes
2answers
39 views

Is killing processes created on startup safe?

I've just got a vserver running debian 7 and whenever I start the server and call the top command, there are very many processes that were started automatically on startup. Can I kill them or are ...
0
votes
2answers
118 views

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 ...
1
vote
1answer
3k views

Execute a script as root at boot on Fedora 15/16

I try to run a script (tpfand) at startup, and it asked to be root to execute it. This is a script to control the fans on Thinkpad computers. Despite several attempts, I could not get ...
2
votes
1answer
106 views

Execute root command after a user starts their session

I'm trying to find how is possible to execute a root command when a user starts their session. I found that adding commands to thes file /etc/rc.local should execute the commands after the boot, but ...
1
vote
1answer
254 views

Internet connection being lost after about 10 seconds

Okay so I have looked at this post Network connection drops after a few seconds, Which looks similar to the problem I am having but I have only just got Linux and can't work out what to do. Before I ...
1
vote
3answers
139 views

Unable to delete files as a root user using RS232 serial cross cable

I have a device(CCTV decoder) which was rebooting itself, so cant login using LAN cable. It has RS232 port only, no VGA and keybord/USB port(Embeded PC). I connected RS232 cross cable and used ...
4
votes
2answers
95 views

Trigger an init script when a specific device is up and a kernel module has been loaded

On my ubuntu 12.04 servers, I need to write an init.d script that waits until the infiniband interface (device: mlx4_0, interface: ib0) is completely up, and until the knem kernel module is loaded. ...
4
votes
4answers
163 views

Mount filesystems after boot to avoid fsck delay for sshd

I'm trying to optimise the overall downtime and improve availability in case of system failure. I'm specifically concerned about the reboot (e.g. after a kernel panic) taking so long that I don't ...
1
vote
1answer
27 views

Can't get out of foreground mode in STunnel

I was trying to debug an STunnel installation on my Raspberry Pi (using Raspbian) and so I set the foreground mode to yes (which is something suggested in the official documentation). Unfortunately, ...
2
votes
1answer
69 views

Solved - Solaris 10 - Is it possible to reboot a system from a startup script?

I have a Solaris 10 test guest logical domain (LDom). I plan to have the network on this be reconfigured before rebooting using a startup script in /etc/rc0.d. At the moment, when the system boots, ...
0
votes
2answers
252 views

Autostart a GUI application in Debian as root

I would like to know which is the most correct way to make my Debian automatically start up a graphical application once the desktop has been loaded. The app must be started as root.
3
votes
0answers
50 views

Stop init.d from running, and go to terminal prompt

I'm running Rasbian (Debian?) on my Raspberry Pi, and have allot of auto-starting things in init.d. But what if I want to stop them all from running, and simply break into a terminal prompt? I've ...
3
votes
5answers
4k views

Kernel can't find /dev/sda file during boot

I configured a gentoo kernel (kernel-2.6.36-gentoo-r5), but when I boot it can't mount /dev/sda1: ALERT! /dev/sda1 does not exist . Dropping to a shell . I use the shell to go to the /dev ...
5
votes
2answers
281 views

What is causing a pause during the system device probe?

I am running FreeBSD 10.0-RELEASE. During the boot device probe there is a two-times 30 second pause. The output relevant to this is # dmesg ... (aprobe0:ata0:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 ...
5
votes
2answers
516 views

What happens if I set default system runlevel to 0 or 6?

What I understand from runlevels is that in each level some programs have permission to be executed and some don't. runlevel 3 boots system into CLI and runlevel 5 starts the default GUI. But I don't ...
2
votes
0answers
53 views

Scripts cannot run simultaneously on startup

I want two scripts (Server_drive, Server_video_boot) running on startup, but there is conflict between them. Specifically, there is always running the script with the lower priority. I tried with many ...
1
vote
1answer
330 views

Programmatically creating .desktop file to autostart application

Using a Java program, I added a .desktop file in /etc/xdg/autostart to run a script when a user logs in. The script didn't run at user login, and when I checked the start up applications dialog ...
4
votes
3answers
264 views

Why doesn't rc.local run entirely

Here is my rc.local #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # ...
4
votes
1answer
56 views

Send an email right before the password prompt of ecryptfs during bootup

I'm setting up a home server which has full disk encryption enabled. In order to recover from a power failure the machine automatically reboots. I'm also able to unlock the disk remotely using ssh ...
1
vote
1answer
151 views

How can i start a wine application at startup without login?

I want to start a wine application when system startup. However this app need a Xwindow environment. I could only launch it manually by hand now, so I have to login first then start the app. I have ...
1
vote
1answer
33 views

How can I start an application at start up as a different user?

I am trying to start an application in Linux at start up with a different user (like alpha). I want it to run it in the background and it has to be started with with parameters. One is a file system ...
0
votes
1answer
84 views

Removing Gnome GUI and Booting From CLI

I'm running an ARM version of Ubuntu provided by Linaro. I'm not 100% sure on current version as I'm re-installing using the manufacturing tools (I want to say its Linaro 11.10). However, I was ...
0
votes
0answers
44 views

How to run OpenVPN automatically?

How can I run OpenVPN automatically when I startup my Debian 7? Is there a specific script? What is necessary for this happen?
2
votes
2answers
3k views

Arch Linux run script a minute after boot

I have set up a bridge between eth0 and wlan0 with netctl. It works fine if I tell it to configure eth0 and wlan0 at startup and then for me to manually start the bridge after it boots. If I tell the ...
1
vote
1answer
85 views

What priority should I give to a script running on startup?

I 'm running Angstrom distribution on an embedded device. I want to make use of its GPIO expansion ports, that are set to be high on start-up. Below, is the code segment, that releases an expansion ...
-2
votes
1answer
715 views

Run a php file as service?

I created a .sh file and it is email.sh In this email.sh file I have these lines #!/bin/sh php /home/username/public_html/Worker.php Now, I want to make that email.sh as a startup service in the ...
0
votes
1answer
52 views

init.d script won't send graphical data

I have a client sever java program. The client's work is to capture the screen and send data to server. An additional function it does is opens the website given from server and send some text to ...
0
votes
1answer
1k views

Why FreeRADIUS service won't work on Centos ?

I have installed FreeRADIUS server on centos via yum successfully, but I couldn't start radiusd service. when I run as root user and exec the following radiusd -X an error is occurred. [root@IgorAAA ...
6
votes
3answers
487 views

What are the minimum root filesystem applications that are required to fully boot linux?

It's a question about user space applications, but hear me out! 3 'applications', so to speak, are required to boot a funcitonal distro of Linux: Bootloader - For embedded typically that's U-Boot, ...
0
votes
0answers
102 views

Specific Jar file doesn't run on startup

I want to run a jar at startup, so I asked a question here. I was given a few suggestions, so I started from trying to create a script file and desktop file. I created a script file and desktop file ...
0
votes
4answers
4k views

Trying to open a browser on startup on my Raspberry Pi

I have Raspbian running on my Raspberry Pi, and I want to have a browser appear when it starts up. I am able to open a Midori window to the right page on start up, but my problem is that I receive a ...
1
vote
2answers
506 views

Dropbox insists on autostarting - Fedora 20

I'm trying to get Dropbox not to autostart. The manual shows a command line option that should do the trick but it doesn't seem to work here (dropbox autostart n). Running dropbox autostart issues a ...
1
vote
2answers
153 views

Upstart: launching something only once

Fact: If you use start on <event> for a job, your job might be run every time <event> occurs. The upstart cookbook mentions two methods to run a job only once. The first is logical to me, ...
3
votes
3answers
511 views

Upstart: How to run a “stop” before stopping other services?

I recently found out about the upstart "service starter" that Ubuntu is using and that is (apparently) the future to start/stop jobs in Linux. It's pretty new to me (I was used to the old SysV system ...
0
votes
2answers
62 views

Add poweroff to startup script

Yes, as the title says I want to add poweroff to startup script /etc/rc.local (Ubuntu). It sounds odd or silly, the reason is I want to tease my friend for few minutes. I didn't tried it up to now. ...
1
vote
2answers
228 views

Run jar on startup in all *nix based systems

I have a jar file which I need to run at startup in all distros of Linux. My previous question here, gave me an idea a rough idea on X-servers. Since I wasn't able to perform startup, I moved on to ...
0
votes
2answers
82 views

systemctl start depending on tty

I would like to start Apache automatically on my machine, but only if I login from TTY1 (I do not run a display manager). If I log in from any other TTY, it should not start. I tried this in my ...
0
votes
1answer
28 views

Is it possible to save in a log everything the system outputs when I turn it on?

I am using a BeagleBone Black without any screen. It works fine, but sometimes when I turn it on it hangs and have to reset. I do not know why this is happening and since I cannot see whatever it is ...
1
vote
3answers
471 views

Why does boot from SD card with my custom kernel result in “VFS: Cannot open root device”?

I'm using an embedded board ARM9 SAM9G25. I want to boot from SD card. When I build a linux kernel with a built-in rootfs (initramfs) then it boots. I want to separate the kernel from rootfs and I ...
0
votes
1answer
67 views

Sending signal to user that a partricular driver is loaded

These are some of the messages coming on console from Microzed board (Cortex A9): [Sat May 17 18:18:26.603 2014] DMA: preallocated 256 KiB pool for atomic coherent allocations [Sat May 17 ...
0
votes
0answers
294 views

Where to check battery state and set CPU governor/performance level during boot?

My laptop supports setting a "performance level" (normal, overclock or silent) that influences the CPU clock rate and fan speed beyond the usual CPU governor setting. The level is set to "normal" by ...
12
votes
3answers
15k views

How do services in Debian work, and how can I manage them?

In Windows I have the services manager, where I see all system services, that can be started through Windows itself, I set up the user it uses, the rights management is in there, and I can pass ...
3
votes
1answer
2k views

How do I start a virtual machine in background upon OSX system start?

I have a virtualbox machine on a OSX 10.9.2 host. I do not want to open VirtualBox everytime and start the machine there. Also, I do not need the the screen output as I will just ssh from OSX terminal ...
1
vote
1answer
186 views

Run jar file on startup as root without password

I developed a jar file I would like to run in all *nix platforms. I want to run the jar file on every restart with the root privileges without prompting any password. I googled for the solution but it ...
3
votes
2answers
93 views

What environment and credential is used by startup, background and service processes

Startup scripts (on boot) Processes running in (or sent to) the background (when using SSH -fN for example) Services etc... What $path variable will they be using? What credentials? Anything else I ...
3
votes
1answer
691 views

When would you use pivot_root over switch_root?

I'm wanting to understand the Linux init process better in order to netboot a system over ceph rather than nfs. In the process I've come across two forms of switching root. One called switch_root, ...
1
vote
1answer
99 views

Boot loop after upgrade from FreeBSD 7.3-RELEASE to 8.3 using freebsd-update

I upgraded my 7.3 FreeBSD box using the following instructions from the FreeBSD website: 2.2 Upgrading Using “FreeBSD Update” The freebsd-update(8) utility supports binary upgrades of i386 ...
5
votes
1answer
3k views

Disable atd (and other unnecessary startup processes) in Ubuntu?

I just spun up a new 12.04 server and have been having a bit of trouble getting the atd daemon to stop auto-launching. There's been a bit of changing around on the management of startup processes, ...
1
vote
1answer
99 views

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?
2
votes
3answers
406 views

How to run scripts on headless startup?

How can I run a shell script when my Raspberry Pi starts up headless? I don't want it to be dependent on booting into a console, or logging in, etc. It will literally be plugged into Ethernet and ...