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
9 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
9 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
13 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
13 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
11 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
17 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
16 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
23 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
21 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
39 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
42 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
17 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
113 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
81 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
57 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
47 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
26 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
49 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
65 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
45 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
38 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
77 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
36 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
61 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
113 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
68 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
83 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
61 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 ...
0
votes
1answer
157 views

Autostart a Python script in an LX terminal

I have a python script which extracts continuous data from an incoming serial string and inserts the fields into an Sql database. The python script can be run manually from an LX terminal and works ...
1
vote
0answers
164 views

Process “/bin/sh -e /proc/self/fd/9” - what starts it and why?

I have a process /bin/sh -e /proc/self/fd/9 that runs on my system. sh -e /path/to/file in dash (which sh is symlinked to on my Kubuntu 14.10) just tests for existence of a file. In /proc/self/fs I ...
2
votes
0answers
18 views

Deluged Upstart not starting [duplicate]

Setting up a new ubuntu server installation (14.04.1), I have been completely unable to get deluge to start as a daemon at system startup. Originally tried following this set of instructions: ...
0
votes
0answers
82 views

How do I setup services to start when Gitlab is ready?

I have a few Upstart services that I would like to have started once Gitlab is started and ready to serve repositories. There is a gitlab-runsvdir Upstart service (came with the gitlab package) that ...
0
votes
1answer
72 views

Can't execute nmcli in an upstart job

The file below is the default network-manager.conf upstart job. $ cat /etc/init/network-manager.conf # network-manager - network connection manager # # The Network Manager daemon manages the system's ...
0
votes
1answer
38 views

Does upstart pass an entire script body to shell for execution or process line-by-line?

My upstart job is failing in pre-start, when it moves any previous logfile to a backup: pre-start script mv -f $LOGDIR/$LOGFILE $LOGDIR/$LOGFILE.bak touch $LOGDIR/$LOGFILE end script I expect ...
0
votes
1answer
70 views

upstart not running jar file once system has booted

I have been working on several bits of code and done a fair bit of testing and looking around for answers before posting this, so I am hoping someone can help solve this with me. The jar I am able to ...
1
vote
1answer
99 views

My command runs in bash, but not from /etc/init, what have I done wrong?

I'm having some trouble with this init script. When I run the command I'm passing to start-stop-daemon from the command line it works perfectly, even if I run it sudoed as the userid in the script, ...
0
votes
1answer
28 views

Log upstart event env var EXIT_SIGNAL/EXIT_STATUS

Upstart has job environment and event environment, I am faimilar with the jobs, and I can write script stanzas to log/exec. But when the process fails, there is a stopped event, which has some useful ...
1
vote
1answer
408 views

sbin/init crash after log in

Hi I have been getting a problem where, every time I log into Ubuntu, a red exclamation mark appears in the top-right of the screen. On clicking it, a window appears to say "Sorry, Ubuntu 12.04 has ...
0
votes
0answers
151 views

Upstart job not starting - virtual-filesystem not emitted?

I have installed logstash from the official elasticsearch repository on Ubuntu 14.10. Installation process added the upstart job /etc/init/logstash.conf and init script /etc/init.d/logstash # ...
2
votes
0answers
47 views

PXE boot 14.04 : filesystem.dir not working: do I have to use filesystem.squashfs?

I've been using PXE-Boot with an extracted filesystem rather than squashfs so far: [NFS-server]:/[cdpath]/casper/filesystem.dir/ instead of [NFS-server]:/[cdpath]/casper/filesystem.squashfs This ...
0
votes
1answer
107 views

Ubuntu 12.04 in login loop as lightdm-session says upstart not found

I tried to install a package systemd (this replaces upstart in Utopic 14.10 and up). See my yesterday question How to Re Generate All Gnome Schemas for Ubuntu 12.04. The result was that it didn't ...
2
votes
2answers
477 views

Ubuntu 14.04 boot hangs at logo after updating

Yesterday, I did a update/dist-upgrade. Today, I powered on the machine and it was hanging at the loading screen with logo and cycling dots - I've waited at this screen for about an hour several times ...
3
votes
0answers
70 views

What service starts a user session before they login? [closed]

I've noticed that I have problems with insync and dropbox icons showing up in my system tray and in investigating the problem it seems to be because they are being started before I even login. In ...
0
votes
0answers
65 views

Having Cisco AnyConnect connect to VPN server at startup on a headless machine

Currently I launch it manually using the following command: printf "y\nMYUSERID\nMYPASSWORD\ny" | /opt/cisco/anyconnect/bin/vpn -s connect VPNSERVERADDRESS I tried putting the same command in ...
3
votes
1answer
215 views

Bash script works from command line, but not if started by upstart

I have a script that listens on port 12 and invokes xbmc when receiving a wol packet. It works perfectly fine when I launch the script directly from the command line, but nothing happens when I let ...