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
107 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
55 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
282 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
37 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
42 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
41 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
27 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
46 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
165 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
182 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
43 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
70 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
79 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
155 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
249 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
82 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
120 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
24 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
97 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
318 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
79 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
247 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
286 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
164 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
77 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
153 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 ...
-1
votes
1answer
332 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
86 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
527 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
387 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
320 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 ...
0
votes
1answer
339 views

error with runit and upstart\

Yesterday i try to install some package and i get error about runit . So i search on Internet and a fix was to sudo dpkg --force runit i did it but as i tried today sudo apt-get update i got ...
0
votes
0answers
193 views

Ubuntu 15.10 Blinking cursor problem after qemu installation

I have been using 64-bit Ubuntu 15.10 along with Windows 10 since it was released. 2 days ago I wanted to install qemu. At the beginning it needed an external library (glib 2.22). I downloaded glib ...
2
votes
1answer
274 views

How are services started in Ubuntu 14.04, Upstart, SysV or a combination of both?

I have these 2 webservers installed on a development machine and because they both bind to port 80 only one can be running at any given time. I would like to be able to modify the init startup ...
2
votes
0answers
30 views

Early adbd on ubuntu touch device

I need to run adbd at early boot stage (before lightdm has started) on Ubuntu touch device (Nexus 10). As far as i know, adbd is launched after login screen password is entered. In upstart scripts i ...
0
votes
1answer
84 views

Isn't it counterproductive to have systemd, upstart and init.d all running at the same time in a system? [closed]

I've been reading about the many different start up methods on boot by Ubuntu. And it's great that things are moving forward, but right now we have three different ways to start processes on boot, all ...
0
votes
1answer
235 views

Where does Gunicorn come from in `service gunicorn restart`?

When I pip freeze, I do not see Gunicorn. I am wondering where Gunicorn comes from when I run service gunicorn restart/stop. And what is service's relationship with Upstart? Thanks. Edit: I now ...
0
votes
0answers
112 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 ...
0
votes
0answers
111 views

/var/log/upstart/systemd-logind.log is not rotating (Ubuntu 14.04)

On several (corporate, not personal) Ubuntu 14.04 machines, I'm seeing the following behavior: # date Wed Nov 11 21:27:50 UTC 2015 # ls -lAF /var/log/upstart/ total 2416 [...] -rw-r------ 1 root root ...
0
votes
0answers
48 views

How to run a script after user login, but before desktop loads?

I have a script that mounts an encrypted partition with a key that is available only after successful user logon (on his home's ecrypt-fs). The script gets called asynchronously by upstart job on ...
0
votes
0answers
39 views

Error Message on ansible deployment

Is anyone knows some about this error message: NOTIFIED: [nodejs_app | restart app] ****************************************** failed: [qastatus0] => {"failed": true, "item": ""} msg: stop: ...
0
votes
1answer
32 views

xinetd starts too early

When xinetd starts when the server boots, it complains that the IP sepecified in one of the service descriptions isn't available. My IP for eth0 is not configured in /etc/network/interfaces, but in ...
0
votes
0answers
36 views

Killing the process started with upstart

I use upstart to launch rails app with unicorn. This is the conf file in /etc/init/unicorn_rails.conf. # simple uWSGI script # http://uwsgi-docs.readthedocs.org/en/latest/Upstart.html description ...
0
votes
0answers
31 views

Can I force upstart to respawn a process that exited with exit code 0?

Hi I have a job that some times get a kill -TERM The jobs stops with exit code 0. I have an upstart script that monitors this job. However it's not respawning the job because the exit code is 0. Can I ...
0
votes
0answers
215 views

Creating a basic service in Ubuntu server

I am new to Linux/Ubuntu and Python so forgive me for asking basic question. I have written a basic Python script which keeps an eye on bytes received using psutil's function and spits out a print ...
0
votes
0answers
88 views

Run upstart as non sudo user

I have a upstart of uwsgi, I want non-sudo user to run uwsgi. In ubuntu server 14.04 I have two users, user1(has sudo access) and user2(doesn't have sudo access). upstart script I have ...
0
votes
0answers
20 views

upstart my.conf ifconfig changes seem to either have no effect, or get overwritten during startup

I have installed an upstart script like this: # This needs to go into the /etc/init/ folder description "Run MCP" start on runlevel [2345] stop on runlevel [016] console output script # ...