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.
0
votes
2answers
185 views
Upstart job: Run task once per event
I'm a little confused regarding how jobs start on Upstart events. To illustrate my misunderstanding, I have four Upstart jobs that look like the following:
Job 1:
start on local-filesystems
task
...
3
votes
1answer
215 views
How to start up rsyslog automatically?
Check current status of rsyslog
$ chkconfig --list rsyslog
rsyslog 0:off 1:off 2:off 3:off 4:off 5:off 6:off
Start up rsyslog at some levels
$ sudo chkconfig --level 35 ...
2
votes
1answer
32 views
+100
Upstart and core files
I have an upstart job that occasionally crashes with a segmentation fault, and I have a few questions about core dumps.
First, should I add a stanza:
limit core unlimited unlimited
Is there a ...
2
votes
1answer
408 views
How to add startup services?
I'm on 12.10 and I use Synergy to share my mouse between my laptop and desktop monitors. I tend to start the synergys daemon manually, but I'd like for it to start automatically after boot. Now I've ...
1
vote
1answer
41 views
Startup script doesn't execute at startup
I have followed the tutorial here that shows how to setup the No-ip update program to start at system startup.
I have done exactly as specified here, yet the program still doesn't start. Also, when I ...
1
vote
1answer
96 views
Using Upstart like old fashion init script
How can I use Upstart and have the same we use to have by using "# Should-Start:" at the BEGIN INIT INFO of the init script?
Is it there any way I can tailor the "start on started" based on a ...
0
votes
1answer
31 views
Systemd is installed on Ubuntu Raring?
Systemd appears to be installed in Ubuntu Raring. What does it provide that upstart doesn't provide? Why is it there? I thought Ubuntu was keeping upstart.
0
votes
1answer
44 views
Has behaviour of upstart changed in 13.04
I have an upstart conf that mounts a remote nfs at startup. Previously (in 12.10) it used
start on (local-filesystems and net-device-up IFACE=eth0)
in 13.04 this no longer works - I tried all ...
0
votes
1answer
23 views
Upstart with a script that start and finish their own processes
I'm trying to setup in Upstart a script that launch several internal procs and kill them if is required
$ listener.py -startall
$ listener.py -killall
I can run it with this settings:
# Listener ...
0
votes
1answer
22 views
Startup script for spawn-fcgi
I would like to use spawn-fcgi to start a web.py application on system boot. Is there any facility for managing spawn-fcgi through Upstart? (Is Upstart the modern system for managing services, or ...
0
votes
1answer
72 views
How to check if openvpn is connected in Upstart?
I need to run a script after mysql and openvpn are started (Ubuntu for ARM).
I can succesfully run the script with upstart with this .conf:
# my upstart for logging boot
start on (starting openvpn ...
0
votes
1answer
187 views
Upstart conf changes do not reload after edit
After I make some changes to an upstart conf file upstart does not reload the new changes until I reboot the system
start on filesystem or runlevel [23]
stop on runlevel [6]
respawn
expect fork
...
0
votes
1answer
383 views
Postgresql - configuring as Upstart job problem
I need Postgresql configured to start with the Upstart system because i use Upstarts events to start another app which depends on pgsql to be running. This is the tutorial/script i've used:
...
0
votes
1answer
530 views
Why my upstart script doesn't run?
I don't understant why my script is not running. Here is what I did (I'm using Ubuntu 10.04).
I wrote a mountFTP.conf script:
description "Mount the remote FTP for sync"
start on started tty1
...
0
votes
1answer
248 views
Apache doesnt start after upgrade to 12.10
during the upgrade process I was wondered for "replace init.d", and I said "keep", not replace. Now, apache2 is not working. I tried removing and upgrading again, but doesnt start.
I have this error ...
0
votes
1answer
510 views
AutoSSH for a robust tunnel
I'm trying to start an ssh tunnel from A to B and have it run despite things like: period network/wifi drops on A and remote server reboot on B. My ssh tunnel starts using upstart script on A with ...
2
votes
0answers
50 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
66 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
27 views
Where is Unity startup script in rc?.d
I've been reading about runlevels and startup scripts lately, and I've learnt that runlevels 2 to 5 are the same in Ubuntu, and that Ubuntu's default runlevel is 2.
What I want to do
I want to ...
1
vote
0answers
12 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
84 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
43 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
46 views
nothing is written in a file created from a upstart job
I have a program in /home/me/bin/foo, typically compiled from :
// includes
...
#define PATHNAME "/home/me/bin/bar.txt"
int main ()
{
FILE* f;
f = fopen(PATHNAME, "wb"); // I skip the possible ...
1
vote
0answers
38 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
52 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 ...
1
vote
0answers
23 views
Upstart pushback unexpected error, is it a bug?
This is on Ubuntu 12.04.1 LTS with upstart versions 1.5-0ubuntu7.1 and 1.5-0ubuntu7.2.
These updates were pushed back mid release and break every machine from the company I host with.
I am not sure ...
1
vote
0answers
206 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
74 views
User job not wokring in Upstart 1.5
I have my xyz.conf upstart config file in my $HOME/.init directory. When I run "start xyz" I get this error:
start: Rejected send message, 1 matched rules; type="method_call", sender=":1.56" ...
1
vote
0answers
91 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
5 views
Upstart: report (email, log) on respawn and failure
I would like to get an email when an upstart job fails and respawns, and when all respawns are depleted, and the job fails.
How can I do that?
0
votes
0answers
10 views
Restart Upstart
I'm in the process of building a job to work in upstart, and any time I have even a typo the entire upstart breaks; not just my job. Is there any way to reload upstart without rebooting?
0
votes
0answers
23 views
Am I using upstart correctly?
I'm trying to write a startup script for my Ubuntu 12.04 desktop that pings my Netgear router every 30 seconds (this is necessary as a nasty workaround for a separate problem I'm having). I read this ...
0
votes
0answers
10 views
How to modify the LiveUSB to execute a script upon boot
I have created a live usb image (ubuntu desktop) using live usb creator. Now what I am required to do is to boot through the LiveUSB and when it finishes booting it will perform some operation such as ...
0
votes
0answers
18 views
Powernap daemon doesn't start with upstart
I have a problem with powernap daemon on kubuntu 13.04, which doesn't start with upstart (or with /etc/init.d/powernap start). On my other machine with ubuntu 12.04.2 LTS it starts ok.
$ sudo service ...
0
votes
0answers
38 views
Shutdown slow: unknown job s35networking
Since I've upgraded to Ubuntu 13.04 from 12.04 LTS, I get this error when I shutdown the pc:
rather than invoking init scripts through /etc/init.d, use the service(8) utility service S35 ...
0
votes
0answers
24 views
Upgrading to Upstart 1.8 in Quantal
Wondering if anybody has any tips for upgrading the version of upstart on Quantal from 1.5 (shipped) to the latest version 1.8.
With 1.7 & 1.8 Upstart brought in some extra support for how env ...
0
votes
0answers
26 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 ...
0
votes
0answers
30 views
How can I add an upstart script specifically to the end of the boot sequence?
Is there a simple way to determine the last upstart script to run, so I can add my custom bits to depend on that one stub?
I'm asking so I can resolve the Ubuntu-desktop on Nexus 7 bug of audio not ...
0
votes
0answers
27 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
# ...
0
votes
0answers
57 views
How will I be able to enable user mode for Upstart on on 13.04?
Once 13.04 comes out, I'd like to install it with the unsupported "Upstart user mode." I have read the docs and see the "from TTY" information, but it's not clear how to make the login from LightDM ...
0
votes
0answers
38 views
How is nbd-server supposed to start at boot time under Ubuntu 12.04?
So, a client upgraded from 10.04 to 12.04 on a whim. Suddenly things didn't work. They have a couple old machines that they use as terminals with LTSP. After the upgrade they couldn't get the ...
0
votes
0answers
165 views
Starting bumblebeed on boot
I have recently installed bumblebee and it works great - except that bumblebeed doesn't start automatically when I boot. I have tried to run $ sudo update-rc.d bumblebeed defaults, but it doesn't make ...
0
votes
0answers
116 views
alternative of “chkconfig” command in Ubuntu 12.04 or lower
How to use chkconfig --list in Ubuntu .
It's asking for install this but I don't have privilege to install any package on the server and have to fix the issue.
As I am working with redhat/Centos, but ...
0
votes
0answers
60 views
static-network-up not emitted if virtual interfaces present?
I'm wondering if I've found a bug in ifupdown, but I wanted to ask here before reporting a bug:
/etc/network/if-up.d/upstart seems to fail to emit static-network-up if any virtual interfaces are ...
0
votes
0answers
116 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 ...
0
votes
0answers
33 views
Cannot get Monit Watchdog to function on 12.04
The well known Monit utility will not launch and stay running as a daemon on 12.04. Most of the instructions found on the web are outdated for 10 or 11 versions of Ubuntu.
Anyone had any success in ...