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

learn more… | top users | synonyms

1
vote
1answer
2k views

Automatic Startup of Oracle 11gR2 on CentOS 6.3

I've setup a handful of CentOS 5.6 servers with Oracle 11gR2 and not run into this particular problem, but I have hit a wall with CentOS 6.3 and auto-starting Oracle. Not sure if this is related to ...
2
votes
1answer
748 views

Run XMonad's startup hook only on initial startup

I have the following startupHook in my xmonad.hs , startupHook = spawn "~/.xmonad/autostart" I am starting many apps and daemons in this script and it is written to run only once on startup. But ...
2
votes
0answers
177 views

Run a command before services are started

I have a Oracle Linux 6.3 system on which I would like to run a command when the machines starts up before any other services are started. The reason for this is to try and work around a bug in RHEL ...
3
votes
1answer
429 views

Getting keyboard to work in debian 6.0 in order to unlock root partition

I just installed Debian 6.0, encrypted / and now I'm trying to boot. When GRUB comes up, I select Debian, it loads the initrd and asks for the root password, however I can't enter anything, because ...
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 ...
0
votes
1answer
451 views

Autorun Tomcat in Linux Mandriva - java.io.IOException: invalid argument

Here's the autorun script, which i use - #!/bin/sh # description: Tomcat start/stop script # chkconfig: TOMCAT_PATH=/java/apache-tomcat-7.0.32/bin ...
6
votes
2answers
8k views

What's the difference between /etc/rc.local and /etc/init.d/rc.local?

I want to add a permanent iptables rule to my new VPS, and after brief google search i was surprised that where is two places this rule can be added, that seems like identical: /etc/rc.local and ...
0
votes
0answers
416 views

Fedora doesn't start X on boot

Since a few months I have been facing a problem with Fedora 15. Whenever I start my system, the command prompt is displayed instead of the GUI login. I need to provide a username and password from the ...
2
votes
2answers
417 views

No /proc in a Busybox-based embedded Linux distribution

I am making an embedded Linux distribution and my board is a Raspberry Pi. My kernel version is 3.2.27 without initramfs and my root file system as follows: /lib /* contains ...
2
votes
2answers
794 views

run executable on boot

For the life of me, I cannot get this to work. I'm running Debian on Raspberry Pi. running this command from CLI: /home/pi/domotiga/DomotiGaServer.gambas -d runs my home automation server. How ...
1
vote
0answers
271 views

How to write a systemd script that runs usb_modeswitch and connects to the internet at startup?

I have a cisco AM10 wireless adapter and every boot, I need to run usb_modeswitch -v 1307 -p 1169 -L -I -u -l to get it to function as an adapter. Then I have to run a netcfg profile to connect to ...
3
votes
1answer
3k views

Create and control start up scripts in BusyBox

I have compiled a custom linux kernel in BusyBox. BusyBox init does not support runlevels. When the kernel boots up in BusyBox, it first executes init which looks for the specified runlevel in ...
1
vote
1answer
1k views

How to modprobe radeon and turn off card at start with systemd?

ArchLinux has completly replaced rc.conf with systemd. I used /etc/rc.local to modprobe radeon module and turn it off using vgaswitcheroo. modprobe radeon && echo OFF > ...
2
votes
2answers
379 views

How to start an application automatically on boot

I am new to Linux & looking forward to start application (which toggles a led every 10 sec). I have written the application program & it is working fine but now I want to start it ...
3
votes
1answer
750 views

Modify /etc/xdg/lxsession/LXDE/autostart before boot

I have some parameters that I would like to change in /etc/xdg/lxsession/LXDE/autostart, before it is run. I get the parameters from a grep command. I would like to feed them to the autostart file but ...
4
votes
2answers
303 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 ...
1
vote
2answers
548 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 ...
2
votes
1answer
356 views

Xubuntu 12.04: slow login

I'm running Xubuntu 12.04, and after I ran the update, my login started slowing down big time. I've dabbled a little bit with the programs in Settings -> Settings Manager -> Session and Startup, and ...
3
votes
2answers
1k views

Is there an easy way to create a FreeBSD rc script?

I have a FreeBSD jail in which I run a server using the command: /usr/sbin/daemon /path/to/script.py At the moment I have to run this command every time I restart the machine and the jail starts. ...
1
vote
2answers
419 views

Is there a way to view the console output instead of boot logo, while my RHEL 6.2 machine boots up?

My company provided laptop has RHEL6.2, with lot of programs to start up automatically, which makes the boot up process slow. While the machine boots up, there is the boring RHEL logo on the screen ...
1
vote
0answers
257 views

KDE Startup Applications over xrdp

I have Google Chrome installed on my machine. The new chrome runs in the background (for addons like google chat) and has an entry in the KDE startup apps. The trouble I am facing is that when I log ...
1
vote
1answer
541 views

Reducing ubuntu boot time using dmesg

The boot time is 141 seconds. Here's the most interesting parts of dmesg command: [ 2.870498] usb 1-1.2: new high-speed USB device number 5 using ehci_hcd [ 80.669210] ADDRCONF(NETDEV_UP): eth0: ...
1
vote
4answers
5k 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
1answer
680 views

“Removing leftover files … Unknown user 'uuidd'. [FAIL]” on a fresh Arch Linux installation

I just fresh installed Arch Linux reecently and when booting i can spot a warning: Removing leftover files [BUSY] [/usr/lib/tmpfiles.d/uuidd.conf:1] Unknown user 'uuidd'. [FAIL] What could this ...
2
votes
1answer
274 views

Linux mint 13: Error starting MATE

My Linux Mint installation seemed to work fine an hour ago, then I switched into Windows 7 which is installed on the same machine. When I restarted back into Mint, I got the following errors and can't ...
0
votes
1answer
273 views

Where can I see the processes running at startup?

I'm using backtrack5 R2 and sometimes when I log in the information showed says that There is 1 zombie process, where can I see what process is running?
1
vote
0answers
155 views

Automatically start named pipe reader on startup?

I'm trying to run a script with root access from PHP. I can't do that because Apache's user, www-data, don't have root access because of security reasons. To fix that, I was advised to use a named ...
3
votes
2answers
317 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 ...
1
vote
1answer
607 views

ssh-agent not starting in OpenSuSE desktop

It seems that ssh-agent is not starting on my OpenSuSE system. When I run pgrep -fl ssh-agent, the result is blank. On my Linux Mint laptop, I get 1785 /usr/bin/ssh-agent /usr/bin/dbus-launch ...
1
vote
1answer
2k views

Should I run fsck on boot for an amazon ec2 image?

I have an Ubuntu micro instance running on amazon EC2. Recently after logging in I was alerted: *** /dev/xvda1 will be checked for errors at next reboot *** I've rebooted a couple times using init ...
6
votes
3answers
8k views

How to start a script file on boot?

I am running a stupid little minecraft server. I want Lubuntu to execute the following script when the server boots up. NOT on login, and NOT on restart (unless it's starting up of course). The ...
1
vote
1answer
369 views

Combined su and screen at startup

I want to start a long running custom script at boot. The script must run under a specific username. So far I have successfully used the screen command and switched to the user in the custom script. ...
2
votes
1answer
208 views

Templates for startup script?

I need to write a couple of Linux (Debian) startup scripts. Are there any accurate templates available?
1
vote
1answer
1k views

Run gui application on startup

I can run a script at boot by adding the following line to my crontab: @reboot perl /path/script That works fine. But the problem arises when I try to run a gui application such as gmail notify. It ...
1
vote
0answers
97 views

How to make system startup to not wait on particular systemd service start

I have few virtual machines running under libvirt, and they are stared on the host system startup. This is controlled by libvirtd.service systemd configuration. This delays the availability of the ...
7
votes
4answers
3k views

Add item to inittab on OpenSuse 12.1

I am currently working on a project which needs to be added to inittab so that the program loads during startup. The program that I am trying to start is a c# mono application. I have created a ...
8
votes
4answers
5k views

How can I run a script that starts before my login screen?

I was calibrating my touch screen, and saw that the best tool around was xinput_calibrator. So I used it. It have two options (one of which did not work), so I am here for the second. It says I should ...
5
votes
2answers
2k views

How can I make Debian run m python script at startup?

I have this script in my home folder (pi): server.py. How could I make Debian run this script at startup so I dont need to log in and to i manually?
4
votes
2answers
3k views

How do I configure which ethernet connections are active on boot?

I have an unmanaged dedicated server that I administer, running CentOS. Recently when I reboot the server, I am unable to use SSH. Both times this has happened the server host has determined the issue ...
2
votes
2answers
205 views

Running script once when X is initialized

Where should I put a bash script if I want it to be executed once during X startup as part of system bootup. For example, I want to start up VPN on my machine as root user once X starts up. When X ...
1
vote
1answer
2k 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
3answers
2k views

How can I debug Apache, not starting upon boot

Apache is already set up as a service, since: $ sudo update-rc.d apache2 defaults System start/stop links for /etc/init.d/apache2 already exist. But Apache isn't starting. How can I start ...
5
votes
6answers
11k views

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

List of script( location)s that get run automatically, and when?

Does anybody know (of a resource listing) what scripts are run automatically, and when, from the moment I startup the computer until it's shutdown again. I know several places where I can add scripts ...
1
vote
1answer
369 views

Fedora session / process startup issues

I've installed fedora 16 with lxde(xfce) desktop. My problem is that when I login into the system, it gives me redundant app startup, for instance it launches Installation manager, also I've noticed ...
4
votes
4answers
12k 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 ...
3
votes
1answer
804 views

ACPI conflicts with ACPI region SMRG

During startup, I noticed some error. I found this in dmesg: i801_smbus 0000:00:1f.3: PCI INT B -> GSI 21 (level, low) -> IRQ 21 ACPI: I/O resource 0000:00:1f.3 [0x400-0x41f] conflicts with ...
4
votes
2answers
2k views

Make daemon start up with Linux

I'm writing a simple daemon application using C/C++ and I want it to start when Linux starts up. I am a beginner on Linux systems. I have tried to modify /etc/init.d/skeleton to add a script into ...
4
votes
1answer
500 views

Giving a custom script root permissions

I have a backup drive that is Truecrypt Encrypted. I'd like to automnt this drive so I can automate backups when in the office. I am using Linux Mint 12 x64bit I wrote a script that runs successfully ...
2
votes
1answer
66 views

Problematic booting process

About a month ago I installed Lubuntu 11.10. Since that time there is a problem with booting and shutting down. Booting is endless. This screen never disappears, so I have to manually press the ...