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

7
votes
7answers
25k 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 ...
1
vote
0answers
5 views

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

I have problems with restart udev, when I write sudo restart udev it say me restart: Imposible to connecte with Upstar: Failed to connect to socket /com/ubuntu/upstart: connection refused My ...
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 ...
13
votes
3answers
3k views

Rationale for switching from upstart to systemd?

The larger change that comes with Ubuntu 15.04 is the switch from upstart to systemd as the default for managing boot and system service startup. Could anyone adequately explain to a non-technical ...
0
votes
0answers
62 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
31 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 ...
5
votes
1answer
934 views

Change logging directory/file for an Upstart service

I have an upstart service that it fills up the space. I need to move the logs from /var/log/upstart to a different directory /pub/data/logs/order_server. I tried to do it using console log --logdir /...
2
votes
1answer
671 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 ...
8
votes
2answers
7k 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 ...
1
vote
1answer
1k views

upstart and gnome-session-Unity.log goes mad

In my upstart folder in ~/.cache/upstart: -rw-r----- 1 bussiere bussiere 18G août 5 17:59 gnome-session-Unity.log The log goes mad I've tried purge logrotate and reinstall it but nope.
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/...
4
votes
2answers
2k views

How can I stop mongodb from starting on system boot

I installed mongodb for learning purpose, the problem I am facing is that it starts on system boot and consume resources even if not being used. I want it to be removed from system boot, how can I do ...
7
votes
1answer
3k views

How to run docker-compose at bootup?

This is on an Ubuntu 14.04 LTS VM running Docker and I suspect respawn is the cause of my problem but not sure of the ideal solution. Current upstart script (cat /etc/init/dockersuitecrm.conf) ...
13
votes
2answers
21k views

How do I start jobs as a non privileged user in Upstart?

I'm using last upstart version for ubuntu 10.4 LTS. upstart is launched with --debug kernel flag. I'm making a custom job configuration for nzbget daemon. Basically, this job has a pre-start script ...
1
vote
0answers
31 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 ...
3
votes
2answers
12k views

Installed 15.04, cannot restart ssh daemon

As the title says, I installed 15.04. One of the first things I did was sudo apt-get install openssh-server. The next command was sudo restart ssh, which is greeted with an output of: restart: ...
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 ...
9
votes
1answer
766 views

Upstart not reopening log files on logrotation

We use upstart to manage our services on our Ubuntu servers. They produce logs which are logged out to /var/log/upstart/SERVICE_NAME.log Then daily, the log files are rotated using the logrotation ...
0
votes
1answer
316 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 ...
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 ...
16
votes
5answers
7k views

How do I stop all processes in a chroot?

I have a number of LVM partitions, each containing an Ubuntu installation. Occasionally, I want to do an apt-get dist-upgrade, to update an installation to the most recent packages. I do this with ...
0
votes
0answers
117 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
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 ...
0
votes
0answers
38 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 ...
4
votes
5answers
18k views

How do I change the user Transmission runs under?

I installed Transmission through a PPA and the daemon starts on boot. I want to change the user that runs the daemon because I want the downloaded files to be under the same user as my XBMC ...
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 ...
16
votes
2answers
17k views

Where are Upstart log messages on Ubuntu 13.X?

On Ubuntu 12.04, I can find Upstart log messages in /var/log/syslog. Commands: # initctl log-priority info # initctl emit hello Log: Apr 1 01:56:56 precise64 kernel: [ 8365.820425] init: ...
0
votes
0answers
36 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
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 ...
1
vote
2answers
2k views

Which init daemon starts cups?

I have a fresh installation of Ubuntu 14.04, and have not touched anything. Cups is running, as reported by both ps and netstat. There are /etc/init/cups.conf and /etc/init.d/cups, both of them seem ...
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
534 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 ...
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
147 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
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
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
0answers
87 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
211 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: ...
2
votes
3answers
19k views

tftpd-hpa server (timeout from client side) please help

I'm a bit new to version 14.04 of Ubuntu: No LSB modules are available. I am trying to set up a tftp server, mostly for backup up cisco ios configs. I have followed every tutorial I can, and I'm ...
3
votes
3answers
3k views

How To Run An Application On Startup Automatically?

I am using "UbuntuServer13.10" and I have Dynamic IP. So for learning purpose, I want to add a host on my dynamic IP to open my server easily from anywhere. For this purpose, I used www.noip.com ...
0
votes
1answer
136 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 ...
1
vote
1answer
759 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
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) == "...
40
votes
2answers
34k views

How can I replace upstart with systemd?

Since Mark Shuttleworth decided to switch to sytemd in the future, I was wondering if I can install it on my Ubuntu now?