0
votes
1answer
1k views

Recommended way to disable atd (and other unnecessary startup processes) in Ubuntu 14.04 LTS?

I just spun up a new Ubuntu 14.04 server and have been having a bit of trouble getting the atd daemon to stop auto-launching. There's been a bit of changing around on the management of startup ...
1
vote
1answer
73 views

how to locate which startup scripts executes riak startup

I have a 64bit ubuntu server in a virtual machine, and I have some scripts running at startup, and I can't seam to locate in which file do we have the riak startup setup. I searched a lot of files ...
0
votes
1answer
864 views

apache2 not starting at boot. Even if set up in runlevels

On my Ubuntu 10.04.4 server apache2 2.2.14 is installed. A few months ago starting apache2 at boot worked fine. Now I've found out that after a reboot apache2 doesn't start automatically anymore. ...
3
votes
2answers
862 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
1answer
881 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 ...
1
vote
3answers
354 views

How to execute further commands in a Linux startup script after starting a process

I am trying to write a startup script that executes an application (MapProxy) after a server reboot. My server runs Ubuntu 11.04 Natty 64 bit. In the script, I execute a python script exec python ...
1
vote
2answers
553 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 ...
1
vote
2answers
794 views

Best way to start a program at boot on Ubuntu Server

I have a server running Ubuntu Server 11.10 and I have some programs I want to start at boot time such as Nginx, my Unicorn workers etc. In fact, I know how to start my programmes either by adding a ...
4
votes
1answer
279 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 ...
1
vote
1answer
460 views

(Ubuntu) How to configure startup application?

I'm trying to configure the startup application in Ubuntu. I want to perform the following tasks in sequence when a user login to Ubuntu's desktop: Ensure that the webserver is started ...
0
votes
2answers
91 views

(Ubuntu) How to ensure that webserver has been started before the desktop environment is shown?

I'm trying to create my own Linux distro in LiveCD format. I have put a webserver in my Linux LiveCD, and make it automatically startup during boot time. I have made the LiveCD to auto-login to ...
2
votes
2answers
3k 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 ...
0
votes
0answers
111 views

Looking for a start-up error on Ubuntu after upgrade

I performed a do-release-upgrade through SSH to upgrade a server from 8.04 to 10.04. I have followed the on-screen infos through the upgrade and everything seemed to go well. However, after the ...
0
votes
3answers
214 views

Ubuntu restarting a startup program

I have a program that I added to /etc/rc.local to have it run as soon as the server starts. The problem is that sometimes the program stops responding and I need to restart it but I can not restart ...
4
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 ...
1
vote
4answers
900 views

Run Python Server at Startup

I've got a few Python based servers that I need to run, and would like them to start automatically when I start my Ubuntu Server box. What is the best way to execute them like this? I was hoping I ...
0
votes
2answers
1k views

Startup services running twice

When I reboot my ubuntu 10.04 32 bit machine all the startup services started twice. The startup process looks like this: Starting apache2 Starting apache2 (98)Address already in use: make_sock: ...
1
vote
1answer
2k views

What's the correct way to start a Ubuntu Upstart script from another Upstart script?

I have three Ubuntu Upstart scripts: browser runs an instance of firefox as an unprivileged user browsers starts when screen is started and launches browser PORT=1 browser PORT=2 browser PORT=3 ...
0
votes
1answer
513 views

ubuntu startup script problem

i have this startup script under fedora running fine #!/bin/sh -e export P4JOURNAL=/var/log/perforce/journal export P4LOG=/var/log/perforce/p4err export P4ROOT=/var/local/perforce export P4PORT=1666 ...
0
votes
2answers
550 views

How to install MySql on Ubuntu 10

I have done the following: shell> sudo apt-get install mysql-server-core-5.1 shell> sudo apt-get install mysql-client-core-5.1 Both seemed to complete fine with no errors. I have the ...
1
vote
1answer
749 views

can start-stop-daemon only run as su

Ubuntu Lucid. I am writing a start/stop script for a program. The program shall be started/stopped by the crontab. Running it as program-user, error message: start-stop-daemon command not found. ...
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
1answer
229 views

Network Manager Startup Hook

How to add a line like: search somesuffix.com to /etc/resolv.conf on Network Manager startup in Ubuntu?
6
votes
6answers
11k 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 ...
1
vote
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' ...