Upstart is an event-based replacement for the /sbin/init daemon which handles starting of tasks and services during boot, stopping them during shutdown and supervising them while the system is running.

learn more… | top users | synonyms

6
votes
2answers
5k views

Where are Upstart log messages on Ubuntu 13.X?

On Ubuntu 12.04, I can find Upstart log messages in /var/log/syslog. Commands: # initctl log-priority info # initctl emit hello Log: Apr 1 01:56:56 precise64 kernel: [ 8365.820425] init: ...
0
votes
1answer
22 views

Migrate basic upstart script to systemd

I just upgraded a server from Ubuntu 14.10 to 15.04, and a couple of services that I start via custom upstart scripts are no longer running. My understanding is that I need to re-write them as ...
0
votes
1answer
16 views

Setting up Minecraft server to start and stop automatically

I followed this tutorial: http://minecraft.gamepedia.com/Tutorials/Ubuntu_startup_script ...and I am getting an error that says: start: Unknown job: minecraft-server ...when I run the start or ...
0
votes
0answers
8 views

upstart script to start after dns is ready?

Is it possible to make an upstart job conf so that it starts after DNS is started through /etc/init.d/bind9? I'd rather than have to modify the default system /etc/init.d/bind9 to make it emit ...
1
vote
1answer
4k views

How to repair installation, accidentally deleted /sbin/initctl

I'm running Ubuntu 12.04 on a VirtualBox. I was trying to create a central log server with rsyslog. At some point I made changes to the conf file and tried to restart rsyslog, but started getting the ...
25
votes
10answers
31k views

Why isn't my upstart service starting on system boot?

Following on from this question, I have written a simple upstart service (/etc/init/pms.conf) for my headless Ubuntu Server 11.04 box as follows: start on filesystem and net-device-up IFACE=eth0 stop ...
3
votes
1answer
40 views

How to build .deb package that adds a GUI program to session startup?

I have a built .deb installer that installs the GUI(1) program myprog. I would like this .deb installer to add myprog to the Session Startup programs for all the users on the system. Should this be ...
3
votes
4answers
9k views

How do I change the user Transmission runs under?

I installed Transmission through a PPA and the daemon starts on boot. I want to change the user that runs the daemon because I want the downloaded files to be under the same user as my XBMC ...
0
votes
0answers
12 views

How can I make one legacy sysvinit script (xen) start before an upstart job (lxc)?

I am running Xen with an Ubuntu trusty Dom0 in the following configuration: FreeBSD DomU vault exports ZFS filesystem /storage/backuppc via NFS. Ubuntu Dom0 keep mounts vault:/storage/backuppc at ...
1
vote
0answers
14 views

Write a Custom Status Check for Upstart

I have an Upstart file to launch a daemon. I don't know how many times it forks and when I last tried to experiment to figure that out, upstart wedged hard and I had to power-cycle the system. ...
4
votes
2answers
1k views

vivid - failed to connect to upstart: connection refused

Just updated via do-release-upgrade and now certain upstart jobs such as fail2ban and plexmediaserver will not start (have tried reinstalling) sudo service fail2ban start Job for fail2ban.service ...
6
votes
2answers
5k views

How should I start MongoDB on a NUMA machine?

When I first installed MongoDB 2.2.3 with apt-get, following the instructions from 10gen installation guide, it auto starts when the server starts. However, after following the instructions in ...
1
vote
2answers
87 views

My wireless has intermittent DNS errors, how do I restart network-manager in 15.04?

My wireless is a bit buggy on Ubuntu, every now and then the DNS will cut out for no reason, and I'll need to run sudo restart network-manager to actually fix it. However I just upgraded to 15.04, ...
1
vote
0answers
39 views

Upstart session job not being run

I created an upstart session job which should take care of stopping my unprivileged LXC containers when shutting down or restarting the system. I placed the configuration in ...
2
votes
0answers
48 views

Remove upstart option from GRUB

For each Kernel I use with my 15.04 install I have three options in GRUB: normal (systemd) upstart recovery How can I remove the upstart option for all my Kernels?
1
vote
2answers
33 views

WHERE to add more IPv6 addresses

I have a script to add many new IPv6 addresses on reboot and that code is in /etc/rc.local. The problem with this is that service processes (such as DNS server and web server) get started before the ...
0
votes
1answer
27 views

ENV variable within an ENV variable in upstart script

I'm trying to include one ENV var in another in my upstart script: env CONFIG_NODE_NAME=my_$HOSTNAME_node But it doesn't translate it, it just keeps it as $HOSTNAME.
0
votes
1answer
310 views

Uninstall broken Plex Media Server from 15.04

I tried installing Plex Media Server on Ubuntu 15.04 but it didn't work because of the migration to systemd from Upstart. Unfortunately I can't seem to be able to uninstall it now either, since the ...
0
votes
1answer
358 views

15.04 Error updating boot sequence update-rc.d

I am trying to get Sickrage to auto start, and I'm hitting a wall at the command sudo update-rc.d sickrage defaults Here is the error: initctl: Unable to connect to Upstart: Failed to connect to ...
0
votes
0answers
14 views

Help writing an Upstart script

On my Ubuntu 14.04.2 server there's an installation of ownCloud with its News app. Now, for some reason or another, a couple of days ago the app stopped pulling new articles via owncloud cron.php. ...
7
votes
3answers
4k views

Upstart tracking wrong PID of process - not respawning

I originally asked this question on StackOverflow. Then realised that this is probably a better place. I have bluepill setup to monitor my delayed_job processes. (Ruby On Rails application) Using ...
2
votes
0answers
78 views

15.04 upgrade issue upstart [closed]

ah I feel like an idiot! So I decided to upgrade my distro (like a dummy because I am hosting something for a school assignment) on an openVZ server. Now I can't get systemd working. I get the ...
3
votes
0answers
49 views

How do I stop a job before its dependencies?

I have a job that does some things and uses other locally installed services (such as the mail server). Sometimes I do an ACPI shutdown but I need this service to complete the ongoing operation ...
0
votes
1answer
17 views

SIGRTMIN on plymouthd after switching from upstart to systemd

I just updated my Kubuntu installation to vivid (15.04). After updating, the default initialization with systemd fails shortly after showing the kubuntu animation (plymouth). The last log file entry ...
0
votes
0answers
33 views

Ubuntu wont boot under systemd

I have just installed Ubuntu 15.04 on my laptop, the installation went fine but Ubuntu will not boot. Using the default boot options I get stuck at a prompt to enter an encryption passphrase that I ...
26
votes
2answers
19k views

How can I replace upstart with systemd?

Since Mark Shuttleworth decided to switch to sytemd in the future, I was wondering if I can install it on my Ubuntu now?
2
votes
1answer
4k views

Ubuntu 15.04 with Kubuntu Plasma Desktop not booting

I upgraded to Ubuntu 15.04 today. The Laptop booted fine. However, after that I also installed Kubuntu Plasma Desktop from the Ubuntu Software Center. On booting default “Ubuntu” I get a black blank ...
4
votes
2answers
307 views

Rationale for switching from upstart to systemd?

The larger change that comes with Ubuntu 15.04 is the switch from upstart to systemd as the default for managing boot and system service startup. Could anyone adequately explain to a non-technical ...
1
vote
1answer
107 views

upgraded to 15.04 init conf file doesn't work

I've recently upgraded to 15.04. On 14.10 I had a conf file which would start a program on upstart. On 15.04 that doesn't work and the program won't start. This is the .conf file: # mbpfan - A ...
1
vote
1answer
22 views

How to make a respawning Hadoop Upstart job?

You can start a nodemanager instance by running yarn-daemon.sh start nodemanager. If you make an upstart job out if this, you have two problems: The yarn-daemon.sh script will be executed constantly ...
0
votes
0answers
80 views

How to run docker-compose at bootup?

This is on an Ubuntu 14.04 LTS VM running Docker and I suspect respawn is the cause of my problem but not sure of the ideal solution. Current upstart script (cat /etc/init/dockersuitecrm.conf) ...
1
vote
0answers
24 views

Massive log file and 100% CPU usage for 'upstart'

I have a fresh install of Ubuntu 14.10, and I installed some programs like MATLAB, Chromium, Evolution and other fairly harmless stuff. However, I have run into some trouble recently. The file ...
2
votes
3answers
50 views

How to register an upstart service?

I wrote an upstart service following the Ubuntu wiki article and created a .conf file in /etc/init/. There're no instructions on how to proceed to make the script available in initctl list and for ...
2
votes
0answers
155 views

/bin/sh: 0: can't access tty; job control turned off [closed]

I'm building a custom image to run on a simulator. the kernel boots fine and everything but generates this warning: /bin/sh: 0: can't access tty; job control turned off and the terminal does not ...
0
votes
0answers
13 views

Upstart task is terminating spawned processes

I am using Ubuntu 14.04. I want to create an upstart task that will run a simple script on system boot. The script runs properly when run from the command line. Its job is to iterate a number of ...
0
votes
0answers
22 views

upstart .conf script not running at startup

I have a .conf file I run at start up. This file runs a script file i have stored elsewhere. But it does not run. Its supposed to launch node.js and two tabs on firefox. When i launch firefox after ...
0
votes
0answers
30 views

How to redirect the output to a log file from upstart script?

I am using upstart to start/stop my c++ app server as shown below - start on runlevel [2345] stop on runlevel [016] chdir /opt/tetra/app_server respawn post-stop script sleep 30 end script ...
2
votes
1answer
14 views

Where should I put my Upstart scripts?

I'm trying to figure out Upstart and I'm not sure if I should put them in /etc/init or ~/.config/upstart And what is the difference between the locations?
0
votes
1answer
20 views

Which upstart jobs are optional/unnecessary that I can eliminate by renaming from xx.conf to xx.skip [closed]

I know HOW to have an upstart job not start (mv cron.conf cron.skip). WHICH upstart jobs are OPTIONAL or UNNECESSARY and still have my system function. I DO NOT NEED cron, encription, bluetooth, ...
1
vote
0answers
29 views

Problems with starting x11vnc on boot

I'm trying to start up x11vnc on boot, without the need to log in, but I ran into quite a few problems and none of the guides helped. First of all, rc.local does not work, as it apparently starts ...
4
votes
0answers
280 views

Upstart not reopening log files on logrotation

We use upstart to manage our services on our Ubuntu servers. They produce logs which are logged out to /var/log/upstart/SERVICE_NAME.log Then daily, the log files are rotated using the logrotation ...
0
votes
1answer
152 views

Upstart vs Systemd Performance

Has anyone measured difference in performance between these 2 systems on Ubuntu? Systemd is coming, and it has it's merits, but I fear Upstart will be tough to beat on Ubuntu, since it had years of ...
10
votes
2answers
11k views

Upstart is not seeing my new script

I've added a new script to /etc/init/ called minecraft.conf which contains the script: start on startup stop on shutdown respawn respawn limit 20 5 script export HOME="/root" exec ...
1
vote
2answers
3k views

Installed plex media server, and it wont start

I just installed plex media server via the software center, and when I try to start it I get initctl: Unknown job: plexmediaserver How can I fix/debug this issue?
2
votes
6answers
13k views

Upstart can't start MySQL

After an installation of MySQL, I get a few errors and I can't run the MySQL daemon. I've tried uninstalling and reinstalling several times, and I'm not sure what's going on. Here's a snippit of what ...
0
votes
0answers
36 views

supervisor servce doesn't want to autostart

I installed supervisor: sudo apt-get install -y supervisor When I restart the system it doesn't start. So I start it manually: $ sudo service supervisor start Starting supervisor: supervisord. ...
345
votes
7answers
396k views

How to enable or disable services?

I read about how to enable and disable services in Ubuntu and it seems that there are different possibilities to manage them. The first method I found is update-rc.d to add new services to startup, ...
1
vote
1answer
29 views

init.d script + upstart help/advice

I have written up a Shell init.d script named "My_first_initd_script". The script works great when I run it from the /etc/init.d/ -working in the foreground. I would like to ...
1
vote
1answer
105 views

How should I configure Ubuntu/Upstart for unusual network configuration?

I recently installed Ubuntu Utopic 14.04 LTS on a new server box I built specifically to host some virtual machines. The network configuration for this box, which contains two NICs, exposes the two ...
0
votes
1answer
61 views

Upstart or Systemd

So I'm confused. I'm getting a lot of mixed information via Google. As of today, what is Ubuntu using going forward? Is Ubuntu choosing to use and support Upstart, or are they using Systemd? I would ...