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
10 views

Upstart not resolving symlink

I have my server.conf in a web project and I have symlinked it to the /etc/init directory like so. $ ln -s /var/www/[mysite]/system/server.conf /etc/init/server.conf The config file is fine, the ...
0
votes
0answers
126 views

ubuntu 16.04 blank screen at bootup

I am having a problem when booting up Ubuntu (both 15.10 and 16.04). I am getting the following error: $ cat ~/.xsession-errors openConnection: connect: No such file or directory cannot ...
0
votes
0answers
40 views

14.04 LTS Server - Ubuntu won't complete boot for no clear reason

My Ubuntu 14.04 server does not boot anymore and I have not been able to find a clear reason for that in the logs. I do not have physical access to the server, however I can start a rescue GRML live ...
0
votes
0answers
20 views

how to write upstart script for a background service (db)

I am on ubuntu 14.04 server and I am trying to write script for my database. i added this file to /etc/init/neo.conf: description "neo4j upstart" start on startup stop on shutdown script echo $$ ...
1
vote
0answers
14 views

xrandr reporting wrong resolution after booting from script started with upstart

I have a script in /home/username/.config/upstart myscript.conf ... description "my startup scripts" start on desktop-start exec ~/scripts/startup.sh start that startup script eventually calls ...
0
votes
0answers
16 views

Facing issue with Ubuntu 15.10

I'm using the latest version of Ubuntu, and today I install Tomcat for hobby project, spend some time opening nautilus for a short period of time. After then rebooted the system and now I just see ...
1
vote
0answers
13 views

Power on-off-on needed to boot laptop

Toshiba Satellite C660 01C01H 32-bit laptop (specifications at http://bit.ly/1PPMN30) Ubuntu 14.04.4 Trusty Tahr LTS When I switch on the laptop the Toshiba boot screen fails to appear OR the screen ...
2
votes
1answer
58 views

Upstart Script not catching mono application's start or stop

I've used the below script both with and without expect fork. It's purpose is to start a .exe file on start-up, and if it fails, to restart it. The mono application must be started by root/sudo to ...
0
votes
0answers
54 views

Gogs in Ubuntu 15

Hi I have install gogs in Ubuntu 14 but after I upgrade to Ubuntu 15 I got the error: Job for gogs.service failed because the control process exited with error code. See "systemctl status ...
0
votes
0answers
12 views

Run Upstart session job at login and with networking

I have an Upstart Session Job at ~/.config/upstart/desktop-bg.conf. I want the job to run on the desktop-start event (on login) and when networking is up. The job calls a python script that fetches an ...
1
vote
0answers
188 views

16.04 beta — problems with samba (systemd related) and nautilus (launcher related)

I decided to take the plunge on doing a do-release-upgrade tonight from 14.04.4 to 16.04. Went pretty well -- the display died mid-upgrade and I wasn't able to ssh in to check on things, so I had to ...
2
votes
0answers
30 views

What was the behavior before modern init replacements?

Based on this excellent answer on changes to init daemons: What is Upstart? ...it seems like modern init replacements including upstart and systemd have added functionality because they are event ...
1
vote
1answer
129 views

Run MongoDB service as daemon of SystemD on Ubuntu 15.10

MongoDB just supports versions of Ubuntu Long Term Support (LTS). The last is Ubuntu 14.04 LTS, where the init process is managed by Upstart proprietary of Canonical. However I'm using Ubuntu 15.10 ...
1
vote
0answers
15 views

Need to restart rinet manually on reboot

I redirect an internet connection through my desktop from WiFi to Ethernet for use by a Raspberry Pi. I then use rinet (manpage) to redirect one port back through the desktop so that I can access a ...
0
votes
0answers
13 views

created a upstart but it doesnt give me stop command

I created my first upstart script in /etc/initd/myapp1.conf if I reboot the instance, I can see my app is running, but I can not do sudo stop myapp1 here is my upstart script # ...
0
votes
1answer
19 views

Upstart virsh commands fail on startup even with libvirt-bin running

I have an upstart job that is configured to run a one-off script with a few virsh commands to import and start VMs. This job is configured to start on started libvirt-bin. However, I'm encountering ...
0
votes
0answers
190 views

initctl reload-configuration command not found

Trying to follow the tomcat installation steps listed here But cant past this step $ sudo initctl reload-configuration getting the following sudo: initctl: command not found I'm not able to find ...
0
votes
1answer
53 views

Best way to deactivate Bluetooth on system startup? (with systemd and not upstart)

What is the best way to deactivate Bluetooth for every startup with systemd? There are a lot of examples, but all of them work with upstart and rc.local. With Ubuntu 15.10 rc.local is disabled by ...
0
votes
0answers
22 views

upstart tracks dead pid, and respawn doesn't happen

I have a daemon which runs in 3 stages, and in the first stage there are 3 fork()s and with some effort I could get upstart to track its PID. Now, I can do stop/start on the job. But if the job is ...
0
votes
0answers
36 views

bash command doesn't run in upstart

I'm setting up a django project following H. Percival's TDD. By the end of the chapter I setup an Upstart process to start the server with Gunicorn using Nginx as well. My upstart file ...
0
votes
1answer
71 views

How do I start/stop failed upstart job?

I have an upstart script in /etc/init/myexample.conf. This job basically runs a java jar file. Normally, I can start and stop this using sudo start myexample and sudo stop myexample. I changed the ...
0
votes
1answer
41 views

How to use shopt command in upstart configuration file?

I am trying to create an upstart configuration file where inside the script section I am using shopt command to set the nullglob paramater - shopt -s nullglob However, with this I am getting the ...
0
votes
0answers
27 views

Restart Upstart Service From Jenkins

I have a jenkins continuous integration service running that manages the automated deployment of our software to a development machine. So far, I have successfully set up the server to copy over the ...
0
votes
0answers
24 views

when i want to install lamp stacks or i do a update i get these runit and dpkg errors

whenever i want to install lamp stack i get these errors about dpkg and runit: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused dpkg: error ...
0
votes
1answer
79 views

Google Cloud Print server gcp-cups-connector wants password for user gcp

I'm trying to set up a Google Cloud Printer server using CUPS Connector on my 64-bit Ubuntu 14.04 computer and the Google-provided gcp-cups-connector executable. I followed the instruction of the wiki ...
0
votes
0answers
62 views

Ubuntu upstart job for Redis server

I have written an upstart job for start/stop redis server. my ubuntu user is amila. Below is the .conf file code. I can start the redis server but cannot stop the server. when I , ps -ef | grep redis, ...
0
votes
0answers
42 views

Upstart on 15.10

How can I properly configure upstart on 15.10? Explanation: I needed MongoDB, which does not officially support 15.10. When I installed it I had a series of messages that essentially led me to ...
3
votes
1answer
136 views

How to autorun a ruby script in Ubuntu?

How hard can it possibly be to run a ruby script on startup?! Fairly tough apparently: I'm using rvm and running ruby 2.3.0. which ruby returns /home/ubuntu/.rvm/rubies/ruby-2.3.0/bin/ruby The ...
0
votes
0answers
35 views

How to run service on behalf of www-data when getting error “This account is currently not available”

I got a script which works on one machine, but fails on another. The error is "This account is currently not available" Please help me to fix the script #!/bin/bash ### BEGIN INIT INFO # Provides: ...
0
votes
1answer
94 views

How to set up systemd after failed upgrade

I recently upgraded Kubuntu via update manager from 14.04 to 15.10. Apparently a bad idea. I can now only get a loggin screen. Startx results in: (EE) Fatal server error: (EE)could not create lock ...
0
votes
0answers
26 views

Upstart Ruby version issue

I am trying to get Upstart to fire up Sidekiq (https://github.com/mperham/sidekiq/wiki/Deploying-to-Ubuntu). I can manually start it but the same command fails in the Upstart script. I have piped ...
0
votes
0answers
17 views

Ubuntu Server GUI at specific runlevel

I have just recently installed Ubuntu Server, of course for server purpose. It is ok that there is only command line interface but I need GUI only for browser, nothing else. (Terminal browsers are ...
0
votes
0answers
48 views

USB keyboard not detected when booting 15.10 with upstart or in recovery mode

The story: I just had to boot my 15.10 64bit machine using upstart instead of the default systemd (selected in the GRUB boot menu's "Advanced options for Ubuntu") to boot past a network failure. ...
0
votes
0answers
17 views

Truncated core files on Ubuntu, process uses upstart

I have a process with a large memory foot-print (uses huge-pages). On asserts/errors, the core files obtained are truncated, though there is plenty of disk space. I have the following in upstart: ...
3
votes
1answer
239 views

upstart job for sidekiq not working

Below is the upstart script for sidekiq. Running upstart sudo service sidekiq start Gets the following error sidekiq: unrecognized service Following is the sidekiq.conf content # Just a custom ...
0
votes
0answers
17 views

Testing upstart

This is a follow-up to a previous post. I have an app, tvheadend, that runs on my Ubuntu box, a $35 odroid SBC. The application is in /usr/local/bin. If you launch it from the command line with ...
0
votes
0answers
35 views

service [sname] restart not working like I expect

I am having some trouble getting gunicorn to run from a python virtual env and this is the only thing I can see that proves what is wrong right now... description "Gunicorn daemon for Django project" ...
0
votes
0answers
87 views

Upstart: Logging output of python to log file

I have an upstart script that I want to launch and log the output from. I can launch it successfully and it completes :) Output goes to my log file after the program finishes. However: The ...
0
votes
0answers
1k views

Ubuntu 15.04 systemctl: command not found

I am currently trying to install Syncthing and have it start automatically. I am following this guide. I have a file called "syncthing@myuser.service" saved at /etc/systemd/system. So basically I am ...
0
votes
1answer
39 views

How to use upstart tasks to create a new file with today's date?

I am trying to use Upstart to create a new file with today's date. I have created a file called "Open.conf" at /home/myusername/.config/upstart I have the following lines in that file: description ...
1
vote
0answers
54 views

Capturing a kernel dump from a CPU soft lockup at boot?

I am SAN Booting an Ubuntu server and have configured the 14.04.2 client to the best of my ability according to: https://wiki.ubuntu.com/Kernel/CrashdumpRecipe It seems like the article works fine ...
0
votes
0answers
58 views

Failed to connect to socket

When i run sudo start nxfilter, i get: start: Imposible conectar con Upstar: Failed to connect to socket /com/ubuntu/upstart: Conexión rehusada
1
vote
0answers
105 views

Creating an upstart service for dumping and uploading a mysql database on shutdown

I am running Ubuntu Server 14.04 LTS x64. I have two KVM guests. One is a file server and another runs mysql server. I have a script that I run on the file server. The script connects via ssh to the ...
0
votes
0answers
44 views

how can I start docker after the iptables-restore

I have LTS Tasty Ubuntu and the official docker installation images from https://docs.docker.com/engine/installation/ubuntulinux/ Due to a bug with the 1.9.x branch, I'm using version 1.8.3 and the ...
0
votes
1answer
258 views

Ubuntu 15.04 now 15.10 boots fine with Upstart fails to boot with SystemD

I'm not sure how to solve this problem as both 15.04 and 15.10 with systemd get me only to an emergency shell whereas upstart works just fine. Having struggled with this for a whole version, help ...
0
votes
1answer
36 views

Ubuntu on Jetson TK1 fails to boot with external drive

The hardware: An NVIDIA Jetson TK1, an external Samsung drive hanging off the SATA port, an ethernet connection. The two related problems: 1) When trying to reboot, if the external drive is ...
0
votes
0answers
36 views

using upstart to open tvheadend

I had to build tvheadend for my platform from source, which I did in a local directory and then cp'ed to /usr/bin. If I sudo tvheadend -f it works fine, and I can see the daemon in ps aux. There is ...
0
votes
0answers
36 views

Ubuntu Touch compile error

I'm having a few errors building the Touch images. Haven't found an answer to this yet. I've posted below the error during compiling the Ubuntu Touch source. Any help would be greatly appreciated as ...
0
votes
0answers
26 views

What are the descriptions of the runlevels (2 - 5) in Ubuntu 14.04

I use Ubuntu 14.04 up to date. I think the runlevels 2-5 can differ slightly in each distribution. And I cannot find descriptions of those runlevels. I learned that Ubuntu uses Upstart, which is ...
0
votes
0answers
39 views

CUPS printer not available via Samba at startup

I am running Ubuntu Server 14.04 LTS and have a printer that is controlled by CUPS and which is made available via Samba. Often on startup the printer cannot be seen by Samba clients. It is ...