Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

2
votes
2answers
77 views
+50

System wide variables for both init scripts and system?

I created my own init scripts that use variables: #! /bin/sh case "$1" in start) echo "Starting Public API" sudo -u techops sh ${JBOSS_HOME_PUBLIC_API}/bin/standalone.sh > ${...
0
votes
0answers
22 views

How does upstart provide a wrapper over systemd? [duplicate]

Context On Ubuntu 18.04, it seems that systemd and "some components" of upstart, both, are installed. Here is what I mean by "some components" of upstart being installed: all the scripts in /etc/...
2
votes
0answers
93 views

How do I execute a command on system start in Ubuntu 18.04? [duplicate]

According to linuxaudio.org, I should add the command echo 3072 >/sys/class/rtc/rtc0/max_user_freq to my startup scripts. In previous versions, I've done this by adding the line to the file /etc/...
0
votes
0answers
33 views

Start docker daemon only if a filesystem is mounted

I have an Ubuntu 18.04 server that runs different docker micro-services. These services use volumes, and the volumes are mapped to an external drive in the host (this question can be extended to a ...
0
votes
1answer
76 views

How to stop apache2 service

I need to stop apache2 service for 3 hours during the backup time. How can I do this through crontab or similar ways... I tried with crontab: 15 14 * * * service apache2 stop But nothing happens. ...
0
votes
0answers
43 views

Upstart running python script

Ubuntu 14.04 I have simple upstart job test.conf: root@ubuntutest:~# cat /etc/init/test.conf expect fork script /root/test.py end script and simple python script /root/test.py: root@ubuntutest:~# ...
1
vote
0answers
65 views

upstart to systemd ubuntu16 - how to convert?

I have script from Ubuntu 14 working with upstart , how to convert it to systemd so it will work on Ubuntu 16 ? The file: start on runlevel [2345] and (started tty1 or started ttyS0 or started ...
0
votes
0answers
43 views

Ubuntu 16.04 two grub files appear and lines need to be selected

Logging onto Ubuntu 16.04, first a 6 line grub file screen with black background appears with 16.04 and old 14.04 information and one particular line has to be selected "Advanced Options for ubuntu 16....
0
votes
0answers
27 views

upstart equivalent of systemd-sysv-generator

systemd-sysv-generator automatically converts /etc/init.d scripts to systemd units. Is there an analogous approach that converts upstart job descriptions ? If not, is there some detailed manual on ...
0
votes
1answer
22 views

how to start a systemd service after another systemd service has stopped

I have a A.conf init file in ubuntu 14.04, where it depends on B as follows : start on stopped B i.e. A should start after another service B has stopped. Can anyone please let me know what is the ...
0
votes
0answers
81 views

apt-get install unmet dependencies “upstart-job”

When Im trying to install certain packages ie OpenSSH or isc-dhcp-server I get an unmet dependencies error depends: upstart-job I have no idea what this means. Any ideas?
0
votes
1answer
79 views

Setup Kiosk—convert Upstart to Systemd

Following this great tutorial https://thepcspy.com/read/building-a-kiosk-computer-ubuntu-1404-chrome/ which unfortunately is for ubuntu 14.04, I have started out to do that using ubuntu 18.04 LTS. ...
0
votes
0answers
126 views

Immediate logoff after login on Ubuntu 16.04

I try to quickly summarize the problem and what happened (details about system are below). I know there exist many similar questions however none of the answers did help in my case. I did not fiddle ...
1
vote
0answers
25 views

Start, Stop and Monitor an execution of java jar via upstart

On Ubuntu 14.04 I want to control a java process via upstart. If it gets stopped it should be started via upstart. The start and stop java process is controlled via the start-saasservice.sh and stop-...
0
votes
0answers
50 views

upstart returns “unrecognized service” only for some users

I've written a small custom REST service that runs via a python3 wsgi app under gunicorn, and is managed on the system via an upstart init script. (The host is ubuntu 14.04.1). The service is a git ...
0
votes
0answers
25 views

upstart kill timeout is not honored

I have a upstart script with which we try to manage multiple daemons. For example the upstart script would stop and start multiple dependent services and the main script has a kill timeout value set ...
0
votes
0answers
121 views

Cannot boot 16.04 in normal and recovery mode. Only upstart boots

After and update from an old version, Ubuntu does not boot in normal or recovery mode. In fact is almost the same as shown in Cannot boot 16.04 in normal and recovery mode. Only can with upstart mode ...
0
votes
0answers
22 views

Output logs to dynamically created folder structure (based on the current date), using upstart to create the service

I have the following upstart configuration: start on runlevel [2345] stop on runlevel [06] respawn respawn limit 99 5 #respawn is used to start the nodejs again, even if it fails. env NODE_ENV=...
0
votes
1answer
24 views

Upstart service says running but doesn't actually start

I have an upstart configuration file that's worked on my Ubuntu 16.04 VPS in the past (I reverted to upstart for 16.04 using this method here.) After reinstalling the server for a clean slate and ...
1
vote
0answers
35 views

How can I get the order of startup scripts - upstart and systemV

I have an upstart script that must start before a non-upstart (System V) script. I see that while booting, the systemV script starts before my upstart script. How can I check the boot order of these ...
1
vote
0answers
1k views

How to run upstart service in Ubuntu 18.04

I have purchased a new HP laptop recently with UBUNTU 18.04. But my ongoing project need "Upstart service". After using my new HP laptop, I am unable to find the "Upstart service" in UBUNTU 18.04. My ...
0
votes
0answers
1k views

Can I switch to Upstart services in Ubuntu 18.04 LTS? [duplicate]

I used the following command to install upstart in ubuntu 18.04 but end up with the following. sudo apt-get install upstart-sysv [sudo] password for user: Reading package lists... Done Building ...
1
vote
1answer
149 views

How to respawn automatically a process(wso2am)?

I have an upstart script as # Ubuntu upstart file at /etc/init/wso2am.conf #!upstart description "wso2am" pre-start script mkdir -p /var/log/wso2am/ end script respawn respawn limit 15 5 ...
0
votes
0answers
35 views

What does upstart means? How to solve this issue?

I've tried this sudo apt-get install upstart But I get this as feedback. Reading package lists... Done Building dependency tree Reading state information... Done upstart is already the newest ...
0
votes
1answer
554 views

Run script at login when GUI is ready with Kubuntu 17.10

I have found many things on how to do that. I tried with upstart, but it didn't do anything. I think I found some post that tells it doesn't come out of the box with upstart anymore. This is why this ...
0
votes
1answer
63 views

/sbin/upstart cpu usage

I have randomly getting >80% CPU usage from: /sbin/upstart --user Any idea how to stop that and the reason why is this happening? version: >>>lsb_release -a No LSB modules are available. ...
1
vote
2answers
410 views

Why is /etc/init/tty?.conf ignored in Ubuntu 16.04?

When using Ubuntu 14.04, I used to have a custom /etc/init/tty2.conf that started a program in this virtual terminal. But after upgrade to Ubuntu 16.04, these files seem to be ignored. Regardless of ...
0
votes
0answers
430 views

Upstart not detecting the new job on Ubuntu 16.04

I am unable to get Upstart to recognize my new job. I've checked the upstart cookbook, as well as various questions on the matter, such as this one. All the checks pass, but initctl list does not show ...
13
votes
1answer
8k views

Will Ubuntu 18.04 LTS still support Upstart or do we have to change to systemd?

Title pretty much says it all, I'm aware that since Ubuntu 15.04 systemd is the default service management tool, but can we still use Upstart with 18.04 if we'd like? If we can still use Upstart with ...
0
votes
0answers
209 views

Systemd vs Upstart

When I attempt to boot using systemd the keyboard and mouse do not work. When I boot using upstart the keyboard and mouse work fine. How do I get systemd working? I have looked over the other ...
0
votes
0answers
178 views

PCIe Bus Error 1c.5

I've searching for hours trying to figure out why all solutions that I found doesn't work. Every time I try to start Linux Mint 18.3, the session don't open and I got the error : initctl: Unable to ...
0
votes
0answers
60 views

Error installing git-daemon-sysvinit

When installing git-all I followed these steps as given by other popular answers on this forum itself. sudo apt-get purge runit sudo apt-get purge git-all sudo apt-get purge git sudo apt-get ...
1
vote
1answer
984 views

Failed to get properties: Launch helper exited with unknown return code 1

I used Ubuntu server 16.04.4 LTS and begin with containerization on Docker. I am using the upstart kernel on which I am booting and as soon as I run the following command: systemctl docker status ...
1
vote
0answers
38 views

A PC boots using the “with upstart” option, but not with the default option (systemd) - is this a reportable bug?

My Dell 755 PC with 16.04 (and a dual-boot of Windows 10) has a problem. It started right after some updates that required a reboot to complete. My question is, is this a reportable bug, considering ...
0
votes
0answers
20 views

Replacement for upstart --user?

In Ubuntu 16.04, Upstart is used to manage graphical sessions. With some tweaking, I was able to fully rely on Upstart to run a window manager, unity-settings-daemon, gnome-keyring etc. The main ...
0
votes
0answers
661 views

Failed to connect to socket /com/ubuntu/upstart connection refused 16.04 […] Sub-process /usr/bin/dpkg returned an error code (1)

I need a HERO I was trying to install git with sudo apt-get install git-all But I've got this error: start: Impossibile connettersi a Upstart: Failed to connect to socket /com/ubuntu/upstart: ...
1
vote
0answers
288 views

Unable to login to Ubuntu 16.04 admin user account

Unable to login to Ubuntu 16.04. I had issue of getting only blank desktop screen earlier for which I ran below commands given in other thread to resolve the issue. sudo rm -fr ~/.cache/compizconfig-...
0
votes
1answer
191 views

New Mythbuntu Installation not working on restart

I've just installed and configured Mythbuntu 16.04.3 LTS on an Intel NUC. It worked fine (I watched some TV through a separate Kodi front-end) until I restarted the NUC, at which point I can access ...
0
votes
0answers
123 views

Ubuntu 16.04 won't boot after some package installation

I'm using Ubuntu 16.04 LTS, yesterday I installed some packages and libraries after that when I restarted ubuntu won't boot and shows black screen and then it restarts after some time. I don't exactly ...
0
votes
1answer
261 views

Is it still possible to remove systemd from Ubuntu 16.04?

I have read and followed the instructions in this question (and these). I'm working with a fresh installation of Ubuntu 16.04.3, with xfce4 installed. But after installing upstart-sysv and sysvinit-...
1
vote
1answer
628 views

Is it possible to remove systemd completely in Ubuntu 17.10 replacing with sysvinit or upstart or OpenRC

Personal preference to run Ubuntu 17.10 without systemd as init replacement. I would like to know, if Upstart, OpenRC etc works anymore in Ubuntu 17.10 as direct replacement. I know, it will be hard ...
7
votes
3answers
2k views

16.04 to 17.10 login loop because of xsession and upstart

long story short, I upgraded from 16.04 to 17.10, and when I try to login I get a black screen for a second then I'm back to the login screen again. After inspecting .xsession-errors I found this line ...
0
votes
0answers
77 views

Is it safe to disable x11-common_start?

I upgraded my laptop to XUbuntu 17.10. But when I tried to login I just came back to the light-dm login screen. In .xsession-errors it stated that it could not find /sbin/upstart (because it does not ...
2
votes
0answers
3k views

Completely remove systemd service

I have an old piece of software, which however works perfectly until now. It is a service, set up with sudo update-rc.d zcam_101 defaults sudo service zcam_101 start Last day I had to change a ...
3
votes
1answer
1k views

Zombie process: sd_cicero, Ubuntu 16.04

When I followed the instructions in this question to find zombie processes, I found this process Z Jan02 0:00 [sd_cicero] <defunct>. When I try to find its parent process, I get this: ...
0
votes
1answer
523 views

cannot reinstall upstart

I followed a fix for another issue but now the reboot and shutdown executables are missing. I have tried sudo apt-get install --reinstall upstart But I get this line at the end /var/lib/dpkg/info/...
0
votes
0answers
83 views

ubuntu fails to load the graphical interface— BLACKSCREEN, ALL TTYs working

I recently changed my entire machine and i just swapped my ssd in the new machine. grub2 works and shows my options, when i choose (k)ubuntu, it will end up in an empty black screen, however, when i ...
0
votes
0answers
44 views

How do you uninstall apache2 when it thinks it's already uninstalled?

When I originally did sudo apt-get remove apache2* I hadn't stopped apache. After it didn't work I googled and found somewhere that you have to take a special step of stopping apache first. I ...
0
votes
0answers
85 views

Register Caddy HTTP server as a service in Ubuntu 14

I have a question regarding how to install an application as a service in Ubuntu 14. I am trying to register the HTTP server Caddy. I was following the instructions provided here however that ...
0
votes
1answer
527 views

Radeon: Invalid ROM contents

I have a dual-boot Windows - Ubuntu 16.04 desktop computer with a Radeon HD 7950 graphics card. Yesterday I upgraded from Windows 7 to Windows 10. Everything seemed to be OK. I started Ubuntu a couple ...