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

0
votes
0answers
7 views

I can't get any information or help about an init process called 'scip' which has a log /var/log/upstart/scip.log

My laptop is running Ubuntu 14.04 and I have strange WiFi issues. In looking at /var/log/syslog I see a rapidly repeating error about a crashing init called scip: "Jul 29 09:03:17 ppzuav-UltraPro ...
5
votes
1answer
72 views

How to make an app run as a daemon on Ubuntu when installed?

I have a Java app - although the answer here should be the same regardless of whether it is Java, Ruby, Python, etc. - that I would like to distribute in such a way that when devops folk go to install ...
2
votes
1answer
93 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
0answers
7 views

Why start-stop-demon doesn't signal property that daemon has started/stopped

Here's a part of the daemon script for BtSync at /etc/init.d/btsync: do_start() { start-stop-daemon --start --verbose --oknodo --background --user $CHUID --user $CHUID --pidfile $PIDFILE --exec ...
1
vote
0answers
23 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
0answers
19 views

Noticable Faster Boot With Upstart, 15.04 [on hold]

It takes about a minute to boot with systemd, but however, with upstart just 20, most of the time 10 seconds. I actually can just switch from systemd to upstart, but upstart is not the default init ...
1
vote
0answers
9 views

start on ( condition ) in file /etc/init/rc-sysinit.conf

I am actually trying to add a boot options to start only the filesystem or start it with the static-network-up based on some system settings. We have a standard installation for multiple types of ...
1
vote
2answers
82 views

restart my app server automatically through upstart script

I have a Ubuntu 12.04 machine in which I am running my C++ app server which I am controlling through upstart script. Meaning whenever my app server crashes my upstart script will restart them back ...
2
votes
2answers
530 views

Upstart: report (email, log) on respawn and failure

I would like to get an email when an upstart job fails and respawns, and when all respawns are depleted, and the job fails. How can I do that?
2
votes
6answers
14k 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 ...
1
vote
1answer
113 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 ...
1
vote
0answers
15 views

Why is systemd installed and running by default on Ubuntu 14.04? [duplicate]

According to my research, "systemd doesn't work with 14.04". However, on all my Ubuntu 14.04 "Trusty" machines, systemd is running: jay@host:~$ lsb_release -a No LSB modules are available. ...
0
votes
2answers
52 views

Installed 15.04, cannot restart ssh daemon

As the title says, I installed 15.04. One of the first things I did was sudo apt-get install openssh-server. The next command was sudo restart ssh, which is greeted with an output of: restart: ...
1
vote
0answers
17 views

Job on Upstart not started

I'm trying to start my application at boot, but I can not ... the script in upstart calls another script, I'm not getting or whether the 2nd script is called, follows the two scripts: 1º Script ...
0
votes
0answers
22 views

Cannot extract package when execut node-webkit application in upstart

I wrote an application using node-webkit and this application needs to be executed when the ubuntu system boot-up every time. I put the command, /path/nodewebkit/nw /path/myapp.nw , into a upstart ...
1
vote
2answers
25 views

How to stop an Upstart Job(Service)

I thought this was easy but it does not seem to. Here is my system info: # nginx -v nginx version: nginx/1.8.0 # uname -a Linux ip-10-0-0-247 3.2.0-69-virtual #103-Ubuntu SMP Tue Sep 2 05:21:29 UTC ...
1
vote
1answer
9 views

How to reverse this dpkg-divert command?

I need to reverse what these lines did: sudo dpkg-divert --local --rename --add /sbin/initctl ln -s /bin/true /sbin/initctl I did this to switch from systemd to upstart so I could finish installing ...
0
votes
1answer
61 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 ...
1
vote
2answers
201 views

MongoDb installation failing

I am following te simple steps to install mongodb: First: apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 Worked Good Second: echo "deb ...
0
votes
0answers
18 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
10 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
52 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 ...
10
votes
4answers
4k views

What is Upstart?

Which operating systems besides Ubuntu use it?
10
votes
3answers
13k 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 ...
2
votes
1answer
133 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?
2
votes
1answer
246 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
1answer
639 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
24 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
81 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
42 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
27 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 ...
3
votes
1answer
32 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
21 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
272 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
33 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
53 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
1answer
49 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
102 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 ...
12
votes
2answers
11k views

How do I set up a service?

I have a script that I would like to run as a service on my Ubuntu Server 11.04 headless box. That is, I want to have the correct files under /etc/init.d/ and to be able to control it via the service ...
0
votes
1answer
68 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 ...
3
votes
1answer
372 views

Is init.d “safe” enough to use or should i use `runit` or `daemontools` on a server

I am looking to deploy my application on a server on which I would have no access in the future. I would like to have an indication of start-up errors generated by my program in particular and the ...
5
votes
1answer
2k views

reliably restarting services using upstart or runit

I want to reliably restart my app and web server processes on crash. If I understand correctly, runit starts every service as a child process. If the child process crashes this sends a signal to the ...
1
vote
0answers
18 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
112 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
22 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. ...
7
votes
2answers
6k 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
173 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 ...
1
vote
1answer
107 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 ...
1
vote
0answers
26 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 ...
2
votes
1answer
5k 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 ...