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
1answer
11 views

Is there other form to restart udev in xenial, Ubuntu 16.04?

I have problems restarting udev, when I write sudo restart udev it tells me restart: Impossible to connect with upstart: Failed to connect to socket /com/ubuntu/upstart: connection ...
0
votes
1answer
16 views

Can't run spark-submit with sudo

I don't know if this is a noob question or not, but my various google searches yielded nothing. When I run my application, which uses spark-submit under the hood, without sudo, it works. But when I ...
0
votes
0answers
13 views

Bash file behaving diferently with Upstart service

I am trying to create a service that deploys an application from a git repository. For that, I execute a node JS script that listens to a port on the server, and each time a developer makes a push to ...
0
votes
0answers
67 views

Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused

I am running ubuntu 16.04, and when I try to install a program using apt-get install (really any program, but take git-all for example), I get the following error: start: Unable to connect to ...
1
vote
0answers
34 views

Bluetooth Controller or GamePad not recognized in Ubuntu 16.04 LTS

In Ubuntu 14.04 LTS, a generic bluetooth controller (iPega) used to be recognized as a controller/gamepad right after pairing. Like a USB controller does. Here is an example. Same thing in Ubuntu 16....
1
vote
1answer
20 views

Disabling X input on startup

I have a cracked touchscreen on my laptop which causes mouse issues so I'm looking to run xinput disable n on startup (after x has started) but I'm not too sure how to do this. I've tried creating an ...
0
votes
1answer
42 views

Cannot boot due to I/O Error: 16.04 LTS

I have done a fresh install of Ubuntu 16.04 LTS last month. Since a hard reset (power button held down until system powers down), every time I try to boot into Ubuntu, there's an I/O Error in /dev/...
1
vote
0answers
32 views

Upstart services work in SSH session, but not in local terminal session

If I open a local terminal, and attempt to start an upstart service I get this error: service rsync status status: Unknown job: rsync But if I SSH in as the same user, it works fine: service rsync ...
0
votes
1answer
36 views

What is the recommended way to disable a service in 14.04?

The specific programs that I needed to disable were nginx and postgresql. I have tried the flagship post for this question, which suggests I create a manual override file for upstart, and it does not ...
0
votes
1answer
30 views

systemd on LTS 14.04 Ubuntu?

Folks, I am wondering if systemd work on 14.04 LTS? I don't need fully replace from Upstart to systemd, because of future planning, we might want to config service running via systemd instead of ...
0
votes
0answers
28 views

Upstart job forking out of control

I am trying to run a particular daemon through upstart. Outside of upstart it runs as expected, and produces a pid file which matches the process id. When launched in upstart however (without expect ...
0
votes
0answers
121 views

16.04 , rabbitmq, systemD and status of the service or daemon

Having just installed 16.04 on a new dev laptop, i'm seeing conflicting status info on the way that systemD handles rabbitmq-service daemon... I think i installed rabbitmq prior to erlang and then ...
0
votes
0answers
39 views

error processing package upstart (--configure)

I fresh installed Ubuntu 16.04 and this error appeared after all upgrades! $ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done ...
0
votes
0answers
28 views

Upstart respawn not working

I want to activate automatic service respawn on a few ec2 instances running Ubuntu 14.04. In particular, each of those instances host Apache web server + Lucee (a tomcat-like application server). I ...
0
votes
0answers
10 views

scp on AWS in upstart job

I am about to setup an upstart job which will copy around 5GB package from another server over same domain (on AWS) and then start another service. Is it advisable to download such a big package using ...
0
votes
0answers
38 views

Upstart job status always stop/waiting

Im trying to run a looping php script via upstart confing but after start it always returns sot/waiting in response for its status and also there is no such process running on the system. Here is my ...
0
votes
1answer
52 views

How to make sure OpenVPN service is started first (before other services) on 14.04?

I'm running OpenVPN as an upstart script on Ubuntu Server 14.04 LTS. I have an openvpn.conf file in the /etc/init/ folder. It works perfectly, OpenVPN starts on system start and connects to VPN ...
2
votes
1answer
543 views

How to remove systemd from Ubuntu 16.04 and prevent its usage

I was able to enable upstart and disable systemd with commands that follows, but I was not able to prevent its auto re-installation when invoking apt-get install lxde (I am used to a serious server ...
0
votes
2answers
35 views

Upstart - Service immediately stops after starting

Here's my /etc/init/jobname.conf file: start on startup stop on shutdown respawn script php /home/inersha/file.php end script When I start the service, it immediately stops: $ sudo service ...
2
votes
1answer
65 views

How do I get my script to run BEFORE any shutdown sequence like unmounting my external drive

I have a back up script in ~/scripts/backup.sh and my upstart conf in ~/.config/upstart/shutdown.conf. description "my shutdown script" start on desktop-end task console log script exec ~/scripts/...
0
votes
0answers
148 views

systemd-logind: Failed to enable subscription:

I am not able to login in GUI using systemd (see just black screen). The following message appears in the dmesg: [ 104.609973] systemd-logind[1775]: Failed to enable subscription: Launch helper ...
0
votes
2answers
68 views

Super confused between upstart and systemd

Given I'm running 15.10 my system should be using systemd confirmed by... $ ps -p1 | grep systemd && echo systemd || echo upstart 1 ? 00:00:02 systemd systemd But I have an ...
0
votes
0answers
15 views

Upstart 1.12.1 only running first exec

file /etc/init/karl-startup-sensei-init.conf: description "something" author "karl" start on runlevel [2345] script exec echo `date` /etc/init/karl-startup-sensei-init.conf - starting >> /...
0
votes
0answers
89 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 ...
1
vote
0answers
213 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
1answer
40 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
137 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
16 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
18 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
43 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
43 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
26 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
1answer
317 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
91 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
54 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
24 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
20 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
14 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
83 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
89 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 gogs....
0
votes
0answers
28 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
314 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. I only have two outstanding issues, both of which might just be due to buggy beta packages but I thought I'd ...
2
votes
0answers
34 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 ...
2
votes
1answer
830 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
21 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
18 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 # /etc/init/myapp1....
0
votes
1answer
34 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
771 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
160 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
27 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 ...