Questions tagged [startup]

This tag is related to startup of servers or services.

Filter by
Sorted by
Tagged with
68 votes
11 answers
185k views

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 ...
lfaraone's user avatar
  • 1,611
40 votes
7 answers
164k views

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 <hostname&...
grieve's user avatar
  • 1,557
26 votes
3 answers
61k views

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-...
MyTitle's user avatar
  • 571
23 votes
8 answers
75k views

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 ...
user avatar
23 votes
4 answers
55k views

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 ...
Peter Vandivier's user avatar
23 votes
3 answers
91k views

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 ...
Marcus's user avatar
  • 627
21 votes
9 answers
68k views

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 ...
AnOldSoul's user avatar
  • 419
20 votes
5 answers
114k views

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, ...
Daryl Liney's user avatar
17 votes
4 answers
32k views

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 ...
Tobu's user avatar
  • 4,447
16 votes
5 answers
26k views

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 ...
Adrian Antunez's user avatar
16 votes
1 answer
32k views

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's user avatar
14 votes
3 answers
9k views

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, ...
Scott Bonds's user avatar
14 votes
4 answers
42k views

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 ...
Jeff Atwood's user avatar
  • 13.2k
14 votes
2 answers
25k views

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 ...
Massimo's user avatar
  • 70.7k
13 votes
3 answers
37k views

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 ...
MikeyB's user avatar
  • 39.5k
12 votes
6 answers
435 views

Single Person ISV, What Type of Server Hardware do you Recommend? [closed]

I am planning on taking a small product of mine live soon. I was wondering what kind of hardware you would recommend for a new small website. Is using the 'Cloud'(Amazon) a good option. Or is it ...
jjnguy's user avatar
  • 261
11 votes
8 answers
4k views

How can I improve my Windows XP start up time?

Windows boot time is pretty good, but it takes forever to get to my desktop once I login. Whats the best way to find out whats happening? I only have 3 items in my Startup folder, but the admins at ...
Eric Johnson's user avatar
10 votes
7 answers
87k views

Tomcat won't start - how to check that port 8080 is not in use

Tomcat won't start, and it has worked perfectly before. I suspect something else is running on port 8080. I am running Windows Vista. How do I check that nothing else is using port 8080? I have ...
Ankur's user avatar
  • 2,379
10 votes
1 answer
5k views

EC2 Startup - How to Tell When Windows Ready?

I am working with Amazon EC2, and I have some Windows AMIs backed with EBS. When I launch a new instance from an EBS snapshot, the EC2Config service prepares the Windows machine for me. I know when ...
Dan's user avatar
  • 103
8 votes
4 answers
6k views

Cygwin startup error /usr/bin/id: cannot find name for group ID

I use cygwin at work to get quick access to unix tools and as an ssh terminal. I recently installed some new Cygwin packages and now when I try and open a terminal it is very slow and gives the ...
Greg Bray's user avatar
  • 5,640
8 votes
2 answers
23k views

Getting shell script to run as a daemon on CentOS?

EDIT: For some reason half of my post got truncated, not sure what happened. I will update soon and will post that it is updated here at the top. EDIT: I have updated the post again, sorry for the ...
Lester Peabody's user avatar
7 votes
3 answers
546 views

When a startup should hire a sys admin?

The startup is growing and you have now 5 full-time devs on your team. You have an older application which is up and running in production and a new web application almost ready to be released. You ...
dervlap's user avatar
  • 71
7 votes
2 answers
15k views

mysql doesn't start after relocating data dir

I have a web-server where the default installation of mysql places all its database files in /var/lib/mysql. The partition where /var is mounted has only 2GB of space, so after running in space ...
king_nak's user avatar
  • 203
7 votes
2 answers
24k views

What does userinit.exe do?

When Windows starts, by default userinit.exe runs. What exactly does this program do? I know what it does in general - e.g., initiates the logon script - but I am looking for the full details of all ...
Shannon Wagner's user avatar
7 votes
2 answers
239 views

Delay Windows (member) Server start-up until Domain Controller is available

What is the most efficient way do delay (or pause) the cold start-up of Windows domain member servers until a domain server is available? There are ways to delay the start-up of a server , but it is a ...
Francois Nel's user avatar
7 votes
2 answers
5k views

httpd service will not start on boot under CentOS 6

I am having trouble configuring a CentOS 6 Vagrant setup to start the Apache service on boot. I have tried using chkconfig and the OS seems to just ignore it. When I run sudo chkconfig --list httpd, ...
Zac Crites's user avatar
6 votes
2 answers
29k views

Centos 7. Freeradius fails to start on boot due to priority

I was messing around with FreeRADIUS and MySQL (MariaDB) and it seems FreeRADIUS service can't start properly on startup. But it starts fine using root user or in debug mode (radiusd -X) and works ...
Alex's user avatar
  • 516
6 votes
3 answers
5k views

Error starting postgresql server on ubuntu

I recently stopped the postgresql database (that was working perfectly), and after a couple of days, when I try to start it, I get the errors: 2011-01-03 23:56:27 CLST LOG: could not translate host ...
xain's user avatar
  • 677
6 votes
3 answers
13k views

Why is access to my database very slow? [closed]

I have a mysql database that used to work perfectly fine, but now it is dead slow on startup. When I type in $> mysql -u foo bar I get the following usual message for about 30 seconds before I ...
Fabien's user avatar
  • 161
6 votes
4 answers
285 views

control startup order of several servers

I'm looking for recommendations on how to control the startup order of a rack of machine should they all need to be booted back up. In more detail: Group1: DHCP/DNS/LDAP Server Group2: NFS ...
Cyclone's user avatar
  • 557
5 votes
2 answers
12k views

Windows Group Policy Startup script is not executed at startup

I have written a .cmd file which calls ten different .exe files. I am able to run this .cmd file locally, on my server, and it works fine. When I use [gpedit.msc] (Group Policy Editor) for "Computer ...
D3vtr0n's user avatar
  • 407
5 votes
3 answers
8k views

Automatically start docker container's linked dependencies

I run gitlab in a docker container and it separates its dependencies (MySQL, Redis, Mailserver) quite nicely into separate docker containers. Running them is not a problem, I start them in reverse ...
DASKAjA's user avatar
  • 179
4 votes
3 answers
13k views

How to test /etc/rc.d/rc.local to make sure a command will start successfully at boot?

I'm using tyrantmanager to manage several instances of Tokyo Tyrant. It's working fine. I want to get it to start at boot, so I add the following command into /etc/rc.local: /usr/local/bin/...
quanta's user avatar
  • 51.6k
4 votes
7 answers
521 views

Tools/servers/services to run a web startup office [closed]

For a dev who doubles up as a sysadmin in small web startup, what services/servers/devices do you recommend running? I am also open to best-practices suggestions To get the ball rolling- here are ...
Cherian's user avatar
  • 791
4 votes
4 answers
7k views

Need a way to run a script on windows boot up prior to a user logging in

I need to run a custom script which runs when Windows boots up.I know its possible to run it when a user logs in but I want to run it when the system reboots i.e. prior to a user logging in. The OS in ...
Sharjeel's user avatar
  • 347
4 votes
1 answer
280 views

SSH: How to start a process that won't end after system reboot?

Is there a way to do this so when I reboot my linux server the process will reopen on startup?
David Meyer's user avatar
4 votes
1 answer
16k views

How to schedule VMs to startup and shutdown

I'm running several VMs (Mainly windows XP) on a 2008 server under Hyper-V. I'd like to automatically schedule some of these machines to startup and shutdown according to a schedule. To limit ...
Tom Brown's user avatar
  • 177
4 votes
3 answers
10k views

Changing MySQL startup timeout ([fail] reported although mysql properly started)

I've created a script to cleanup InnoDB storage engine. Everything works fine except that creating the ib_logfile0 and ib_logfile1 files when innodb_log_file_size is set to 1GB takes a while which ...
Max's user avatar
  • 3,553
4 votes
1 answer
326 views

Grub 1.99 default?

I have been running into an issue. I have my grub set to run the only OS on power on, and the BIOS to automatically restart the machine if it dies. The issue is that if the machine dies (from say a ...
Jess's user avatar
  • 409
4 votes
2 answers
3k views

Why does rc.local require absolute paths? How can I run a script at startup that doesn't use them?

I have a script that runs at startup from rc.local in CentOS. This script contains a command to compile my erlang project using a third party build command called rebar. The rebar line fails to ...
mwt's user avatar
  • 43
4 votes
1 answer
1k views

Mysql ndb cluster - node restart

I just setup a mysql cluster on a fairly decent baby (IBM x3650 M3) with 24GB memory, xeon 6core, SAS 6Gbps HDD. Running Debian Lenny 5. 64bits. Ndb version is 7.1.9a. Our database size on MyISAM is ...
Arafat's user avatar
  • 53
3 votes
8 answers
5k views

Windows XP hanging on login screen

I have been given two Eee PC 100HA to manage for some people, they are both running the same hardware and XP home but one is having some strange problems with logging on. The main problem is that it ...
Nathan W's user avatar
  • 133
3 votes
3 answers
2k views

Linux: user defined daemons/services

I'm looking for a framework/library/environment so an ordinary user can set up it's own server processes. These processes should run under his uid as any other user process. However the definition of ...
Felix Schwarz's user avatar
3 votes
2 answers
14k views

How to run a batch script before the windows Logon prompt appears?

I'm looking for a way of running a batch script once (and only once) on boot before the Windows XP Logon prompt appears on screen. What is the easiest way to do this? Also, I need to be able to run ...
orj's user avatar
  • 151
3 votes
1 answer
5k views

How to sequence a proper shutdown and startup of web services with systemd?

I am trying to structure the shutdown and startup of Apache, PHP-FPM and MariaDB services using systemd: These are the additional configuration files in /etc/systemd/system folder: # httpd.service ....
Question Overflow's user avatar
3 votes
2 answers
2k views

Is there reference documentation for CloudInit?

Ubuntu's CloudInit package is very useful; however, the only documentation I've found on all of the available options is in their examples: http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/...
pawstrong's user avatar
  • 131
3 votes
3 answers
3k views

Starting a daemon automatically from init.d

I installed vnstats to see bandwidth statistics, I copied an init.d file tempalte, I placed it in init.d directory, it works ok to access this file and do start/restart/status, but this file should ...
adrianTNT's user avatar
  • 1,139
3 votes
1 answer
1k views

Debian 8 Jessie not displaying startup services and messages

Recently I setup a new box with Debian 8 Jessie (I used Debian 6 and 7 on other boxes). I was disappointed to see the startup messages only on 2 or 3 text lines. No more list of startup services ...
Sierramike's user avatar
3 votes
5 answers
2k views

Run shell script at linux boot but only one time per day

Run shell script at linux boot (Start up) but only one time per day , How can i do it ? I am using Redhat enterprise linux 5
Kumar's user avatar
  • 823
3 votes
2 answers
7k views

/etc/rc.local not being run on Ubuntu Desktop Install

I have been trying to get sphinx to run at boot, so I added some lines to /etc/rc.local but nothing happens when I start up. If i run it manually it works however. /etc/init.d/rc.local start works ...
loosecannon's user avatar

1
2 3 4 5