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

learn more… | top users | synonyms

5
votes
1answer
421 views

rc.local with read will not echo key strokes

I'm using CentOS 6.4 and have a small problem with using read in /etc/rc.local file. It will allow keyboard entry but does not echo any of the key strokes during input. This is something that worked ...
1
vote
2answers
90 views

How do I load modules at startup in a certain order?

I have a group of modules that I need to be loaded at startup. I've followed the documentation for loading a module however I need load these modules in a certain order. I've tried creating a bash ...
1
vote
0answers
178 views

CentOS VPS not starting after installing zPanel

I've had some trouble earlier installing zPanel, but then I was told that I've been using the wrong package, I was supposed to use the 32-bit version, but kept trying with 64-bit. After figuring that, ...
1
vote
1answer
939 views

service to start on boot doesn't work with update-rc.d comand

I have installed redis server on my ubuntu based server, so I can start/stop/restart redis server, the redis_server.sh is already in the /etc/init.d. Now I want to make redis start on boot, I ...
0
votes
0answers
46 views

What is the difference between 'No' and 'Continue' on interactive startup?

I have a problem that Centos is hanging on a custom process at startup. I tried running interactive startup to sidestep it and allow the machine to boot up. I selected no for the process but it is ...
2
votes
0answers
200 views

How to speed up or get rid boot with network manager on systemd?

Network manager is the one thing that holds my system boot time from becaming really barelly existing. I'm connecting to wi-fi. My boot chain indicates what's wrong with network manager: ...
2
votes
0answers
36 views

Find out if system startup was initiated by rtc alarm

How can I know if a system startup was initiated by an rtc alarm event in linux? I am writing some scripts that handle sleeping/shutdown of my htpc. I want the machine to sleep after recording has ...
4
votes
2answers
4k views

How to start VNC server on start-up in Ubuntu 10.04

I've been struggling with this long enough to ask yet another startup script question. I've got a startup script that is relatively simple, ie: ### BEGIN INIT INFO # Provides: startVNC # ...
1
vote
0answers
85 views

Can't reliably create a directory on startup after ec2 instance mounts its ephemeral drives

This particular instance type mounts two ephemeral drives, in /dev/ and /mnt/. I have to create working directories for one of my services in these paths at startup or the services won't launch. ...
0
votes
1answer
61 views

Why env variable are not visible while starting a service

I am wondering why during service start up environment variables are not visible. To be more precise: I created service startup scrip according to LSB spec which starts some java process. For this ...
0
votes
1answer
150 views

Periodically sync local folders using rsync (no symlinks!)

I am using Dropbox to have an online backup of some data. However I want to encrypt my data before uploading it to Dropbox. Therefore I have created a TrueCrypt container and I am using rsync to ...
5
votes
1answer
3k views

i3wm : start applications on specific workspaces when i3 starts

How can I start applications on specific workspaces in i3 when it starts? Why is this not working in my config file? : workspace 1; exec firefox; workspace 2; exec chromium; workspace 1
4
votes
1answer
488 views

Mac OS X Darwin: how to reset admin password?

Today I bought an ibook G4 from a garage sale. The people who sold it to me didn't know the password for the 2 accounts on it. Apparently it was the guys late father's laptop. Any suggestions on how ...
-1
votes
1answer
150 views

can i run a java software on startup

Hi I´m a total beginner when it comes to Linux but here goes, I have a raspberry pi with raspien installed. When I start my PI I would like to run the following steps after the operating system is ...
2
votes
3answers
44 views

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 ...
5
votes
4answers
16k views

How to auto-start a service (apache2) with Linux Mint

(Strangley) My installed Apache2 does not start up when logging in to Linux Mint. Running this command gets it going: sudo service apache2 start How should I attempt to start up this service upon ...
0
votes
2answers
54 views

While Linux is rebooting which directory is used to search for the executable system binaries?

While Linux is rebooting which sbin directory is used to execute the system binaries. As per my knowledge it used to load the binaries in the directory sbin directory . But in my system I find so ...
1
vote
2answers
51 views

Begin root process at boot?

I'd like to start a background process as root when my Linux install boots. Can I just add it to a directory or a configuration file?
1
vote
1answer
62 views

Run a command when system starts for any users [duplicate]

How can my system run a command every time that it is started? Is there any script that the system runs when it is starting? I'm using CentOS 6.2.
3
votes
3answers
2k views

Disabling X server on Fedora 17

How can I prevent the X server from starting up on Fedora 17? In older versions the user should edit /etc/inittab but in this version (I didn't check this on previous versions) Fedora uses some other ...
1
vote
2answers
668 views

How to disable inetd and sendmail under OpenBSD 5.1?

# grep '^inetd_flags="' /etc/rc.conf inetd_flags="NO" # for normal use: "" # grep -i 'sendmail_flags="NO"' /etc/rc.conf sendmail_flags="NO" # after a reboot..: two questions: # ps ...
3
votes
1answer
2k views

Problem starting a service running Debian

I want to run a UPNP renderer as a service on a Raspberry Pi using Raspian, a Debian based distro. Actually, everything runs fine but one thing : I can't manage to start the service at boot time at ...
4
votes
2answers
3k views

Run script on start up after everything else

OK, so there's a service (nagios) running on a Debian box that runs just fine, except for one very specific issue that only occurs after the box has been re-started. The issue is easily fixed by ...
2
votes
2answers
230 views

Execute user script as root in startup applications

I just created a script (logscreenlock) to log lock/unlock screen events (derived from this post): #! /bin/bash dbus-monitor --session "type='signal',interface='org.gnome.ScreenSaver'" | ( while ...
2
votes
2answers
943 views

What is the sequence loading linux kernel module on startup? How priority is set to them?

I have a Linux kernel module which I compiled dynamically. How is it added to startup? There are lot of .ko files in /lib/modules. How is priority set for loading these modules?
3
votes
1answer
1k views

Resetting password in Linux Mint when disk is encrypted

I have a system (VM, actually) with Linux Mint 15 on it. The disk is encrypted, but I remember that password -- just not the password for my account. I've tried changing the command in GRUB from ro ...
2
votes
1answer
305 views

How to shut down Linux if idle for 30+ minutes?

We define "idle" based on how screen savers in Linux define it. I found this tool called "xautolock". I tested it like this: /usr/X11R6/bin/xautolock -time 1 -locker "notify-send test" I placed ...
2
votes
2answers
144 views

How to associate a script at boot time to a specific run level?

I am trying to understand how run levels work. I understand the meaning of the 7 run levels and I understand that they were usually configured by /etc/inittab, which used to call /etc/init.d/rc, which ...
0
votes
0answers
54 views

How to change layout as soon as a USB keyboard is attached automatically

I have a USB keyboard set, I attach it to my computer to use it with another language layout. The USB keyboad will type (e.g.) Russain. While the other (main) keyboard set will type English. To set ...
1
vote
1answer
552 views

How to write a pre-mount startup script?

I want to create a bootup script that runs before the root filesystem / has been mounted as I want to use dm-cache to cache it. The script is supposed to contain cache setup commands. Where would I ...
2
votes
1answer
48 views

Persistent script to check if my webserver work with low budget vps?

I have a low budget vps and they constantly change a lot and my webserver is often unable to reach. Is there a shell script that is persistent and can check my webserver is running and if not make it ...
1
vote
2answers
280 views

Booting into shell instead of graphical interface [duplicate]

I have a laptop with lubuntu. It's great but I wish LXDE was optional instead of autostarting. So my question is, what can I do to make it boot directly into a text only mode, not loading anything ...
2
votes
1answer
7k views

Disabling graphical login in Debian wheezy

I have installed Debian wheezy on my machine with a netinst image, now I would like to deactivate the desktop and boot straight to the command line, not only that but I would like to not waste any ...
1
vote
1answer
97 views

Segmentation fault when executing a command in rc.local

I'm trying to execute xbindkeys -f /etc/xbindkeysrc command on the start up. I've put this in my rc.local including another command : #!/bin/bash echo OFF > /sys/kernel/debug/vgaswitcheroo/switch ...
2
votes
4answers
6k views

Purpose and typical usage of /etc/rc.local

The header looks like this: #!/bin/sh -e # # rc.local - executed at the end of each multiuser runlevel # # Make sure that the script will "exit 0" on success or any other # value on error. What is ...
1
vote
2answers
3k views

Cannot get rc.local to automatically run at all

so I've been trying to get the /etc/rc.local script to run, and for the life of me, nothing seems to work. I can run it manually by using service rc.local start, and it just echos 'hi' to a file in my ...
4
votes
1answer
850 views

Fixing a broken X initialization

Here are the symptoms: On reboot of my Fedora 14 system, I get to the Fedora loading screen progress bar. The system seems to progress normally, then the nvidia logo flashes, a wait cursor shows, ...
1
vote
1answer
411 views

Finding log file of ntp daemon in Ubuntu 10.04 LTS

My Ubuntu is set to run ntp before dovecot at startup. (See my earlier question: The rc0.d,rc1.d,... directories in /etc in Ubuntu 10.04 LTS) However, I suspect that dovecot may have finished ...
1
vote
2answers
2k views

Starting Qt Application On Startup for Embedded Linux

I'm trying to launch get a Qt application to launch after immediately after booting up. When booted, the Linux image does nothing more than launch an X server and a terminal. It also has the cron ...
1
vote
2answers
41 views

Running script on system start as given user

I have a small script on a dev/staging server that runs services inside tmux. The script just creates a few sessions with a few windows each in which various services are running. How can I make ...
2
votes
2answers
4k views

Run a sudo (or startup) python script from cron on a Raspberry Pi?

I'm helping out with an art project (http://stargateeggbeater.com/ for those interested) built on Raspberry Pi. The RPi controls an addressable LED strip through the GPIO, using the spidev device per ...
1
vote
1answer
1k views

adding a program on start-up by using LSBInitScripts

I use Debian Lenny (I know lenny is old and other bla bla) and would like to place a program on the start-up. I use update-rc.d by adding an executable file on /etc/init.d. By referring to ...
1
vote
1answer
335 views

Udev rules involving X11 don't run on startup

I have some udev rules written to run when I connect certain usb devices. For example, I change pointer velocity for certain mice, and change xmodmaps for particular keyboards. The scripts work well ...
1
vote
2answers
1k views

postgresql service start issues

I'm attempting to build a box via Fabric on Openstack. Part of the install involves installing and running PostgreSQL. This command works fine: $ sudo service postgresql initdb This command ...
1
vote
1answer
31 views

Do live (versions of) unix distributions ever automatically pick up config info from a OS already installed on the machine?

Maybe this is a silly question, the answer is probably no; but I gotta ask. For example, if I have an Ubuntu Live USB running on a machine with Ubuntu already installed, might the Live OS ever look ...
0
votes
0answers
276 views

Ubuntu cannot start from terminal

Ubuntu 12.04 By a mistake, I stopped lightdm. Then switched to tty1, and rebooted. Now, After startup, It just came a black screen with a cursor, can type nothing. I tried Ctrl+F1 to F12 (and ...
4
votes
5answers
284 views

How to disable graphical shell?

I have a Linux system (Ubuntu) running in a VM, but now I want to disable the graphical shell. Where in the startup process are the graphical components launched? Is it some run-level dependent ...
0
votes
1answer
3k views

Auto-restart an process when it crashes

I have an app that I need to autostart when the OS starts. I am running in a CentOS 6, so I am using a LSB init script placed in /etc/init.d. So far this is fine and working. Now....besides that, ...
2
votes
2answers
4k views

Automate modprobe command at boot time on Fedora

My distribution is Fedora 17 Gnome. Every time I reboot/restart my computer I need to run this command as root: modprobe rt2800usb How can I make it permanent?
3
votes
3answers
154 views

Other than /etc/rc.conf what other config files control system services at boot time?

I am still very new to FreeBSD, from what I have learned in manuals, /etc/rc.conf controls system services at boot time. There is no mention of sendmail and syslogd in /etc/rc.conf, so how come they ...