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

1
vote
0answers
8 views

Using Upstart / init with PHP daemon nohup php daemon.php

Till now I had no real need to learn bash and init scripts as I need to at this point. I have created a custom Twitter app that is persistently, or constantly, connected to the API. It does tasks like ...
0
votes
0answers
11 views

Ubuntu14 stuck after kernel initialization

I've installed a server with Ubuntu 14.04. I ran into this issue only once while installing, but after that I didn't need to reboot and everything went fine. Just before deployment I decided to make a ...
0
votes
0answers
8 views

Start Rails Application on Boot Ubuntu

I am trying to make my application Ruby on Rails (OpenProject) starting with the system boot, but to test the script as root, returns me the error: /usr/bin/env:ruby: No such file or directory. My ...
1
vote
0answers
6 views

What does the procps upstart job start on condition need to be to properly apply sysctl.conf IPv6 settings?

In ubuntu 14.04 disabling IPv6 via sysctl.conf does not work. Though the settings are applied on startup, both /proc/sys/net/ipv6/conf/all/disable_ipv6 and sysctl net.ipv6.conf.all.disable_ipv6 ...
2
votes
1answer
238 views

What is upstart and why has it made a 38.1 GB file in ~/.cache

Randomly today I got a "disk is full" dialog, indicating I only had 1gb left on / and this quickly became 100mb of free space. So I ran the disk analyzer and found a massive 38.1 GB in ...
0
votes
0answers
20 views

how do I diagnose why a process is starting?

I'm running an ubuntu box, mainly as a learning exercise, so I should probably begin by stating that I'm still very much at the "copying commands until something works" stage of unix knowledge. I ...
0
votes
0answers
32 views

Autostart x11vnc in Lubuntu

I am trying to get x11vnc to autostart at boot time to remotely login to a Lubuntu 14.04 box without a local session. I have found several threads related to this issue, but they are mostly outdated ...
0
votes
0answers
32 views

I want to run a script on boot system Ubuntu 14.04 Server

I've done anything like this I made a symlink in /etc/init.d sudo ln -s /home/sts/erp-enterprise/bin/jleaf-apps /etc/init.d then I run the command $ sudo update-rc.d jleaf-apps enable then ...
0
votes
2answers
23 views

Running upstart jobs as root but works like unprivileged users

I Have a application that need to run like root user, but I need that the enviroment, will be of an unprivileged user. For example: ipython, start by root (ubuntu) user; but I need that cann't run ...
2
votes
1answer
27 views

How do I control an Upstart session job over SSH?

I have quite a few Upstart session jobs, that, among other things, start Tor, a development web server, etc. I can use the initctl commands and their abbreviations just fine when I'm logged into the ...
1
vote
1answer
18 views

upstart starts python script but it behaves unexpectedly

The program works when started by cron or from the shell. But when started by upstart, it seems to loop indefinitely. The scripts and the files they use are in the /home/user/ directory, and are ...
0
votes
1answer
133 views

Ubuntu 15.04 systemd vs upstart

Unlike the prior versions Ubuntu 15.04 now uses systemd instead of upstart. To start programs at boot I always created conf-files in /etc/init/. They would look like this: start on ...
0
votes
0answers
19 views

Apache Storm and upstart

I'm trying to start apache storm on Ubuntu 14.04 LTS server with upstart script. The zookeepers instances and the nimbus are starting properly but the supervisor instance can only start when I set the ...
2
votes
1answer
29 views

Stuck on splash screen, does not progress to login manager

My login manager stopped loading, for no apparent reason, instead tty7 was a black screen I could type into but with no effect. I tried several variations of service lightdm restart service sddm ...
0
votes
0answers
52 views

Cannot stop nginx service

It took me a while to find out, but as of some recent-ish update, I can't stop Nginx on any of my Ubuntu 12.04 or Ubuntu 14.04 servers. I run sudo service nginx stop, and I get nginx start/running, ...
0
votes
1answer
40 views

Does upstart really handle all startup scripts?

I am reading the book Ubuntu Server Book 2nd Edition. It states the following: At the moment, Upstart does replace the functionality of init and the /etc/inittab file and manages changes to run- ...
1
vote
1answer
51 views

Problems with Git-All and 15.04

So I'm working with git and I installed the standard version. I set up the ssh keys and was able to clone one of my repositories to the correct folder. Everything was working great and then I decided ...
1
vote
0answers
22 views

Ubuntu Phone sleep command

I want to use a small script initiated by upstart to periodically synchronise calendar and contacts. The script works and it is started by upstart. Since it is in an endless loop until stopped I ...
0
votes
1answer
44 views

Upstart error cd: can't cd

I have the following upstart code and it gives me the following error /proc/self/fd/9: 2: cd: can't cd to /home/sam/Website/ I tried putting outside the script block as per this response ...
2
votes
1answer
32 views

Upstart how to autostart a job after MySQL startup at boot time?

My job is dependent on MySQL. So I want my job could startup after MySQL. I read the upstart cookbook and I find start on can auto start a job. start on started mysql And it works. But I don't ...
1
vote
0answers
16 views

Why is my upstart process constantly respawning?

Here is my current configuration file for the service: description "My App" author "Me" start on runlevel [2345] stop on runlevel [016] respawn respawn limit 99 5 chdir /home/ubuntu/myapp/ script ...
1
vote
0answers
86 views

15.04 upstart&systemd boot problem

I upgraded to Kubuntu 15.04 and cannot start using either systemd or upstart without going into rescue mode. I switched from systemd to upstart without any change. It hangs at the Kubuntu logo and ...
1
vote
1answer
17 views

Event.d not there

Using ubuntu server 14.04.2 I'm trying to get the git daemon on my server it tells me to create an upstart script at /etc/event.d/local-git-daemon. However it seems there is no event.d in /etc. ...
1
vote
1answer
66 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
1answer
80 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
0answers
14 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 ...
3
votes
1answer
51 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 ...
0
votes
0answers
24 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
25 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. ...
1
vote
2answers
208 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
75 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
1answer
99 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
38 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
30 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
557 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
0answers
17 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. ...
2
votes
0answers
141 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 ...
0
votes
1answer
514 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 ...
5
votes
2answers
4k 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 ...
0
votes
1answer
41 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
38 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 ...
1
vote
1answer
159 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 ...
4
votes
2answers
432 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
40 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 ...
3
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 ...
0
votes
0answers
192 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
33 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
69 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
233 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
18 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 ...