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

2
votes
1answer
233 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
87 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
38 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
185 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
764 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
35 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
98 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
91 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
70 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
522 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
1k views

Upstart: Run job after networking has finished starting

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
624 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
74 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
75 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 ...
17
votes
3answers
8k 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
660 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
520 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
60 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
279 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
316 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
50 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
786 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
87 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
138 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
169 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
298 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 - ...
1
vote
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
56 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
226 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 ...
0
votes
0answers
276 views

Logging out from Ubuntu takes too long

When I first had only Unity as a desktop manager, I didn't need to log out so I'm not sure if this issue has been around before. I'm say so because It's important to know that I currently have Xfce ...
0
votes
0answers
84 views

Problem with upstart sessions: unable to granpt:Exec format error

I have a very specific problem. I have installed an arm ubuntu 13.10 on chromebook with original chromebooks linux kernel. And I got the strange errors in ~/.xsession-errors which prevents me to ...
1
vote
2answers
613 views

Purpose of “postrotate invoke-rc.d rsyslog rotate” when logrotating, and is this command outdated?

When using logrotate to keep log files rotating, I have seen postrotate invoke-rc.d rsyslog rotate > /dev/null endscript I know postrotate makes bash execute the following ...
1
vote
0answers
59 views

Ubuntu 12.04 init won't re-read configuration

I'm running a vnc server under control of init. This is configured using a file under /etc/init. So far, so good. Now I want to make a change to the vnc.conf file, to change some of the command line ...
1
vote
1answer
188 views

Is it possible to run an OPENGL program via a daemon?

My main question is: Is it possible to run an OPENGL program via a daemon (upstart script)? The program displays a window on the screen. More details: I have an opengl program (done with ...
0
votes
1answer
766 views

teamviewerd not starting with lightdm on 13.10

I've installed the upstart-job for Teamviewer 9. According to the config it should start when dbus and lightdm is running, see: start on ( (started dbus or ...
0
votes
1answer
53 views

Is there a way to tell Upstart to log service?

In the logs directory I don't see a log file for my app (with a conf file nomilkforme.conf): z@ubuntu:/var/log/upstart$ ls console-setup.log.1.gz container-detect.log.1.gz module-init-tools.log.1.gz ...
0
votes
1answer
470 views

FATAL: Module rtc not found

Upstart gives "unknown job" error when I try to start the server with $ start <my-app-name>. I found this in the logs: z@ubuntu:/var/log/upstart$ sudo zcat module-init-tools.log.1.gz FATAL: ...
2
votes
1answer
691 views

Upstart unknown job problem

I set up nginx according to instructions here and it all went well but I am unable to start with $ start <my app name> I created /etc/init/nomilkfor.me.conf (this is the domain name) and this ...
1
vote
0answers
122 views

How to run a nohup script with upstart?

I'm porting some SysV-style service scripts for HBase (a java service) to upstart. The sysv scripts don't call java directly, but instead call hbase-daemon.sh. This is a start-stop-daemon-like tool ...
3
votes
0answers
2k views

Synaptics driver doesn't load sometimes

Sometimes (randomly), the synaptics touchpad driver won't load on bootup. When reading /var/log/boot.log, i don't see anything touchpad-driver-like being started when this happens. But the file ...
0
votes
1answer
290 views

An alternative to init.d?

Is there an alternative to Ubuntu's init.d? Like a way of starting and stopping daemons that don't require those monstrous init.d scripts: # cat /etc/init.d/skeleton #! /bin/sh ### BEGIN INIT INFO # ...
3
votes
2answers
1k views

How can I check if upstart is installed in ubuntu server and how can I install it?

I want to install upstart to my ubuntu server 13.10, but I am confused if I need to download the source or install package. In upstart's getting started page I think they instruct to install the ...
0
votes
0answers
306 views

Upstart to manage a byobu'd cgminer

How do I get upstart to manage cgminer in a byobu terminal? Using the upstart script below, I can get cgminer to run with the commented out command, but I can't get it wrapped in a byobu session? ...
7
votes
2answers
1k views

HOME variable is not set

I have two servers, they're identical (I believe), production and staging servers. And I have upstart script in /etc/init/ folder. description "Discoure process" setuid deploy setgid deploy ...
0
votes
1answer
38 views

upstart: mail error report on segfault

I have a process that's managed by upstart. It sends an error report on internal exceptions, but since the app isn't written in C, it cannot catch a SIGSEGV and send an error report on that. (Not ...
3
votes
1answer
52 views

Can't start upstart

I want to run upstart job. I've created upstart file and put it to /etc/init folder #/etc/init/myjob.conf description "test job" start on runlevel [2345] exec /home/megas/test.sh and then ...
1
vote
1answer
774 views

How to run bash script in upstart conf file?

I made bash script "kvm_manage". How should I write .conf script and run my bash script inside? It is possible? I am beginner..