Questions tagged [startup]

This tag is related to startup of servers or services.

This tag is related to starting servers, and starting services on servers. It includes actions related to system startup, such as when the system is first powered on.

223 questions
68
votes
11 answers

Disable a service from starting at all runlevels?

I have a service foo which currently starts at runlevel 3 and above. How can I stop it from doing so, without using update-rc.d foo stop 3 ., which (if I understand it correctly) would turn off the service at each runlevel change. (ie., if I was at…
lfaraone
  • 1,581
  • 2
  • 17
  • 22
38
votes
7 answers

How do I get Apache to startup at bootime on Linux?

I have installed Apache 2 from source on my Linux box. apachectl -k start works just fine, but how do I get Apache to start at boot time? This is on a Red Hat Linux distribution: Linux 2.6.9-55.ELsmp #1 SMP Fri Apr 20 17:03:35 EDT 2007…
grieve
  • 1,517
  • 3
  • 17
  • 18
23
votes
3 answers

Start program on computer startup when nobody is logged on and show the window when someone does log on (OS: Windows)

I have a program that is launched on system startup using Task Scheduler on Windows Server 2012. The program must start even if the computer reboots automatially. Administrator is the account used to start the program, the option "Run whether user…
22
votes
8 answers

Launch Nginx on startup

I was able to install and run nginx, and passenger but i'm not able to have nginx come up whenever i reboot my server. To start the nginx process i just type in sudo /opt/nginx/sbin/nginx. From my understanding anything i put in /etc/init.d with…
Richard Schneeman
20
votes
4 answers

Set service StartType to Automatic - Delayed

Using Set-Service, I'm able to change the StartType of my services between the accepted values of Boot, System, Automatic, Manual, Disabled. Using services.msc, I'm able to set some services to startup with a Priority of Automatic (Delayed Start).…
Peter Vandivier
  • 373
  • 1
  • 2
  • 12
19
votes
3 answers

When are scripts inside etc/profile.d executed?

I added some scripts from root inside etc/profile.d to execute at startup time. But when will these scripts be executed if I login into system as a non root user? I want to start LDAP-server at start-up time, independently from which user has first…
MyTitle
  • 501
  • 1
  • 8
  • 18
18
votes
8 answers

Task scheduler scheduled task at startup not working

I have scheduled a task to be run at system startup. But its not working. When I run the task manually, it is working. Below are the screenshots of the settings. What have I done wrong here? This task executes a bat file that launches a process.…
18
votes
4 answers

Domain login very slow 10+ minutes

We are racking our brains trying to figure this problem out an are currently stuck! Basically we are having issues with some users taking ages to log in in the mornings, some times up to 20 minutes, we have tried correcting this problem looking at a…
Daryl Liney
  • 181
  • 1
  • 1
  • 3
17
votes
4 answers

Fastest time to get an EC2 instance running

I am considering moving from a VPS to EC2. EC2 is elastic and so is its pricing; I could boot my instance on demand, then let it shut down if it isn't active by the end of some hourly period. How much time does that process take? Assume a micro…
Tobu
  • 4,367
  • 1
  • 23
  • 31
16
votes
5 answers

Standard or best way to keep alive process started by init.d

I'm looking for a standard way or best practice to keep a daemon started by an init.d shell script alive. Or even better, is there a way to keep it alive directly from /etc/init.d? Specifically, I have a daemon called dtnd with and infinite loop…
Adrian Antunez
  • 473
  • 1
  • 5
  • 10
16
votes
1 answer

What are the correct permissions for /etc/init.d/ scripts?

What are the correct permissions for /etc/init.d/ scripts and what chmod options sets them?
davidmytton
  • 666
  • 3
  • 7
  • 17
14
votes
2 answers

How to manage a global VM startup order across the whole datacenter?

Suppose you have a fully virtualized VMware infrastructure: ESXi, vCenter, vMotion, HA, DRS, the whole package. Inside, you have lots of VMs, which at any given time may reside on one host or another (that's the whole point of clustering, isn't…
Massimo
  • 68,714
  • 56
  • 196
  • 319
14
votes
4 answers

Windows services not starting automatically?

We've had some nasty time sync problems on our Windows Server 2008 R2 servers lately. I traced this back to something very simple: the Windows Time Service was not started! The time can't possibly sync via NTP when the time service isn't…
Jeff Atwood
  • 12,994
  • 20
  • 74
  • 92
13
votes
3 answers

How do I launch a process as a specific user at startup on OS X?

I would like to run a script as a particular user on startup (not on login). I thought a launchd LaunchDaemon would do it, but 'man launchd' says: "If you wish your service to run as a certain user, in that user's environment, making it a launchd…
Scott Bonds
  • 131
  • 1
  • 3
12
votes
3 answers

Run a command on Windows startup (not login!)

How do you tell Windows to run a command on each system startup? I have a large number of servers on which I will need to run a command on system startup that makes a non-persistent configuration change. I can run the command either: as an…
MikeyB
  • 38,725
  • 10
  • 102
  • 186
1
2 3
14 15