Questions tagged [upstart]

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.

Filter by
Sorted by
Tagged with
1 vote
1 answer
119 views

What happens to upstart scripts in a migration from Ubuntu 14.04 to 16.04.01?

I am in the early stages of planning a migration from 14.04 LTS to 16.04.1, and the first thing I'm reading is that upstart is gone in favor of systemv. I have some custom network upstart scripts that ...
David W's user avatar
  • 193
3 votes
0 answers
2k views

What is a DLM upstart job and how to start it in order to run displaylink successfully?

I know displaylink is now available for ubuntu 16.04. So I bought an AOC usb monitor, and I was trying to install the driver following the instruction of his link: http://support.displaylink.com/...
helloWorld's user avatar
0 votes
1 answer
108 views

Can you return 0 when stopping an upstart service which is already stopped?

I have a custom upstart service which I'm trying to automate via Chef. The chef flow is like this: - Create /etc/init/myservice.conf, notify restart myservice (if conf file changes) - Start myservice ...
Nikhil Owalekar's user avatar
1 vote
0 answers
691 views

Upstart stop/waiting?

I have created a upstart script to start a multicraft daemon on system boot. Although it does start on boot, how do I stop the service? If I run service daemonmulti stop it returns stop: Unknown ...
Myth Da Wolf's user avatar
0 votes
1 answer
201 views

Upstart spawn multiple vncservers

Simple upstart script: start on startup exec /usr/bin/vncserver spawns over 15 instances of Xvnc process. Soft: tigervncserver on Ubuntu 16.04 If i launch it from shell like $/usr/bin/vncserver it ...
user641490's user avatar
2 votes
2 answers
8k views

Temporary failure resolving ca.archive.ubuntu.com [duplicate]

I am trying to run sudo apt-get install ubuntu-standard systemd-sysv but I keep getting the error: "temporary failure resolving 'ca.archive.ubuntu.com'". I tried following the steps listed here but ...
Matt G's user avatar
  • 193
0 votes
0 answers
298 views

Boot Problems After 16.04.1 Upgrade

The upgrade from 14.04 LTS to 16.04 LTS failed and exited on mythtvexport due to a previously failed install that I had forgotten about. This module has since been removed. The upgrade continued in ...
PaulRSte's user avatar
0 votes
1 answer
1k views

Ubuntu 16.04 fail to launch the upstart script that works in Ubuntu 14.04

I know the new Ubuntu is more in favor of systemd than the upstart, but when I immigrate my website (python+nginx+uwsgi) from the Ubuntu 14.04, the upstart script is failed to launch during the system ...
foool's user avatar
  • 101
0 votes
1 answer
962 views

'start on runlevel' command not working

I have a .py script which I want to run at startup. I wrote this code in a file named test1.conf and kept in /etc/init start on runlevel [2345] stop on runlevel [!2345] python /home/partho/...
partho's user avatar
  • 349
17 votes
1 answer
14k views

SysV, Upstart and systemd init script coexistence

On my system (16.04), there are the files /lib/systemd/system/network-manager.service and /etc/init.d/network-manager, for example. I don't understand how (and why) this works. I always restart ...
user2061057's user avatar
1 vote
0 answers
180 views

Setting environment variables before unix services start

I need to set an environment variable before my init system actually starts other services, These services are baked into an AMI and use environment variables to run commands. In my case init system ...
rajat's user avatar
  • 111
1 vote
0 answers
1k views

At boot I enter Recovery Mode; after CTRL+D I can enter normally

I'm used to working on Ubuntu for a year now, but a little over a week ago, grub started acting kind of weird. I did some research and I still cannot figure out what exactly is going wrong. Note: I ...
user634990's user avatar
2 votes
0 answers
37 views

Trouble recovering after release upgrade

I was upgrading from Ubuntu 14 to Ubuntu 16.04 when the process failed. After the computer rebooted itself, I found a problem with the bootloader, which would throw me back to BIOS setup. I fixed that ...
Арсен Гоян's user avatar
1 vote
0 answers
241 views

How to set sequence level using /etc/init config file?

I need to start my service after postgresql. I have /etc/init/my_service.conf file that fails to start on bootup because postgres is not online yet. PG has sequences S19 & K21. With init.d script ...
nobilik's user avatar
  • 111
1 vote
1 answer
222 views

Upstart job: Pass command with escaped quotes to the exec stanza

I have an upstart job named server.conf to start a game server that contains the following #!upstart exec /srv/l4d2/srcds_run -game left4dead2 -tickrate 30 -maxplayers 8 -ip 192.168.1.1 "+map \"...
Pesh Melba's user avatar
0 votes
1 answer
168 views

how to use the upstart command instead of systemctl

I am a newcomer to Linux and Ubuntu; I was about to start the gdm environment with the command sudo start gdm but I got this message error: start: unable to connect to Upstart: Failed to connect to ...
Dodi lila's user avatar
1 vote
1 answer
822 views

Should I remove upstart binary from my upgraded Ubuntu 16.04 server?

I recently updated my server from 14.04 to 16.04 LTS. I had some issues, particularly with mysql and mythtv. Eventually I got it working, however ..... Whenever I do an update I get upstart error ...
Tony's user avatar
  • 11
0 votes
1 answer
331 views

How do multiple init systems coexist on Ubuntu?

I am often confused by the exact init system being used on a Ubuntu system since there are 3 of them: sysvinit, upstart and systemd. And it's not rare to see packages including multiple scripts for ...
Cyker's user avatar
  • 343
0 votes
1 answer
1k views

How to find out what init mode system is using?

I was looking at this and I'm not sure how to find out which startup service is used on my machine (Ubuntu 14.04 on Digital Ocean). Can it use all of them? (upstart, system v, systemd) https://www....
Ante's user avatar
  • 103
3 votes
0 answers
1k views

How to convert this upstart to systemd?

I used this upstart in ubuntu 14.04 and it worked perfectly fine: start on runlevel [2345] respawn script cd /media/sf_ACEBot exec /usr/bin/mono /media/sf_ACEBot/ACE\ Bot.exe >>...
Matin Lotfaliee's user avatar
0 votes
0 answers
232 views

openssh-server privilege separation bug strikes again 16.xx Lubuntu

I've been fighting an inconsistent startup problem with the 16.xx releases of Lubuntu and openssh-server. It won't start at boot as it should and manually starting "sudo service ssh start" yields an ...
J T's user avatar
  • 1
1 vote
1 answer
6k views

start not found for job in /etc/init ubuntu

I have added my conf file in dir /etc/init as author "seaweed" description "seaweedfs" start on filesystem or runlevel [2345] stop on runlevel [!2345] limit nofile 1000000 1000000 respawn chdir / ...
Junaid Farooq's user avatar
2 votes
0 answers
1k views

initctl does not list, start job

Given file /etc/init/somejob.conf defined as: # somejob - testing job init description "start or stop test" script $(readlink -f $(which echo)) hey end script Does not appear with ...
lash's user avatar
  • 161
2 votes
0 answers
203 views

How do i change my upstart jobs to systemd?

sudo restart vsftpd restart: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused** I have been running this command to restart my FTP daemon after I have ...
Ghaith Zamrik's user avatar
2 votes
0 answers
436 views

cgroupfs-mount fails to start and restrict installationof other packages

I'm having a weird issue with cgroupfs-mount on a server running Ubuntu 14.04. I don't how this started but now whenever I try to install some new packages, I receive this error: * cgroupfs-mount is ...
Garsallah mohamed's user avatar
0 votes
0 answers
294 views

Both `systemd` and `upstart` (init) installed - which package(s) determents what's default?

I've been playing around (a bit too much?) with "Unrecognized Tasks" in aptitude, and have installed lots of extra-packages - mostly to be able to freely choose between different desktop-managers... ...
Baard Kopperud's user avatar
2 votes
0 answers
647 views

update-rc.d wildfly defaults not working ubuntu 16.04

I am facing this issue in Ubuntu 16.04 Error during setup wildfly as service with the help of link https://gesker.wordpress.com/2016/02/09/wildfly-10-on-ubuntu-15-10/ Showing below exception initctl: ...
arun kumar's user avatar
0 votes
1 answer
109 views

Upstart after VirtualBox shared folder mounted

I have written an upstart like the one below: start on vagrant-mounted respawn script cd /media/sf_ACEBot exec /usr/bin/mono /media/sf_ACEBot/ACE\ Bot.exe >> /media/sf_ACEBot/...
Matin Lotfaliee's user avatar
3 votes
1 answer
259 views

Upstart --user: how a processes started

I am trying to debug an issue in my user session. I am running on Ubuntu 16.04 which still uses upstart --user to manage the user session. My problem is that some process in my user session is ...
lanoxx's user avatar
  • 1,219
2 votes
0 answers
824 views

Ubuntu 16.04 custom xsession gnome-session hangs

I am trying to set up a custom xsession on Ubuntu 16.04. I need to run some custom setup before starting gnome-session. I have successfully done this on Ubuntu 12 but porting across to 16.04 results ...
Hippy Surfer's user avatar
2 votes
0 answers
128 views

Run the program or a script when Ubuntu boots without user login?

Hello I am a user does not have much experience using Ubuntu and my english is not really good, so I will describe the contents to give you a way easy understand Purpose: When Ubuntu boots, some ...
cosiup's user avatar
  • 31
0 votes
0 answers
246 views

Cannot manually stop/restart a upstart service on Ubuntu14/GCE

I have a /etc/init/myservice.conf. On reboot, it's up and running with no issues. The service is a java web server, e.g.: java -jar myhttpserver.jar But! I cannot manually stop or restart the ...
Xi Zhang's user avatar
  • 101
1 vote
0 answers
202 views

init.d script failing to start

sudo /etc/init.d/autovpn start works yet sudo service autovpn start will not i have done update-rc.d autovpn defaults the link is in /etc/rc.5 runlevel returns N 5
Tommy Huff's user avatar
0 votes
1 answer
2k views

problem getting gunicorn.conf file to work in /etc/init

I am trying to configure a gunicorn service. The content of /etc/init/gunicorn.conf is something like this: start on runlevel [2345] stop on runlevel [!2345] respawn setuid nero set gid www-data ...
Nero Vanbiervliet's user avatar
2 votes
0 answers
613 views

What is best way for virtualbox automatic graceful guest savestate on host reboot/shutdown

I have Ubuntu 14.04 host with some win guests drived by Virtualbox 5.1. Some of them are really big and needs about 1-2-3 minutes to get to savestate. As far as I know there are at least two init.d ...
Yuri's user avatar
  • 21
0 votes
1 answer
16k views

Ubuntu 16.04: display manager fails to start

Reposting the question from: https://unix.stackexchange.com/q/314129/193223 I recently upgraded from Ubuntu 14.04 to 16.04 after which the display manager stopped working. Assuming it's due to the ...
yang5's user avatar
  • 101
0 votes
1 answer
102 views

Why does testing a file after sourcing fail in Upstart?

The following Upstart script, saved as /etc/init/upstart-test.conf works: start on filesystem stop on on runlevel [!2345] pre-start script set -x [ ! -f /etc/default/grub ] && { stop; ...
detly's user avatar
  • 3,372
2 votes
0 answers
1k views

How to ensure that autofs and nfs are ready before another service?

Under Ubuntu 14.04, I have developed a program in C++ that writes to an NFSv4 volume mounted by autofs. The program works fine when my machine has already "warmed up". However, it crashes when it's ...
Kal's user avatar
  • 395
3 votes
1 answer
1k views

Upstart to systemd conversion doesn't work for curl and watch?

I had this upstart job earlier: description "This is Notification Service" author "King" start on runlevel [2345] exec watch -n 1 /usr/bin/curl -s https://domain.com/cron >/dev/null 2>&1 ...
Thomas Coulson's user avatar
0 votes
1 answer
620 views

GRUB shows up after installing upstart-sysv in Ubuntu 16.04

I was trying to configure FTP in my Ubuntu 16.04 LTS last night, and accessing it failed. I tried some "solution" by some guy in a forum (forgot where exactly) and installed upstart-sysvin my system. ...
afagarap's user avatar
  • 318
1 vote
0 answers
594 views

Samba Load Error Upon Startup

I am facing an issue with every time I freshly start my server the samba service doesn't function properly. I can't connect to the network shares, and can't browse it via its IP. It is a Ubuntu 14.04 ...
Harley Frank's user avatar
1 vote
0 answers
502 views

empty modules.dep after boot hang: what runs depmod during startup?

tl;dr: What runs "depmod" or otherwise messes with modules.dep during boot? Full story: Environment: notebook with radeon videocard, fglrx drivers. Kernel 3.13.0-87, ubuntu 14.04.4, upstart (not ...
ADEpt's user avatar
  • 111
0 votes
1 answer
3k views

Ubuntu 16.04 repository for samba

I have recently upgraded to Ubuntu 16.04LTS from 14.04. Everything worked, except for samba. After spending a lot of time on trying to make samba work, I decided to re-install samba. However, when I ...
Arno_H's user avatar
  • 1
1 vote
1 answer
3k views

Set nginx init script to never run automatically on startup

I just installed nginx on Ubuntu 16.04. The trouble is, I only want to start it manually, never automatically on runlevel. I found lots of entries about how to get it to run on different runlevels, ...
Thom's user avatar
  • 1,469
1 vote
0 answers
751 views

failed to connect to socket /com/ubuntu/upstart connection refused 16.04

I am trying to install plexmediaplayer on to my Ubuntu 16.04 server. I have recently started from scratch, with my server by installing 14.04lts then upgrading to 16.04. Before I upgraded, and before ...
Jordon Blackstock's user avatar
1 vote
0 answers
206 views

Fixed fans by update GPU drivers, broke everything else by installing and/or removing bumblebee

New Linux user here, and I'm already breaking everything. So I installed KDE neon. First problem I had was my fans running at full speed constantly. I don't remember what I did exactly, I believe I ...
Kalivel's user avatar
  • 11
1 vote
0 answers
764 views

Upstart logs don't exist?

I'm on 14.04 and my init system is upstart. I'm trying to grab some logs from an application (Docker daemon). Debugging is switched on, it runs via upstart, but I have no directory /var/log/upstart (...
johnharris85's user avatar
1 vote
1 answer
2k views

MegaSync app won't start on startup

On the application settings I have checked the option to start app on startup: Also on the start-up application preferences, the app is checked: . But since this morning, the app won't ...
Filip's user avatar
  • 111
1 vote
0 answers
314 views

Can I keep upstart while upgrading to 16.04.1 via `sudo do-release-upgrade`?

I have a server which has some services configured via upstart scripts. I think it would be good to do the upgrade to 16.04, but I'd rather not rewrite them all to systemd right now. Can upstart ...
Display Name's user avatar
2 votes
2 answers
1k views

What are the benefits of using systemd?

Ubuntu has been using Upstart since the 6.10 release. It was a relatively simple and easy to manage the system and init, which allowed one to intuitively and quickly start and stop services on demand. ...
Anwar's user avatar
  • 76.6k

1 2
3
4 5
16