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
0answers
1k 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 ...
2
votes
0answers
32 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 ...
2
votes
0answers
29 views

Stop job before it's dependencies

I have a job that does some things and uses other locally installed services (such as the mail server). Sometimes I do an ACPI shutdown but I need this service to complete the ongoing operation ...
2
votes
0answers
63 views

Upstart and process substitution

So I want to use the following in my script stanza: forever -l >(tee $QW_LOG_DIR/webserver.log | logger -p user.info -t '[QW]') start webserver.js However, that won't work because: That's bash ...
2
votes
0answers
56 views

Starting a script with a keypress without an X server

I am looking for a way to bind any sequence of keys to an action that will run a script. I need to accomplish this on a Ubuntu 12.10 server which does not have X. I have looked into Upstart however I ...
2
votes
0answers
78 views

Default to adm group for upstart logs

This bug suggests that on 12.04, the default permissions for upstart logs do not allow rsyslogd to read them: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1074564 That is the logs need to ...
2
votes
0answers
121 views

Is there an ncurses tool for upstart similar to ntsysv or sysv-rc-conf?

I'd like to be able to use a terminal or console to configure runlevels. I don't need the conditions for starting and stopping services to be any more complicated than sysv. I just want to base ...
2
votes
0answers
226 views

declaring dependencies in upstart

It seems as if the accepted way to specify a dependency of service A on service B in upstart is to work in the reverse dependency direction: give service B a start on starting A stanza. I'd like to ...
2
votes
0answers
234 views

Quickly stop all network services except sshd (or boot with only sshd running)

I have an Ubuntu Server 12.04 box acting as a home file server. At times I would like to be able to brings down all my normal network services (nfs-kernel-server and friends, netatalk, nmbd, smbd, ...
1
vote
0answers
37 views

Upstart not reopening log files on logrotation

We use upstart to manage our services on our Ubuntu servers. They produce logs which are logged out to /var/log/upstart/SERVICE_NAME.log Then daily, the log files are rotated using the logrotation ...
1
vote
0answers
74 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 ...
1
vote
0answers
29 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 ...
1
vote
0answers
614 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 ...
1
vote
0answers
45 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
0answers
112 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 ...
1
vote
0answers
136 views

upstart-socket-bridge and python3 example

I'm trying to get upstart-socket-bridge to pass the socket to a Python3 application. Are there any working examples of u-s-b using Python 2 or 3? This example is a test setup only. u-s-b launches ...
1
vote
0answers
181 views

UPSTART services all hang when stopping (stop/waiting)

I am using Ubuntu 13.10 After an IPL, there are many run once services that hang, they are all in STOP/WAITING status. Also, if I try to stop any normal service like apache2, mysql, vsftp I get the ...
1
vote
0answers
286 views

“Normal” variables in Upstart

I haven't quite figured out, how to use "normal" bash variables in an Upstart script. Basically, I just want to do this. DAEMON="/usr/bin/redis-server" DAEMON_ARGS="/etc/redis/redis.conf" ...
1
vote
0answers
367 views

Changing a start up init.d script to use with new ubuntu

This is my code. I would like to change it to use with new versions of ubuntu. The thing is ubuntu doesn't have chkconfig any more. Also I heard that new ubuntu uses upstart instead of init type start ...
1
vote
0answers
227 views

Run Mono Application on Startup Ubuntu

I need run a c# Windows Forms application (Mono app) on Ubuntu startup, then I trying use Upstart. I run this application fine manually, but when I use the Upstart script, as follow: description ...
1
vote
0answers
82 views

Why this upstart job is preventing lightdm from shutdown or restart my notebook?

in order to have a permanet ssh tunnel running I set up the following upstart job in /etc/init/ssh-tunnel.conf: # ssh tunnel - simple personal ssh tunnel description "simple personal ssh tunnel" ...
1
vote
0answers
37 views

apport package hook for 3rd-party package not being called

I have a proprietary package, installed via a .deb file. The package provides an upstart script which uses the respawn stanza - i.e. the executable gets restarted when it is killed, even with a ...
1
vote
0answers
181 views

initctl status autofs is stuck on stop/starting

We have an issue with Upstart not restarting the autofs job when the automount process dies, and the Upstart job status gets stuck in the "stop/starting" state. The process is not automatically ...
1
vote
0answers
898 views

Why are there start 'S' symlinks in rc0.d (shutdown) and rc6.d (reboot)?

Start 'S' symlinks in shutdown and restart runlevels? Why are there 'S00-S99' start symlinks in rc0.d and rc6.d? Ubuntu 13.04 directory listing: $ ls -l /etc/init.d/rc6.d lrwxrwxrwx 1 root root ...
1
vote
0answers
116 views

How can I inspect Upstart Job States Transitions Using log file?

I want to have a look at the states transitions using the method described here: http://upstart.ubuntu.com/cookbook/#viewing-state-transitions. This is what I do: # initctl log-priority debug # ...
1
vote
0answers
170 views

Why can't we remove bluetooth service the reguler way?

The usual way to remove services from startup scripts is to remove it from starting up in the first place (man update-rc.d). Meaning removing the symbolic link to /lib/init. In this case executing ...
1
vote
0answers
201 views

Strange firefox problems when started by xinit

when I start firefox console via: xinit /usr/bin/firefox firefox is not working properly: html select elements does not work (unable to change default value) after opening local pages (I.e. ...
1
vote
0answers
344 views

upstart hangs on stop

having an issue with upstart where i can start it but when i run sudo stop up it hangs this is the .conf file # my upstart django script # this script will start/stop my django development ...
1
vote
0answers
588 views

Upstart job not running at boot

Hi all I have been trying to figure out my problem for some time and think it is now time to ask someone who know more than me. Hopefully this is only a simple solution for someone in the know ...
1
vote
0answers
191 views

Upstart service stops when I log out

I've written an upstart script I want to run when my server starts up, only it does not. It will run when I call sudo start wiki, where wiki is the name of my service, however it stops running when I ...
0
votes
0answers
21 views

Securing shared memory in Ubuntu (Linode VPS) renders it useless. Doesn't boot up

Everytime I setup a new VPS, I secure shared memory by adding the following to /etc/fstab: tmpfs /dev/shm tmpfs defaults,noexec,nosuid 0 0 Which works as expected on every host, ...
0
votes
0answers
15 views

Bitnami MediaWiki Stack - Autostart problem

I'm pretty new to the unix world and am stuck on the following problem: I've installed a bitnami MediaWiki package onto my Ubuntu system which includes an Apache Server, MySQL, PHP and the MediaWiki ...
0
votes
0answers
66 views

Xubuntu 14.04 LightDM stalls after install of NIS NFS and reboot

After a clean 14.04 install of Xubuntu I went on to add NIS and NFS for remote access to the server. However, on reboot the system gets to the LightDM greeter and stalls (the consoles at Alt-F1 etc ...
0
votes
0answers
115 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, ...
0
votes
0answers
111 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
26 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 ...
0
votes
0answers
44 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
0answers
26 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 ...
0
votes
0answers
40 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.
0
votes
0answers
152 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
162 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
59 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 ...
0
votes
0answers
299 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? ...
0
votes
0answers
95 views

How to run pasuspender from upstart?

I'm trying to write an upstart script for running an application which needs direct access to alsa device (Pianoteq, a piano emulator). It works if runned from console, like so: pasuspender ...
0
votes
0answers
91 views

Creating an Upstart command for TeamViewer to restart if closed

I am trying to create a .conf file for TeamViewer, to automatically restart it if is closed. Does anyone know how to do this? I am running Ubuntu 12.04
0
votes
0answers
128 views

PBIS Open & Ubuntu 13.10 Delayed Logon

I have also found that since upgrading to Ubuntu 13.10 from 13.04 that Active Directory users cannot log into the system straight away even though WiFi is connected (unless thier credentials are ...
0
votes
0answers
223 views

Networking not starting - OpenVZ default Ubuntu 12.04 Template

I have been using HyperVM to deploy OpenVZ Ubuntu 12.04 server instances. Unfortunately, they all boot without networking enabled. I tried inserting int the crontab: @reboot /usr/sbin/service ...
0
votes
0answers
106 views

Best way to ensure a VPN connection starts (and hopefully remains)

Ok, trying again :) I tried to find the answer to this on my own, and that led me to the first suggestion in this topic... which, through a Series of Unfortunate Events, let me to hours and hours ...
0
votes
0answers
156 views

System init daemons do not show even if “initctl” is executed with “sudo.”

I'm using Ubuntu 13.10. Today, It became impossible to control php5-fpm daemon from the shell like the following: $ sudo service php5-fpm start start: Unknown job: php5-fpm After several hours of ...
0
votes
0answers
84 views

Issues with ganglia and upstart in 13.04

I'm having an issue with ganglia-monitor and upstart. Just after installing it starts and it cannot be stopped. I tried to solve it following http://upstart.ubuntu.com/cookbook/#expect but I can ...