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

How to autorun a ruby script in Ubuntu?

I'm using rvm and running ruby 2.3.0. which ruby returns /home/ubuntu/.rvm/rubies/ruby-2.3.0/bin/ruby The script location is: /home/redline/sinatra-aggregator/server.rb. I've tried all sorts of ...
0
votes
1answer
18 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
1answer
129 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
0answers
16 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
0answers
15 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
12 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
17 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
12 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
42 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
13 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
14 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
21 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
62 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
2answers
117 views

How do I disable unnecessary services without uninstalling them in Ubuntu 15.10?

There are some daemons I make zero use of and would like prevent from autostarting, those include avahi, zeitgeist, telepathy, apport and some others. Needless to say I'd like them not to start. Can ...
0
votes
1answer
30 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 ...
0
votes
0answers
17 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
11 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
74 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 ...
450
votes
7answers
523k 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, ...
0
votes
1answer
20 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
21 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 ...
1
vote
1answer
102 views

Upstart reports “Job is already running” but process doesn't exist, and no PID file

So, I have MiniDLNA installed, and recently have found that I cannot start it using Upstart. Running sudo start minidlna returns: minidlna start/running, process [num] But no process is started ...
0
votes
0answers
14 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
25 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
50 views

Upstart: Start bitcoind if it stops running

On Ubuntu 14.04 I have not been able to get the Bitcoin daemon to automatically restart. Rarely the daemon dies and it is important that it starts again without manual intervention. To get it to start ...
1
vote
3answers
40 views

Couchdb package broken on 14.04 lts Trusty

Is there something wrong with couchdb packages in trusty/14.04? When I install couchdb it doesn't start. The install reports: initctl: Unknown job: couchdb and there is no /etc/init.d/couchdb ...
1
vote
1answer
224 views

Docker is managed via upstart, try using service docker

I'm using following system: root@alexus:~# cat /etc/issue.net Ubuntu 14.04.3 LTS root@alexus:~# uname -a Linux alexus 3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015 x86_64 x86_64 ...
0
votes
0answers
15 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 ...
7
votes
6answers
20k views

Why doesn't network-manager start at boot?

I think this started happening a couple of months ago when I upgraded from 10.04 to 12.04. Whenever I reboot, network-manager does not start. I have to manually run sudo start network-manager, and ...
0
votes
0answers
24 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 ...
0
votes
0answers
55 views

Fix GPU-manager/Graphics card related error

On running the follwing command I get the following output: user@Enigma:~$ sudo systemctl status gpu-manager.service ● gpu-manager.service - Detect the available GPUs and deal with any system ...
0
votes
0answers
84 views

Increased boot time in Ubuntu 15.10

After the update from Ubuntu 14.04 to Ubuntu 15.10, the boot time has increased. Can someone direct me as to how I should troubleshoot this problem? In particular how do I handle service taking a lot ...
0
votes
1answer
79 views

MySQL doesn't start after reboot

I've got a problem on one of my servers: MySQL doesn't (didn't) start after a reboot. So I have (had) to do a sudo service mysql start/restart My MySQL-Version: mysql Ver 14.14 Distrib 5.5.46, ...
1
vote
2answers
290 views

MongoDB installation failing

I am following the simple steps to install mongoDB: First: apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 Worked Good Second: echo "deb ...
1
vote
0answers
26 views

How to check if a service was started by upstart or sysvinit?

For some services (ex: bluetooth) I have entries in both /etc/init.d/ and in /etc/init/ directory. How do I know how this service is started ? By sysvinit or upstart ? I am using Ubuntu 14.04.
0
votes
1answer
39 views

decrypt encfs on startup

I would like to decrypt an EncFS "volume" on startup. Usually I decrypt the volume like this : cat "/home/user1/encfs.pw" | encfs -S /mnt/encryptedVolume /mnt/decryptedVolume In /etc/init I have a ...
0
votes
1answer
43 views

How to load environment variable from a file for an upstart job?

I'm writing an upstart job for a service that is configured using environment variables, and a lot of them (> 20). The way this was handled so far was usually to run it from a Ruby launcher that ...
0
votes
0answers
30 views

How to add conf files to /etc/init folder?

I'm on Ubuntu 12.04. There are several *.conf files in /etc/init and I need to add two more to start new uWSGI instances. According to docs, "Once happy, place the files in /etc/init and now you're ...
0
votes
0answers
30 views

Service Start Order?

So I have tried reading and reading but I am so lost at this point around upstart. I have this service which exists in /etc/init/nzbdrone.conf. I "think" part of this runs upstart and some doesn't ...
2
votes
1answer
2k 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 ...
2
votes
3answers
173 views

How do you append to environment variable in Upstart?

I put the following in my /etc/init/myjob.conf file but it doesn't seem to work env PATH=$PATH:/mnt/data/src env PYTHONPATH=$PYTHONPATH:/mnt/progs/link Is it possible to somehow append to an ...
1
vote
1answer
351 views

Upstart error – cd: can't cd to /home/…

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 upstart service giving ...
1
vote
0answers
16 views

How do I tell Upstart to run a script before shutting down any service?

I want to be able to tell upstart to run a certain script linked under /etc/rc0.d/K99-somescript to run before any of the services such as Nginx, PHP-fpm are shutdown.
12
votes
4answers
8k views

How to set a Upstart job to start manually?

I want to disable a bunch of upstart jobs here. I know how to make a upstart job. And also I know how to stop manually a job. However, I can't find a sample where I turn a automatically job into a ...
0
votes
0answers
347 views

keep looping for searching for HP virtual keyboard during kernel bootstrap but this USB device is always disconnected

During os/kernel bootstraps, there are some errors on init and then keep looping for searching for HP virtual keyboard devices. Any hints or suggestions on how to debug or resolve this error? Please ...
0
votes
1answer
57 views

Issue starting a demon process at startup in Ubuntu

I tried Starting Deamon process. I am trying to run this command during startup to start DTN2 deamon using command dtnd -c DTN2/dtn/dtn.conf -o DTN2/dtn/log -d in ubuntu 14.04 I made this as a shell ...
0
votes
1answer
64 views

Why when I run' sudo apt-get remove upstart' does ubuntu try and remove ubuntu-desktop, unity, and unity-greeter?

I'm having problems with Xorg randomly crashing on Ubuntu 15.10. I checked ~/.xsession-errors and there's some stuff in there about upstart, so I'm trying to delete it from my system. I read that ...
2
votes
2answers
439 views

Vivid - broken package using upstart on a systemd install

I tried to get dnscrypt-proxy working from this PPA: https://launchpad.net/~anton+/+archive/ubuntu/dnscrypt EDIT: this PPA is outdated, and the correct one to use is ...
4
votes
2answers
150 views

Upstart process listed as stop/waiting

I have this upstart script When I run: sudo start poxa it starts the process but when I run: initctl list it shows me that is is stop/waiting but when I check ps aux | grep poxa it show the process. ...
-1
votes
1answer
43 views

Normal boot (systemd) not working

I've accidentally changed the UUID of /home partition. I corrected the UUID by updating /etc/fstab. Now ubuntu in normal boot is stuck at boot logo but I can boot up using upstart. How do I fix this?