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
0 votes
1 answer
93 views

uptart and gnokii and chroot

I try to run this upstart script. # description "" author "" start on runlevel [2345] stop on runlevel [!2345] #chroot /home/ubuntu/ respawn respawn limit 1 1 exec sudo smsd -u ...
sdfsdfsdf's user avatar
0 votes
1 answer
76 views

Why upstart documentation prevents me from using respawn

In documentation I found a note that I shouldn't use respawn if I satisfied with expect. But I cannot understand, how are they interfere. For example, nginx config using both and predictable didn't ...
chuwy's user avatar
  • 103
0 votes
1 answer
3k views

FATAL: Module rtc not found

Upstart gives "unknown job" error when I try to start the server with $ start <my-app-name>. I found this in the logs: z@ubuntu:/var/log/upstart$ sudo zcat module-init-tools.log.1.gz FATAL: ...
Zeynel's user avatar
  • 297
0 votes
1 answer
106 views

upstart: mail error report on segfault

I have a process that's managed by upstart. It sends an error report on internal exceptions, but since the app isn't written in C, it cannot catch a SIGSEGV and send an error report on that. (Not ...
Bryan Larsen's user avatar
  • 3,761
0 votes
1 answer
2k views

Only Guest session can be started

While Ubuntu is starting, the following messages are shown and stays shown for long time: * Starting LightDM Display Manager [OK] * Stopping Send an event to ...
Muhammad Gelbana's user avatar
0 votes
1 answer
433 views

Init.d script problem

The init.d script is installed properly and by me i wrote the script correctly. But i have a very strange situation. The script executes a multi-threaded program written in c++ by me. If i execute the ...
SASA Aga's user avatar
0 votes
2 answers
363 views

Why can't I connect to this service when launched via Upstart?

I have a web service written in Golang that I need to fire up using Upstart. I can run the service executable (named word) on port 5555 from within it's directory manually like so: PORT=5555 ./word ...
Carter's user avatar
  • 103
0 votes
1 answer
703 views

Upstart job not starting

Can someone help me with a startup script not starting? I started it with initctl start startupScript, and it works fine. But it wont start at startup (= virtualbox, and mount, doesnt execute). I need ...
Marcus N's user avatar
0 votes
1 answer
185 views

Can I run my script using inputbox to appear my menu-box before login?

I am trying to do experiment with /etc/init. I have written a script which displays a window showing some menu. I don't understand on which event I should start my service. I don't want any desktop ...
Kishor's user avatar
  • 33
0 votes
1 answer
173 views

How can I tell inside an upstart script if the job was killed(crashed) or stopped normaly

Is there a way to know within the script if the job in question was killed(crashed) or stopped normaly. I want to kill another process in post-stop script only when the current job crashed and not ...
Andy's user avatar
  • 1
0 votes
1 answer
99 views

For processes to be up and running all the time

I want my python program sample.py to be always up and running. I have read some things and asked people about ways to do this. So far I have following options - Upstart Cron I am trying things ...
Hussain Tamboli's user avatar
0 votes
1 answer
2k views

Start command doesn't return for upstart script in Ubuntu?

I have written an upstart script called 'ts.conf' for a daemon and put it in /etc/init. When I try to start it with start ts I expect a confirmation message and I also expect to get the prompt ...
Henrik's user avatar
  • 103
0 votes
1 answer
733 views

Alternative way to start mysql server other than upstart?

I have a chrooted 10.04 LTS installation on a NAS, it works great but breaks Upstart very badly. MySQL only works via Upstart these days, so I created a workaround to start like this: dtach -n /opt/...
FLX's user avatar
  • 101
0 votes
1 answer
686 views

Missing Samba upstart job

Somehow my K20samba4 was deleted. How can I restore it (ie does anyone know where I can get the script)?
Calvin Froedge's user avatar
0 votes
2 answers
770 views

Starting nodejs application on server start gives exit with code 2

I'm running the below on server startup: exec sudo -E -u www-data /usr/bin/node /etc/nodeserver/app.js >> /var/log/applicationserver.log 2>&1 The console writes many messages that the ...
Asken's user avatar
  • 543
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 ...
Name's user avatar
  • 161
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 ...
John Riordan's user avatar
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. ...
Ashish Pandit's user avatar
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'...
Don_swcc's user avatar
0 votes
1 answer
1k 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-...
teosun's user avatar
  • 1
0 votes
1 answer
346 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' ...
political science's user avatar
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 ...
S.ELIAS's user avatar
  • 39
0 votes
0 answers
190 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 ...
anneb's user avatar
  • 111
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 ...
Oscar's user avatar
  • 1
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 ...
user111's user avatar
0 votes
1 answer
770 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. ...
philipp's user avatar
  • 369
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 ...
a_guest's user avatar
  • 599
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 ...
Christopher Hunter's user avatar
0 votes
0 answers
346 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=...
Ncifra's user avatar
  • 101
0 votes
1 answer
92 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 ...
Frankie Matassa's user avatar
0 votes
0 answers
59 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 ...
Inder's user avatar
  • 1
0 votes
1 answer
271 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. ...
Mpizos Dimitris's user avatar
0 votes
0 answers
861 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 ...
Violet Giraffe's user avatar
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 ...
John Raff's user avatar
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 ...
Kent Boogaart's user avatar
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/...
Mattychops's user avatar
0 votes
0 answers
2k 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 ...
Mahmoud Gudarzi's user avatar
0 votes
0 answers
66 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 ...
dolphone bubleine's user avatar
0 votes
0 answers
166 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 ...
Sredny M Casanova's user avatar
0 votes
1 answer
913 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 ...
vitek's user avatar
  • 1
0 votes
1 answer
71 views

How can I make sure one Upstart service starts before other non-Upstart (System V) service?

Is there a way to run one Upstart service before another non-Upstart service (system V, to be more precise)? Or I must "convert" my Upstart script to a System V script (if it provides such ...
Kiril Kirov's user avatar
0 votes
1 answer
81 views

Zesty uses systemd or sysvinit, upstart [duplicate]

I'm looking at the instructions for resilio-sync and trying to stop temporarily, this service (as it uses a port I need free for a project) It offers instructions for systemd and for 'sysvinit, ...
Hotbelgo's user avatar
  • 673
0 votes
0 answers
641 views

Have xrandr -o left run on startup

I know very little about Ubuntu. Enough to make my own persistent instance of the OS on a flashdrive I keep with me, and enough to navigate and move/copy/delete/make directories/install/update, but I ...
Shocknoble's user avatar
0 votes
1 answer
255 views

How to configure Upstart for Node js to respawn the process that is killed due to some error

I am new to Server side of things . I want respawn my killed node js server which occurred due to some error. I looked into forever but i want to use upstart any help is appreciated
Rahul Singh's user avatar
0 votes
1 answer
189 views

Issue with Graphics after removing the upstart from Ubuntu 16.04

I was installing git on Ubuntu. When I installing git, I got below error in there. (I got the similar kind error when I do the uprade also.) start: Unable to connect to Upstart: Failed to connect to ...
namalfernandolk's user avatar
0 votes
0 answers
519 views

Samba does not work after upgrade to 17.04

After upgrade to Ubuntu 17.04 from 16.0 Samba does not seem to work. I did a reinstallation of Samba with a purge but same problem. If I do sudo status smbd I obtain status: Unable to connect ...
Laurent Fargues's user avatar
0 votes
1 answer
4k views

How to create service user for application and run it at startup from that user

I have an application, that I should run at startup. I created system user for that application with useradd -r serviceUser and made him the owner of application directory. Then I write startup ...
zella's user avatar
  • 103
0 votes
0 answers
316 views

Upstart job in systemd format

I have looked at the official docs for start-up, but I failed to replicate my Upstart job to systemd. Upstart Job: description "evercam_media" start on filesystem or runlevel [2345] stop on ...
Junaid Farooq's user avatar
0 votes
1 answer
143 views

boot 14.04 iptables fails intermittently [duplicate]

I have a kvm VM with Ubuntu 14.04 set as a firewall in a virtual network (with eth0 and eth1) This is not a course but at work. I have to learn this. Intermittently eth1 will fail to come up. In /...
juliand's user avatar
0 votes
1 answer
2k views

ftp - Unable to connect to Upstart:

Trying to set up an ftp server on a new install to accept files. /etc/vsftpd.conf is in place and write_enable=YES. It is not working and when I go to restart vsftpd , I get the following error. ...
Dan's user avatar
  • 179