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
205 views

Run a custom init script always before lightdm.conf

I have a firstboot script /etc/init/firstboot.conf which starts on "filesystem". This file creates some symlinks to some libs in /usr/lib Issue is , /etc/init/lightdm.conf also starts on ...
0
votes
0answers
195 views

14.04 stops booting mid-upstart - how to debug?

My laptop is fully updated to the latest 14.04 packages, and all of a sudden it just stops coming up during boot: (I'm sure you can ignore the vg_sys-root at the top) I booted into recovery, ...
1
vote
2answers
4k 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 ...
0
votes
1answer
318 views

Multi-user text mode runlevel in Ubuntu

I use Ubuntu as a server, and I want to change its runlevel to be full multi-user text mode (like init 3 in RedHat). From this command runlevel i see that am running N 2 which is Graphical ...
1
vote
1answer
143 views

Starting/stopping upstart service when Digitalocean droplet is created (14.04)

I'm running a node.js server on a Digitalocean droplet, and I want the server to announce that it's ready to an external service (via HTTP post). The server runs via an upstart script using the ...
3
votes
3answers
270 views

Preparing a service to use upstart and systemD (compatibility)

We are currently building an cool open source tool to be used as a linux service. so I begin writing an upstart script, But then I wondered, if debian/ubuntu world is moving to systemD, should I write ...
1
vote
2answers
403 views

How do I configure my Upstart scripts to take dependencies into account?

I have install PostgreSQL, Atlassian JIRA, Stash, Confluence and Crowd on a single Ubuntu 12.04 Server. They are integrated and working per Atlassian documentation. One thing I did notice is that ...
0
votes
1answer
77 views

Howto respawn a process on startup

In Slackware I just change one line in initab to run my program in a different console on bootup with auto respawn, how can I accomplish this in Ubuntu .. it seem one need a phd to write a upstart ...
1
vote
1answer
136 views

Upstart Job (.conf) Fails to Install

I have a simple package (.deb) wherein the main goal is to create an Upstart job. Call it Foo. It fails to create the job file /etc/init/Foo.conf. Package Definition I have created the package ...
1
vote
1answer
248 views

How to use UPSTART feature of ubuntu to restart the python script but not as root?

I am running my Python script using upstart feature of Ubuntu so that if for whatever reason my Python script dies or gets killed, it can be restarted automatically and everything is working fine - ...
0
votes
2answers
36 views

Networking doesn't start after upgrade with new upstart system

I have upgraded to the stable version of ubuntu server and my network doesn't start. There should be some problem with the new upstart service, because the network seems to try to load a dhcp, but i ...
0
votes
3answers
945 views

/etc/sysctl.conf doesn't persist after reboot

In a mission to reduce frequent memory flushes to filesystem, I added the following two lines to /etc/syctl.conf. vm.dirty_background_ratio = 50 vm.dirty_ratio = 80 I then ran, sudo sysctl -p and ...
5
votes
1answer
98 views

Set permanent command-line options to upstart

I would like to add a command-line option, such as --default-console=none, to upstart. I believe I can just add these to the kernel invocation line and they will be passed on, is this true? If so, ...
3
votes
2answers
155 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 ...
3
votes
1answer
1k 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
228 views

What's the proper way to restart X or lightdm on the command line via upstart?

I want to restart the display manager (lightdm in my case, on Ubuntu 13.10) on the command line. What's the proper way to do it? sudo /etc/init.d/lightdm restart from a terminal emulator doesn't ...
0
votes
0answers
33 views

suddenly 30 gb gone from Home in ubuntu how?

Hi noticed a messege showing that less diskspace please clear up space in ubuntu. and when i took properties, i was surprised to see that of my 50gb partition only 4kb is left. then i followed the ...
1
vote
0answers
151 views

How to start xfce4 session inside upstart user session?

I would like to use a upstart user session to run some jobs under user control. My machine has mythbuntu installed which means I have lightdm which starts an xfce4-session. How should I replace my ...
3
votes
1answer
281 views

Audio does not work in upstart job

I'm trying to run the gmediarender UPnP media renderer as an upstart job. When I run it from the command line as myself, everything works fine. When it runs as an upstart job, I get error messages in ...
0
votes
1answer
99 views

Failed to create thumbnail error fills gnome-session.log.1 to 50 GB!

Yesterday I got a message that my /home partition was full so I moved a 10 gb folder to a external hdd. now I got the message again so I did the Disc Usage Analyzer, and I found a 50 GB file in ...
0
votes
1answer
42 views

uptart and gnokii and chroot

I try to run this upstart script. # description "" author "" start on runlevel [2345] stop on runlevel [!2345] #chroot /home/ubuntu/ respawn respawn limit 1 1 exec sudo smsd -u ...
1
vote
2answers
211 views

What's the best way to make a Qt executable program run as a service in Ubuntu

I've written my Qt code for an embedded system which is running on Ubuntu. I want to run my program as a service in Ubuntu so I can stop or start it using monit. I've seen some people creating a new ...
0
votes
1answer
932 views

Problem with ~/.cache/upstart

I'm not experienced at all with Ubuntu yet and I know there are lots of things I have to learn, but I'm kinda puzzled about this one. I just got (suddenly after a reboot) a free disk space warning ...
1
vote
0answers
38 views

log files prevent clean root umount

My root fs is always dirty after shutdown. To see why, I added a couple of lines into /etc/init.d/umountroot: /usr/bin/lsof / | /usr/bin/awk '$4 ~ /[0-9].*w/' ... mount -o remount,ro ... /bin/bash ...
0
votes
1answer
102 views

No reaction on service mysql start, init script works

After upgrading Ubuntu from 12.04 to 13.10, the MySQL server (now 5.5) does not start/stop with service mysql start|stop. When typing /etc/init.d/mysql start, everything works fine. Once it does ...
0
votes
0answers
103 views

Virsh KVM Domain is marked as autostart… doesn't come up after restarting windows

I have KVM and Virsh installed. When I restart windows inside the VM, the VM does not come back up without issuing a virsh start command. I found this ...
0
votes
1answer
77 views

Can I learn systemd on an Upstart system?

I want to leave my current system running with Upstart (if it ain't broke...). However, I would also like to dip my toe into systemd (in anticipation of the changeover). Is there any way to get ...
5
votes
1answer
601 views

Gnome session log getting too large

Under my user a hidden system folder .cache/upstart/ is getting insanely large - 99G. This is mainly due to a file gnome-session.log. Does anybody know what this folder is and why it may get so large? ...
3
votes
3answers
2k views

“Client Critical Interface eth0/2 is down or doesn't have any link-local address” while starting a service after the network is up

I'm trying to start an upstart job after making sure networking interfaces are up. This is what I have now: start on started network-interface INTERFACE=eth0 stop on runlevel [!2345] pre-start ...
0
votes
1answer
691 views

Running a daemon process from upstart

I'm running my application on a VPS under Ubuntu 12.04 LTS. And I have a problem with one daemon process for one of my applications. This process is called "delayed_job" (If not familiar - this is ...
0
votes
1answer
82 views

have upstart job prevent different job from stopping

I'm trying to find a way to have one upstart job, which is triggered when another job is stopping, from preventing that other job from really stopping. Basically I have a service which runs, lets ...
0
votes
0answers
31 views

Why does upstart work on 64 bit but not on 32 bit?

I hope someone with better skills on Linux can give me any clue or answer this. I have an upstart service, which has been running successfully on Ubuntu 12.04 server 64 bit. Today I have setup a vm ...
3
votes
1answer
99 views

How can I make sure one Upstart job stops before another Upstart job stops?

Sometimes my server is shut down via an ACPI shutdown, and I've managed to get my process to gracefully shut down. However, my process (Job A) relies on another process (Job B) during its graceful ...
18
votes
3answers
11k 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?
1
vote
0answers
675 views

upstart and incompatible sysvinit scripts

When I reboot or try to shutdown I get the following message: Error: Calling a sysvinit script on a system using upstart isn't supported. Please use the 'service' command instead. How do I find ...
2
votes
0answers
101 views

how to run a script on ubuntu shutdown when it needs network on [duplicate]

I have an upstart script that needs to run on reboot or shutdown, but it needs to access the network to post an http requests and wait for the replies, I tried start on starting rc and start on ...
0
votes
1answer
31 views

Why upstart documentation prevents me from using respawn

In documentation I found a note that I shouldn't use respawn if I satisfied with expect. But I cannot understand, how are they interfere. For example, nginx config using both and predictable didn't ...
0
votes
1answer
676 views

initclt not seeing init script in Ubuntu 12 64bit

I created an init script in LSB format, and copied it to the /etc/init.d directory. I can manually start, stop, status the service and all works fine. I then try to set the service to auto stop/start ...
0
votes
2answers
64 views

What is the easiest way to create a meta upstart script

I want to have a "meta" upstart service that start/stops several other upstart services. What is the easiest way to do this?
2
votes
2answers
305 views

Upstart instance job on system reboot

I am using upstart instance jobs to start few of my services. The jobs are meant to have one instance per user i.e they take in the user name as the instance parameter. I have also configured them to ...
2
votes
1answer
343 views

Stuck on login screen!

I have only one user account on Lubuntu 13.10 and the automatic access was enabled. I decided to change this option, I wanted to see the login screen on startup where I can choose the user and run the ...
0
votes
0answers
53 views

Is there an upstart event for a process listening on the network?

I'd like to take an action whenever a process begins listening on a port, I tried using upstart-monitor and "nc -l", but I didn't see any events being generated.
1
vote
1answer
933 views

Upstart: Start server after mongodb

i would like to start a server after mongodb has started. Is it correct to use start on started mongodb? Example upstart script: start on started mongodb stop on starting rc RUNLEVEL=[016] respawn ...
1
vote
1answer
91 views

MongoDb installation failing

I am following te simple steps to install mongodb: First: apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 Worked Good Second: echo "deb ...
2
votes
1answer
144 views

Upstart cannot determine daemon's pid

There is a daemon mydaemon, which has not a very pleasant interface. So that mydaemon-parser.py was written to parse configuration files and start as many mydaemon instances as needed. ...
0
votes
1answer
183 views

How to save “initctl” log-priority options?

I would like to save init log-prority debug options. What is the whole process from startup event? However, the init log-priority option to reboot and reset to the message. What should I do? If ...
1
vote
1answer
307 views

How to restart python script after one second of going down using UPSTART?

I am running my Python script using upstart feature of Ubuntu so that if for whatever reason my Python script dies or gets killed, it can be restarted automatically and everything is working fine - ...
2
votes
3answers
4k views

upstart job works only with manual start/stop

I have a very small upstart job in /etc/init/tsm.conf to start backup client after network starts. It works just ok if I start/stop it manually via service tsm start|stop|status. But service tsm ...
1
vote
1answer
67 views

Upstart service not starting when a service it depends on starts

I have a service called service C. It has the following start and stop conditions: start on ( started A and started B) stop on (stopping A or stopping B) When I manually stop A, C stops. However, ...
0
votes
0answers
245 views

Ubuntu taking forever to boot

hi well this started happened after i only installed Ubuntu for few days less than a week on my new pc:) well i only go to windows 8 that i chosed alongside for downloading! i just went yesterday to ...