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
27 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
27 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
24 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
26 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
76 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
32 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
22 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
9 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
30 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
42 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
269 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
28 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
41 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
68 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
64 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
14 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
73 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
95 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
27 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
110 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
11 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
17 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
39 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
37 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
22 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
285 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
74 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
50 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
21 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
19 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
68 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
79 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
24 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
302 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
33 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
504 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
18 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
16 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
32 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
543 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
114 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
25 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
42 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 /etc/init/...
0
votes
1answer
119 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
50 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
48 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
25 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
123 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
88 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, ...