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.

229 questions
3
votes
1 answer

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 .include…
Question Overflow
  • 2,103
  • 7
  • 30
  • 45
3
votes
2 answers

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 this command before the network has started (or if…
orj
  • 151
  • 1
  • 1
  • 6
3
votes
2 answers

Run Python script at startup using upstart

I'm trying to create an upstart script to run a python script on startup. In theory it looks simple enough but I just can't seem to get it to work. I'm using a skeleton script I found here and altered. description "Used to start python script as a…
never_odd_or_even
  • 325
  • 1
  • 4
  • 12
3
votes
2 answers

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:…
pawstrong
  • 131
  • 1
  • 6
3
votes
1 answer

Cannot get Nginx to start on boot with Ubuntu

I'm running Ubuntu 12.04 and Nginx 1.2.1 which I compiled from source. I tried the below commands to get nginx to start on boot: $ sudo update-rc.d nginx default $ sudo update-rc.d nginx enable 2345 In both cases I'm getting the following…
Max
  • 3,523
  • 16
  • 53
  • 71
3
votes
2 answers

Jetty 7 gives HTTP ERROR: 503 - service unavailable

I am getting the error 503 when I try to start Jetty. Does anyone know what this might mean. I am running Jetty 7 and starting it with the start.jar file. If anyone knows how to configure Jetty to work on Windows, that would be helpful. Thanks.
Ankur
  • 2,379
  • 7
  • 22
  • 24
3
votes
3 answers

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 start automatically on system boot, correct? It…
adrianTNT
  • 1,077
  • 6
  • 22
  • 43
3
votes
8 answers

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 hangs at the login screen for ages and sometimes…
Nathan W
  • 133
  • 2
  • 7
3
votes
3 answers

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 which processes should be started, with arguments…
Felix Schwarz
  • 213
  • 3
  • 12
3
votes
2 answers

/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 fine as does /etc/rc.local It's listed in the…
loosecannon
  • 131
  • 1
  • 4
3
votes
3 answers

Unbricking a rack-mount server...VGA out is unresponsive, no network boot activity

I have an old rack-mount (4u) server which booted from the network (with PXE) when it was in use. I was aiming to install debian or wot not on the hard drives (it has 5), so I tried wireshark and a DHCP server on another box. The server sent out…
marcusw
  • 163
  • 5
3
votes
1 answer

Building a small server farm

I am planning to set up a Tech startup company that will provide web application solutions. Eventually we hope to diversify into different areas such as possibly social media or other services. For now we plan on running a high demand (from 1000 to…
RayQuang
  • 674
  • 1
  • 9
  • 16
3
votes
5 answers

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
  • 823
  • 3
  • 20
  • 43
2
votes
1 answer

Set password for local admin account on all computers in domain

Before you consider what I want to achieve as insane from a security standpoint, please continue reading: I'm setting the password for the local admin account on all computers in the domain with a startup script which contains the password in…
fjf2002
  • 121
  • 1
  • 5
2
votes
1 answer

Windows - Webserver cannot bind to port 80, but no known processes are using the port

Long time ago I have created a Powershell script that stops the Apache-service, delete the webserver logs and the start the service again. Have had no issues until recently when the stop-process has started to time out, the well known error "The…
rhellem
  • 295
  • 1
  • 5
  • 14