The tag has no wiki summary.

learn more… | top users | synonyms

16
votes
7answers
25k 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 ...
13
votes
2answers
9k 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 ...
12
votes
7answers
33k views

How do I get apache to startup at bootime on Linux

I have installed apache2 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 redhat distribution: Linux <hostname> ...
9
votes
3answers
19k 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 ...
8
votes
1answer
3k 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 ...
8
votes
1answer
8k 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?
8
votes
3answers
14k 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, ...
8
votes
2answers
9k 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 ...
7
votes
3answers
488 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 ...
6
votes
6answers
12k 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 ...
6
votes
4answers
166 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 ...
5
votes
2answers
3k 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 ...
5
votes
3answers
2k 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 ...
4
votes
3answers
6k 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 ...
4
votes
7answers
471 views

Tools/servers/services to run a web startup office

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 ...
4
votes
3answers
4k 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 ...
4
votes
1answer
240 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?
4
votes
1answer
280 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 ...
4
votes
1answer
1k 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 ...
4
votes
1answer
545 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 ...
3
votes
8answers
3k 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 ...
3
votes
3answers
1k 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 ...
3
votes
4answers
3k 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 ...
3
votes
2answers
1k 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 ...
3
votes
7answers
14k 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 ...
3
votes
2answers
4k 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 ...
3
votes
2answers
983 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: ...
3
votes
3answers
236 views

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 ...
3
votes
1answer
947 views

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 ...
3
votes
2answers
2k views

Windows pptp VPN at startup

I'd like to connect windows pptp client at startup. Is it possible? because I need a vpn link between two windows server and so (because it's a server) I don't want to let a logged user to the ...
2
votes
8answers
258 views

A servers hardware and software for a new startup

We are a new startup, and we don't have much money right now, but we want to invest what we should. We building a website that will let users to upload pictures, and have a galleries. It's very ...
2
votes
3answers
398 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 ...
2
votes
2answers
9k 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 ...
2
votes
2answers
3k views

How can i run shell script at boot (start up)

How can i run shell script every time my system boot ( start up ) in linux (RHEL 5)?
2
votes
1answer
1k 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 ...
2
votes
2answers
1k views

Missing all users startup folder, is there a way to make an active one?

The all users profile startup programs folder is missing under this path. The workstations are running windows 7. C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup Is there a way to ...
2
votes
3answers
3k 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 ...
2
votes
2answers
356 views

Need help for a Unix startup script

I am very weak on unix shell scripting. Is there a way to create Unix shell script which will start on server boot time only, and will execute the following commands in order: # cd /mysql # ...
2
votes
2answers
2k views

How To Start NX/VNC Session At Ubuntu Boot Time?

I want an NX or VNC session to start automatically when an Ubuntu server boots up - without a monitor connected - loading a certain user's desktop and keeping it loaded and ready until I log in via NX ...
2
votes
2answers
531 views

Explain steps RedHat distros take to boot into Emergency mode?

Please, I am not looking for a rehash of what's stated in RedHat's documentation regarding emergency mode. I would like to know what steps are involved from the time grub hands off to the kernel to ...
2
votes
3answers
2k views

Help me get clear on daemonizing a startup script

I need some linux / ubuntu help: I have a HTTP Comet server that I run with the following command: $ node comet.js > /dev/null & The > /dev/null bit is so all output is "shredded", and the ...
2
votes
7answers
272 views

Small Business office of ~ 10 people: Ubuntu (stable) or other OS?

A small startup of approx 10 - 20 employees is looking into using Open Source / Free technology to save money on Operating System license fees, etc. Assuming an Admin is competent enough to 'keep up' ...
2
votes
1answer
218 views

Reload puppet on change of network configuration

We are using puppet version 2.7.11 on a debian client with autostart enabled (START=yes in /etc/default/puppet). We connect to the puppetmaster using a certificate with the FQDN ...
2
votes
1answer
2k views

mount can't find /dev

I get this message on my bootup screen: mount: mounting udev on /dev failed: No such device W: devtmpfs not available, falling back to tmpfs for dev How do I get rid of it and what does it mean? I ...
2
votes
2answers
256 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, ...
2
votes
2answers
4k 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 ...
2
votes
4answers
861 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
2
votes
2answers
16k views

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 ...
2
votes
1answer
1k 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, ...
2
votes
2answers
2k views

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 ...