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
2answers
29 views

WHERE to add more IPv6 addresses

I have a script to add many new IPv6 addresses on reboot and that code is in /etc/rc.local. The problem with this is that service processes (such as DNS server and web server) get started before the ...
0
votes
1answer
23 views

ENV variable within an ENV variable in upstart script

I'm trying to include one ENV var in another in my upstart script: env CONFIG_NODE_NAME=my_$HOSTNAME_node But it doesn't translate it, it just keeps it as $HOSTNAME.
0
votes
1answer
89 views

Uninstall broken Plex Media Server from 15.04

I tried installing Plex Media Server on Ubuntu 15.04 but it didn't work because of the migration to systemd from Upstart. Unfortunately I can't seem to be able to uninstall it now either, since the ...
0
votes
0answers
9 views

Help writing an Upstart script

On my Ubuntu 14.04.2 server there's an installation of ownCloud with its News app. Now, for some reason or another, a couple of days ago the app stopped pulling new articles via owncloud cron.php. ...
2
votes
0answers
51 views

15.04 upgrade issue upstart

ah I feel like an idiot! So I decided to upgrade my distro (like a dummy because I am hosting something for a school assignment) on an openVZ server. Now I can't get systemd working. I get the ...
0
votes
1answer
149 views

15.04 Error updating boot sequence update-rc.d

I am trying to get Sickrage to auto start, and I'm hitting a wall at the command sudo update-rc.d sickrage defaults Here is the error: initctl: Unable to connect to Upstart: Failed to connect to ...
4
votes
1answer
302 views

vivid - failed to connect to upstart: connection refused

Just updated via do-release-upgrade and now certain upstart jobs such as fail2ban and plexmediaserver will not start (have tried reinstalling) sudo service fail2ban start Job for fail2ban.service ...
0
votes
1answer
14 views

SIGRTMIN on plymouthd after switching from upstart to systemd

I just updated my Kubuntu installation to vivid (15.04). After updating, the default initialization with systemd fails shortly after showing the kubuntu animation (plymouth). The last log file entry ...
0
votes
0answers
25 views

Ubuntu wont boot under systemd

I have just installed Ubuntu 15.04 on my laptop, the installation went fine but Ubuntu will not boot. Using the default boot options I get stuck at a prompt to enter an encryption passphrase that I ...
1
vote
1answer
73 views

upgraded to 15.04 init conf file doesn't work

I've recently upgraded to 15.04. On 14.10 I had a conf file which would start a program on upstart. On 15.04 that doesn't work and the program won't start. This is the .conf file: # mbpfan - A ...
4
votes
2answers
229 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 ...
1
vote
1answer
15 views

How to make a respawning Hadoop Upstart job?

You can start a nodemanager instance by running yarn-daemon.sh start nodemanager. If you make an upstart job out if this, you have two problems: The yarn-daemon.sh script will be executed constantly ...
2
votes
1answer
3k views

Ubuntu 15.04 with Kubuntu Plasma Desktop not booting

I upgraded to Ubuntu 15.04 today. The Laptop booted fine. However, after that I also installed Kubuntu Plasma Desktop from the Ubuntu Software Center. On booting default “Ubuntu” I get a black blank ...
0
votes
0answers
29 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) ...
1
vote
0answers
15 views

Massive log file and 100% CPU usage for 'upstart'

I have a fresh install of Ubuntu 14.10, and I installed some programs like MATLAB, Chromium, Evolution and other fairly harmless stuff. However, I have run into some trouble recently. The file ...
2
votes
3answers
35 views

How to register an upstart service?

I wrote an upstart service following the Ubuntu wiki article and created a .conf file in /etc/init/. There're no instructions on how to proceed to make the script available in initctl list and for ...
2
votes
0answers
62 views

/bin/sh: 0: can't access tty; job control turned off [closed]

I'm building a custom image to run on a simulator. the kernel boots fine and everything but generates this warning: /bin/sh: 0: can't access tty; job control turned off and the terminal does not ...
0
votes
0answers
11 views

Upstart task is terminating spawned processes

I am using Ubuntu 14.04. I want to create an upstart task that will run a simple script on system boot. The script runs properly when run from the command line. Its job is to iterate a number of ...
0
votes
0answers
15 views

upstart .conf script not running at startup

I have a .conf file I run at start up. This file runs a script file i have stored elsewhere. But it does not run. Its supposed to launch node.js and two tabs on firefox. When i launch firefox after ...
0
votes
0answers
19 views

How to redirect the output to a log file from upstart script?

I am using upstart to start/stop my c++ app server as shown below - start on runlevel [2345] stop on runlevel [016] chdir /opt/tetra/app_server respawn post-stop script sleep 30 end script ...
-1
votes
0answers
20 views

dpkg error,Maxreports error, python errror [Ubuntu 14.04]

i think i have a big problem :) sudo apt-get purge python-gi i wrote this. and sudo apt-get purge python-gi i wrote. ~$ sudo apt-get upgrade Paket listeleri okunuyor... Bitti Bağımlılık ağacı ...
2
votes
1answer
12 views

Where should I put my Upstart scripts?

I'm trying to figure out Upstart and I'm not sure if I should put them in /etc/init or ~/.config/upstart And what is the difference between the locations?
0
votes
1answer
18 views

Which upstart jobs are optional/unnecessary that I can eliminate by renaming from xx.conf to xx.skip [closed]

I know HOW to have an upstart job not start (mv cron.conf cron.skip). WHICH upstart jobs are OPTIONAL or UNNECESSARY and still have my system function. I DO NOT NEED cron, encription, bluetooth, ...
1
vote
0answers
22 views

Problems with starting x11vnc on boot

I'm trying to start up x11vnc on boot, without the need to log in, but I ran into quite a few problems and none of the guides helped. First of all, rc.local does not work, as it apparently starts ...
0
votes
0answers
32 views

supervisor servce doesn't want to autostart

I installed supervisor: sudo apt-get install -y supervisor When I restart the system it doesn't start. So I start it manually: $ sudo service supervisor start Starting supervisor: supervisord. ...
1
vote
1answer
26 views

init.d script + upstart help/advice

I have written up a Shell init.d script named "My_first_initd_script". The script works great when I run it from the /etc/init.d/ -working in the foreground. I would like to ...
0
votes
1answer
54 views

Upstart or Systemd

So I'm confused. I'm getting a lot of mixed information via Google. As of today, what is Ubuntu using going forward? Is Ubuntu choosing to use and support Upstart, or are they using Systemd? I would ...
0
votes
0answers
20 views

When is a network interface “up”?

In doing battle with certain semantics of static-network-up, I'm realizing there's two contexts of the state "up" for a network device: When a device is running, allowing packets to flow through, ...
0
votes
0answers
60 views

keep looping for searching for HP virtual keyboard during kernel bootstrap but this USB device is always disconnected

During os/kernel bootstraps, there are some errors on init and then keep looping for searching for HP virtual keyboard devices. Any hints or suggestions on how to debug or resolve this error? Please ...
1
vote
0answers
18 views

What is the idiomatic way to start/stop a group of Upstarted services with a single command?

I have a set of a dozen or so services that usually are restarted in a group, but there are also cases where they need to be restarted / stopped individually. It is cumbersome and error prone to have ...
4
votes
1answer
136 views

how to debug upstart if it hangs while root is read-only?

I am trying to debug an unsecessful/hung-up system start (upstart) on 14.04.2 LTS. root is an ext4 filesystem in a luks container. filesystems are in clean state. The boot process stops after ...
1
vote
1answer
94 views

How should I configure Ubuntu/Upstart for unusual network configuration?

I recently installed Ubuntu Utopic 14.04 LTS on a new server box I built specifically to host some virtual machines. The network configuration for this box, which contains two NICs, exposes the two ...
0
votes
1answer
88 views

Can not remove nvidia-prime package

When trying to switch 14.10 to systemd I've run into a situation: I can not remove package 'nvidia-prime' and it prevents me to install either upstart or systemd, so now my machine will not reboot. ...
0
votes
0answers
49 views

How does Upstart knows if linux system processes started?

According to the Upstart cookbook, the upstart script initctl sends a notification to all interested parties (either jobs or other events). My question is quite specific: how do jobs like d-bus, ...
0
votes
0answers
32 views

procps not running at boot

I have some sysctl settings in a /etc/sysctl.d/60-*.conf file. These settings don't take effect when booting the server. I have to run "service procps start" manually. All my Ubuntu 12.04 servers ...
0
votes
0answers
10 views

How to launch script on service service_name stop

I have tried pre-stop script in upstart script, but it's ignoring it. It seems it only working when real server shutdown is happening. Is there a way to launch some script, when service service_name ...
0
votes
0answers
62 views

How to use utserver as service

I'm new to Linux as well as StackExchange.I am running Linux Mint 17.1 Cinnamon 64-bit Cinnamon Version: 2.4.6 onLinux Kernel 3.13.0-37-generic I have successfully installed uTorrent server and ...
1
vote
1answer
67 views

How does the Ubuntu boot process work?

I have read many articles about the Linux boot process. As I understand the Linux boot process is something like this : BIOS (UEFI) → MBR → grub → Kernel → init What I really don't understand ...
0
votes
0answers
10 views

Is it possible to define an upstart command?

I'm looking at creating an upstart job with some unusual commands. Is it possible to write the upstart script in such a way that I can do something like this: service myupstartjob mycommand I've ...
0
votes
1answer
56 views

Service initialization scripts: upstart?

Where can I read some brief information about upstart in ubuntu? I found "Upstart Intro, Cookbook and Best Practises", but it's too big. How can I add my own service? What's the difference between ...
1
vote
1answer
41 views

Shutdown Ubuntu using upstart

I have a process which is started by Upstart. It will try to respwan the process n number of times on failure and after that if it fails, I want to restart my Ubuntu. I tried telinit, halt etc in ...
1
vote
1answer
94 views

Ubuntu 14.04 Server , launch jar in screen on boot/restart

Ive been reading everywhere on how to do this, and I understand how to do it, but for some reason I cannot get it to work correctly. I simply want to run a jar file on restart or boot, the jar file ...
0
votes
0answers
40 views

/etc/sysctl.d doesn't seem to be read at start up

I have added a file to /etc/sysctl.d with these contents: $ more 60-inotify.conf fs.inotify.max_user_watches=100000 Running sysctl -p /etc/sysctl.d/60-inotify.conf does the job. But on reboot the ...
1
vote
1answer
69 views

How configure the upstart in ubuntu in my ec2 [node.js]

I am using an amazon ec2 instance with ubuntu to host my node.js application, i already made all the configurations, and is working good when i type: nodemon ./bin/www ./bin/www is the file that ...
0
votes
1answer
144 views

Upstart vs Systemd Performance

Has anyone measured difference in performance between these 2 systems on Ubuntu? Systemd is coming, and it has it's merits, but I fear Upstart will be tough to beat on Ubuntu, since it had years of ...
0
votes
0answers
79 views

System hangs after /sbin/init starts; no login prompt

I have an Arndale board running Ubuntu 12.04 with the root file system mounted on a MicroSD card. Recent, that card was damaged and I tried to recreate the file system on a new 16GB card. All went ...
0
votes
0answers
113 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 ...
0
votes
0answers
37 views

How to manually start ps2 mouse from command line

It appears I have an intermittent issue in that it's a coin toss whether my ps2 mouse will work after boot. From the time stamps in dmesg it appears to be timing related, and rather than spend ...
0
votes
1answer
21 views

Upstart and isstty(STDOUT_FILENO)

Many Linux programs use istty to determine whether STDOUT is a terminal or not. For example, ls will (by default) suppress coloured output if it's redirected (istty == 0). When running upstart jobs, ...
0
votes
0answers
63 views

list all services

There are two ways you could do this service --status-all. The other way is to do initctl list. I would like to know the difference. some services like mysql do not show up in initctl list, and some ...