0
votes
1answer
43 views
+50

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
2answers
26 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 ...
2
votes
2answers
76 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 ...
0
votes
1answer
49 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 ...
3
votes
2answers
112 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 ...
1
vote
0answers
26 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 ...
1
vote
0answers
167 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 ...
2
votes
1answer
297 views

How are kernel modules in /etc/modules determined (because one of mine fails to load)?

I was trying to setup lm-sensors (Community Guide) and when I get to step 4 (sudo service module-init-tools restart) the service fails to start. In /var/log/upstart/module-init-tools.log I get an ...
0
votes
0answers
112 views

xOrg (Upstart) starts on wrong TTY

currently I'm developing on a little project consisting fully automated computer. I installed the Ubuntu server edition to get a very clean installation and installed xOrg, dwm etc. on it. Afterwards ...
1
vote
1answer
97 views

Running BaseX as an upstart job

I'm trying to configuring BaseX to run as a service on my server. The basexserver command has a flag -S whose functionality is listed as "start as service". If I run basexserver -S at the command ...
0
votes
0answers
882 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 ...
3
votes
1answer
3k views

How to Debug when upstart hangs?

I have recently much trouble with services started by upstart. Currently I have problems with avahi-daemon and rsyslogd. Most of the time i had that problem on Ubuntu >= 12.04. What's the problem? If ...
9
votes
4answers
3k views

Allow non-sudo group to control Upstart job

I'm trying to set up an Upstart job to run on system startup, and that can also be started/stopped by members of a group other than sudo. With a previous version, I usedupdate-rc.d and scripts stored ...
4
votes
1answer
2k views

How do I choose which way to enable/disable, start/stop, or check the status of a service?

If I want to start a system installed service, I can do: # /etc/init.d/some-svc start # initctl start some-svc # service some-svc start # start some-svc If I want to disable a service from running ...
6
votes
3answers
3k views

/sbin/getty process causing 100% CPU utilization

I have an instance of Ubuntu 12.04 LTS (GNU/Linux 3.2.0-25-virtual i686) running as a KVM-VM on a host-machine that runs one more VM beside it. I deploy a Ruby on Rails application using the ...
7
votes
4answers
15k views

How to disable GDM from being automatically started?

After Ubuntu Server 12.04 installation, I installed Xubuntu just to have a minimal GUI: sudo apt-get install x-window-system-core sudo apt-get install --no-install-recommends xubuntu-desktop gparted ...
0
votes
1answer
840 views

Upstart not loading services

I have a machine that boots no problem but a lot of the services do not start. The run level when I login is "N 2". Services can be manually started but not starting on boot. I am running 10.04.3 ...
1
vote
2answers
449 views

Upstart not running my dynamic DNS script

I have a dynamic DNS script as follows: #!/bin/bash curl -kL# "http://example.com/updatedns.php" echo $? >> /var/log/ddns ...saved to /usr/local/bin/ddns. Obviously the URL above isn't the ...
1
vote
2answers
757 views

Where do I put my start up script for mysql?

I have created a second instance of MySQL on the server for replication, if I start the process manually it works but need it to start at bootup. I used to just do a bash script in the init.d folder ...
2
votes
1answer
734 views

Upstart scripting: Start service and immediately run another command

Here is my current Upstart script I've placed at /etc/init/redis.conf: description "redis server" start on runlevel [2345] stop on shutdown exec sudo /opt/redis/redis-server /opt/redis/redis.conf ...
20
votes
8answers
19k views

Why isn't my upstart service starting on system boot?

Following on from this question, I have written a simple upstart service (/etc/init/pms.conf) for my headless Ubuntu Server 11.04 box as follows: start on filesystem and net-device-up IFACE=eth0 stop ...
10
votes
2answers
6k views

How do I set up a service?

I have a script that I would like to run as a service on my Ubuntu Server 11.04 headless box. That is, I want to have the correct files under /etc/init.d/ and to be able to control it via the service ...
11
votes
2answers
5k views

Why does upstart keep respawning my process?

I wrote an upstart script to launch a daemon inside a tmux session. It works well and respawns the process if it dies unexpectedly, but I can't seem to stop it manually. The job (called bukkit) looks ...
2
votes
1answer
206 views

while setting upstart in application giving error

wht i have done is sudo emacs /etc/init/app.conf and then i write the code for my upstart # application Server description "applicationServer" author "Rahul Mehta ...
2
votes
1answer
1k views

Heartbeat doesn't start [closed]

Heartbeat don't start on automatic. Network interface is not UP when heartbeat start OS version : 10.04 Exact message in boot.log : Starting High-Availability services: bond1: unknown interface: No ...
5
votes
2answers
5k views

MySQL server Upstart script not working on boot

For some reason the Upstart script for the MySQL server isn't working when I boot my server, however it does work once the server has booted and I execute sudo start mysql manually. I'm running an ...
3
votes
1answer
375 views

Why does mysql process starts on boot?

As you can see, mysql exists only in the /etc/init.d directory and not in /etc/rcN.d, therefore it shouldn't start on boot. $ sudo find /etc -regex ".*\(rc.*d\|init\.d\).*" | sudo grep "mysql" | sort ...
3
votes
2answers
2k views

How do I setup gunicorn?

Upstart doesn't like to start gunicorn because it tries to call setpgrp (see github issue), what would be the best way to start [gunicorn] on a 10.04.1 server install? - Ideally with automatic ...
15
votes
6answers
6k views

upstart-supervised init script for Apache?

I want to run apache on Ubuntu 10.04, and use the nice supervision stuff in upstart (I'm not just talking about the apache init script, but proper service supervision a la daemontools - which is to ...