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

Upgrade from 14.04 LTS to 16.04 LTS

I upgraded from 14.04 LTS to 16.04 LTS. All package installations were fine, I rebooted the system and got only a black screen after the boot menu. When pressing Ctrl+Alt+Del after some minutes of ...
0
votes
0answers
22 views

systemctl cannot disable services, displays upstart errors

On my Ubuntu 16.04 (Xenial) server, I cannot disable services from autostarting at boot. I get these error messages: $ sudo systemctl disable puppet.service ... initctl: Unable to connect to Upstart: ...
0
votes
0answers
12 views

How to run the btsync service as the local user?

I just installed the new btsync package, per this blog post. All seems well, except I can't add any folders—the service is running under the newly-created btsync account. I need to find out how to run ...
0
votes
1answer
61 views

How to automatically mount drives after boot?

In http://askubuntu.com/a/119818/5032 qbi says: add noauto to your fstab: ... So the filesystem will not automatically mounted at startup. Furthermore you write a script which ...
0
votes
0answers
8 views

Upstart hangs, process is start/killed

I need upstart to launch a "v1" meteorjs application on a small DigitalOcean droplet (Ubuntu 14.04). When I service v1 startthe shell hangs, until I eventually CTRL+C. I probably made a mistake in ...
0
votes
0answers
16 views

The upstart at least a shell script

What 's wrong with my upstart configuration files? I want VAL = 1 as a result of result.txt. /etc/init/test.conf description "test" start on startup script if [ $(cat /test.txt) == ...
0
votes
1answer
33 views

how to bring linux bridge up at booting time?

I am trying to bring up a linux bridge at the time my ubuntu is booting. The bridge is mapped to eth0 interface. Is there any way?
1
vote
0answers
33 views

Mongod service suddenly stopped at night. Understanding why

I've created a node.js server with a mongodb database on Ubuntu. I installed mongodb with the official documentation, using upstart. This morning, my node server wake me up with crash logs saying the ...
0
votes
0answers
16 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
212 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
54 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
30 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
17 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
18 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
61 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
64 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
20 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
247 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
32 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
218 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
16 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
15 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
27 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 ...
1
vote
1answer
297 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
74 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
24 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
38 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
82 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
45 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
35 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
97 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
71 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
46 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
144 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
37 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
111 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
28 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
19 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
57 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
300 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
43 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
104 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
2k 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
43 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
66 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
72 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