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.
771
questions
0
votes
1
answer
43
views
Is the upstart online cookbook down? Is so, any backup? [closed]
Some legacy system still uses upstart, so I still go check the cookbook from time to time. (Used to be at http://upstart.ubuntu.com/cookbook)
But the whole upstart.ubuntu.com domain seems to be taken ...
0
votes
0
answers
1k
views
How to disable a service only for the next boot?
According to https://askubuntu.com/a/19324
systemctl disable SERVICE Turns the service off on the next reboot or on the next stop event. It persists after reboot.
Is it possible to disable a service ...
4
votes
2
answers
906
views
What is the starting process like for Ubuntu?
I'm trying to learn about Linux and how Ubuntu with Gnome is started from the moment I turn on my computer.
I understand that first the kernel starts and after it has finished booting it runs the init ...
1
vote
1
answer
3k
views
Start the gui program as non-root in systemd
Run ps -ef to find that the process number of upstart is 1566. When the parent process id of my gui program is 1566, it can be displayed normally. Now there are several problems that cause my gui ...
0
votes
1
answer
2k
views
Ubuntu 18.04 service not executing on startup even when its enabled
I have a service I want to run right after my computer start.
The steps I've followed for it are as follows:
Create cv
Create cv-init.service in /usr/lib/systemd/system
Format the file as shown below
...
2
votes
2
answers
11k
views
Upstart to automount USB in Ubuntu Server 20.04
I would like to have my home Ubuntu server automount USB devices.
Currently, I mannually write
sudo mount /dev/sda1 /media/library
However, I tried to write an Upstart script, start-library.conf in /...
0
votes
0
answers
44
views
automount process starts 5 minutes after system boots
New to ubuntu, and I have been looking every place I can find to fix this issue. I really need my automount process to start when the system starts, not 5 minutes after. I have a program that starts ...
0
votes
1
answer
129
views
installed upstart-sysv package and now my system loads of to blank screen
I hd some dns error thrown for some websites.
As a solution i tried installing upstart-sysv. But now screen loads to blank.
I long press esc n load a kernel then get directed to initramfs console. ...
0
votes
1
answer
3k
views
Set advanced option as default ( = 0) startup in GRUB
I have an installation of Ubuntu 16.04 that only boots properly under an advanced option in GRUB (upstart). I know that you can rank the order of boot options from the grub menu, with 0 being the ...
0
votes
0
answers
2k
views
Initctl missing, need to run reload-configuration command
Ubuntu Sever, 18.04
I have a situation where I need to run a configuration file. The instructions call for me to run the following command:
initctl reload-configuration
However, initctl doesn'...
0
votes
1
answer
994
views
16 to 18 Upgrade Stuck - upstart, systemd issues
Hi I might need a bit of help with upgrading Ubuntu on virtual server, it seems it upgraded to 18 but there are some dependancies errors and none of the restart commands are found in terminal.
"Apt-...
0
votes
1
answer
335
views
mysql does not start after a reboot
I am using Ubuntu 19.10 and installed mysql-server on it.
First it gave me an error
error was mysql access denied for user 'root'@'localhost'
solved by code below
ALTER USER 'root'@'localhost' ...
0
votes
1
answer
2k
views
unable to connect to Upstart Failed to connect to socket com/ubuntu/upstart : connection refused
I have a Ubuntu 16, whenever I run an apt-get update, things go correctly then I get a message indicating
Processing triggers......
start: unable to connect to Upstart Failed to connect to socket ...
3
votes
1
answer
548
views
systemd update conflicts with upstart
On my Ubuntu Server 18.04 (originally installed as 14.04 and upgraded to 18.04 few months ago), systemd update has now been "kept back".
I looked at it in aptitude and it says that dependencies are ...
4
votes
2
answers
13k
views
Just need to run them on startup. Systemd
Ubuntu 19.04
Hi, I have a bug with systemd
I have a launch-server.service file that has
[Unit]
Description=LaunchServer
After=network.target
[Service]
WorkingDirectory=/home/aborigen/Launcher/...
0
votes
0
answers
188
views
cron @reboot ubuntu ldap dependency
Question: Users can configure cronjobs @reboot, but the cron environment is not ready for users at boot time. How can cron be forced to run only after the system is ready for users on Ubuntu?
On a ...
0
votes
1
answer
1k
views
My computer is stuck in Ubuntu Start up screen and doesn't start
I got Ubuntu 19.04 (old laptop) and my computer doesn't start. I'm not dual booting it with windows or any other Linux etc. I'm only having the Ubuntu 19 04 on it, I however got problem when starting ...
1
vote
1
answer
691
views
How to use systemd instead upstart?
Suddenly systemctl stopped to work while I ssh'ed in my remote server to check service status. Output was
Failed to list units: Launch helper exited with unknown return code 1
I discovered that ...
0
votes
1
answer
59
views
Git installation failed on Ubuntu 16.04
I am trying to install git on Ubuntu 16.04 LTS but am getting the following error.
Command:
$ sudo apt install git
Error:
start: Unable to connect to Upstart: Failed to connect to socket /com/...
4
votes
2
answers
4k
views
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 > ${...
2
votes
0
answers
2k
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
1
answer
668
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.
...
1
vote
0
answers
833
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
1
answer
2k
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
1
answer
752
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
0
answers
419
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
0
answers
879
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
0
answers
2k
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
0
answers
341
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
1
answer
90
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 ...
2
votes
0
answers
246
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
0
answers
3k
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 ...
1
vote
1
answer
4k
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
0
answers
58
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 ...
2
votes
1
answer
4k
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
1
answer
270
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.
...
2
votes
2
answers
3k
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
0
answers
859
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 ...
18
votes
1
answer
20k
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
0
answers
374
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 ...
3
votes
1
answer
9k
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
0
answers
59
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 ...
1
vote
0
answers
533
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
1
answer
384
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
1
answer
693
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
1
answer
2k
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
3
answers
3k
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
...
4
votes
0
answers
15k
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
1
answer
3k
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
1
answer
1k
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/...