0
votes
0answers
9 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
1answer
54 views

Problem sourcing variables inside Upstart

I'm trying to use the variables defined in /etc/environment in an upstart script running on 12.04. I'm able to export the variable to the child process but for some reason I not able to use them in ...
1
vote
0answers
35 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. ...
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
110 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 ...
2
votes
2answers
132 views

How can I tell upstart to restart a service when a different service is restarted?

I've an OpenERP server running on one of my servers. It's started by a traditional /etc/init.d/ script. It uses a PostgreSQL database and needs a manual restart every time PostgreSQL is restarted. ...
0
votes
1answer
216 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 ...
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 ...
3
votes
3answers
446 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 ...
0
votes
1answer
377 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: ...
1
vote
1answer
399 views

Ubuntu 12.04, why service procps start doesn't start procps?

I have been trying to get some settings in /etc/sysctl.conf to take effect upon rebooting. So, I did the following as the root user on this node running Ubuntu 12.04 LTS 64bit # service procps ...
1
vote
1answer
530 views

What is the current state of Ubuntu's transition from init scripts to Upstart?

What is the current state of Ubuntu's transition from init.d scripts to upstart? I was curious, so I compared the contents of /etc/init.d/ to /etc/init/ on one of our development machines, which is ...
2
votes
1answer
308 views

reliably restarting services using upstart or runit

I want to reliably restart my app and web server processes on crash. If I understand correctly, runit starts every service as a child process. If the child process crashes this sends a signal to the ...
5
votes
2answers
5k views

Remove services from upstart

I have mysql installed (from repos) on a development machine (laptop) and I don't need the daemon running on every boot. I've copied /etc/init/mysql.conf to /etc/init/mysql.conf.old and then removed ...
1
vote
3answers
172 views

How do I start certain services only when needed?

I have a laptop. I use it for web+email a lot, and then some days for web development. Using it for the latter, I need apache2 and mysql server running, but normally I do not. I'd like a normal boot ...
1
vote
1answer
195 views

How do I correct items that are now upstart jobs but still have an entry in /etc/init.d?

How do I correct items that are now upstart jobs but still have an entry in /etc/init.d? I have an ubuntu 12.04 machine which complains in the boot.log file like: Since the script you are ...
1
vote
2answers
4k views

How does dhclient get called under 12.04

In my 12.04 Precise install, when I boot the system, or when I plug in an ethernet cable, dhclient isn't run automatically on my wired eth0 connection. I have no running dhclient daemon. When I run ...
2
votes
1answer
2k views

user upstart job in ~/.init/ is not found

Running 12.04, I have the following upstart job in ~/.init/: # myjob start on net-device-up stop on [!12345] script echo ">> hello from user script" >> ~/tmp/upstart.log end script ...
3
votes
2answers
631 views

Starting a user-space program as non-root user at boot with upstart

Is there a method to set up an upstart script to execute a user-space program without keeping root privileges, but so the user which has directory/permissions-based ownership of the program can ...
1
vote
1answer
1k views

Why does Upstart need `setgid` when I have `setuid` and the user is a member of the group?

I'm attempting to configure Upstart to run a small utility that needs to access a tty as a system-wide daemon. When run from the command-line, the utility remains in the foreground and doesn't exit ...
0
votes
2answers
2k views

Squid3 fails to start on boot

Squid3 does not start automatically on boot, in some cases. I have start it manually with sudo service squid3 start. Any reason why?
3
votes
5answers
12k views

After Upgrading to 12.04 I can't get to the login screen

I cannot go pass the black screen and the following shows up on my screen after upgrading and rebooting with the Ubuntu update manager from 11.10 to 12.04: ata_id [27]: HDIO_GET_IDENTITY failed for ...