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
49 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
161 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
43 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
133 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 ...
1
vote
0answers
32 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
25 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
62 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
427 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 /usr/...
0
votes
0answers
48 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
121 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
3k 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
47 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
75 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
97 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
114 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
60 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
335 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
44 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
54 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
44 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
29 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
48 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
187 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
204 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 ...
1
vote
0answers
46 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
79 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 ...
1
vote
3answers
87 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 ...
0
votes
1answer
163 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, ...
0
votes
1answer
358 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
98 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
142 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 ...
1
vote
0answers
27 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.
0
votes
1answer
108 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 ...
1
vote
1answer
404 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 ...
-1
votes
1answer
84 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?
1
vote
0answers
268 views

Lubuntu 15.10 systemd vs upstart kiosk script

Quite similar question that has been discussed HERE regarding the change of the default init daemon from Upstart to Systemd and converting foo.conf to foo.service for Systemd to be able to work with. ...
1
vote
1answer
336 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 (...
1
vote
0answers
192 views

openssh version 6.9+ upstart problems

I'm on trusty (14.04.2 LTS). current version of openssh=6.6 (OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.3, OpenSSL 1.0.1f 6 Jan 2014) Was told to upgrade to openssh=6.9 or greater. Why does the ssh daemon now ...
0
votes
0answers
25 views

Unable to log in to Ubuntu after fixing MySql Upstart issue

I am in a bit of a pickle. I had a working Unbuntu 15.04 system, and a fully functional MySql server that was running beautifully. Today I upgraded from 15.04 to 15.10 and suddenly MySql can no ...
0
votes
0answers
37 views

Load script file at login screen (xserver/user)

My current solution I have two files. One of the files is run via ~/.xsessionrc, this is required as xserver needs to be started for xinput command to function. The second file needs to be run as ...
0
votes
1answer
91 views

How can I run an Upstart session job automatically?

I want xflux to run automatically as a daemon when logging into my 15.04 desktop account. It would seem that Upstart should be the way to go. I am able to run my Upstart job manually, but I have ...
0
votes
1answer
193 views

Upstart not running .sh script

The information on the web regarding upstart, init and .conf files is rubbish. A lot of different places show completely different ways of doing things. Anyways, I have a script file /home/karl/....
-1
votes
1answer
380 views

How to update /sbin/init?

I am trying to use Upstart to daemonize a script. So, I made a .conf file under /etc/init/. Now to check the conf file I did init-checkconf /etc/init/ping_me.conf And it says ERROR: version of /...
0
votes
0answers
101 views

fwconsole start at boot

I need some assistance please I run FreePBX voip asterisk server. To stary it I type /usr/sbin/fwconsole start How can I start it at boot please. I did try rc.local but no success Thank You. Kris
4
votes
2answers
766 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. ...
0
votes
0answers
25 views

iMac 2007 (ATI Radeon 9200) dual screen problem under 15.10 (systemd / upstart)

Since installing Lubuntu 15.10 I have encountered a problem with my dual screen setup where the built-in monitor of the iMac seems to be turned off during the startup. The iMac screen turns black ...
0
votes
2answers
516 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 ...
3
votes
1answer
381 views

Upstart PID files in home directory?

What are all of these PID files doing in my home directory? $ ls -1 ~/upstart-* /home/mark/upstart-dbus-bridge.4885.pid /home/mark/upstart-file-bridge.4885.pid /home/mark/upstart-udev-bridge.10317....