Skip to main content

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.

0 votes
1 answer
361 views

Is there an Upstart equivalent to systemd's RemainAfterExit? I have an upstart task that exec's a script that completes quickly when the task is started. However, I would still like that task to ...
Brandon E Taylor's user avatar
0 votes
1 answer
2k views

I'm in the process of migrating all custom upstart scripts to systemd. I've come across a script that utilizes multiple services. I cannot figure out the proper syntax to handle this, or if I need to ...
DevOpsSauce's user avatar
0 votes
1 answer
355 views

I have an Upstart init script that manages a python script on the server. The pre-start and pre-stop scripts append a timestamped entry into a log file. There is a cronjob to stop and start the ...
bmccord's user avatar
  • 81
2 votes
0 answers
3k views

Not a dupe: This is not a duplicate of this question. I've already looked into that question. That helps with raising the limit for worker processes, but the nginx master process continues to retain ...
Hassan Baig's user avatar
  • 2,805
0 votes
1 answer
1k views

I need help with converting an upstart .conf into a systemd .service. Essentially what my .conf file does is this: exec su -l foo -c 'cd /var/www/path/to/file ; bundle exec puma -C config/puma.rb' As ...
Dubl1n's user avatar
  • 3
0 votes
1 answer
139 views

I have a service process monitored by Upstart on Ubuntu. If that process dies abnormally, I don't want to try to respawn it. Instead, I would like to throw a notification and shut down the entire ...
kbluck's user avatar
  • 205
3 votes
0 answers
631 views

We are talking about Docker containers as sysdig, consul, fluentd, mesos-slave, etc. that we are running on almost all machines. Currently we are using Ubuntu's Upstart and CoreOS's Fleetctl. We're ...
ujjain's user avatar
  • 4,163
14 votes
1 answer
30k views

I have a upstart configuration file as shown below which works fine in Ubuntu 14: #/etc/init/data_server.conf #sudo start data_server #sudo stop data_server #sudo status data_server start on ...
user1950349's user avatar
-1 votes
1 answer
341 views

I have a upstart configuration file as shown below which works fine in Ubuntu 14: #/etc/init/data_server.conf #sudo start data_server #sudo stop data_server #sudo status data_server start on ...
user1950349's user avatar
1 vote
6 answers
17k views

Running on Astra Linux 1.3, my dhcp service (isc-dhcp-server) is well-configured now and work as expected with a slight nuance - it works only when it's started, but a system don't run it at startup. ...
Dmitry Ilukhin's user avatar
0 votes
1 answer
503 views

My connection ssh to my VPS is not working anymore, i checked the auth.log file and found this : auth.log Jul 28 20:22:04 warp sshd[31257]: Accepted password for root from MY_IP port 49196 ssh2 Jul ...
user3668100's user avatar
1 vote
1 answer
930 views

I have an upstart script that runs a background daemon that I want to run as a specific non-root user. The script is here: How To Create a Calibre Ebook Server on Ubuntu The relevant bit is here: ...
jdege's user avatar
  • 203
0 votes
0 answers
109 views

I have installed application with several init scripts as for dpkg -L application shows. For example: /etc/init/application.conf /etc/init.d/application /usr/systemd/applaication.service But i use ...
user avatar
1 vote
1 answer
541 views

Problem I need to send a message to a a server via a TCP socket during computer startup. We are using Ubuntu 14.04 and therefore, by default, must use Upstart as the system initialization. (We also ...
rabidhamper7's user avatar
0 votes
1 answer
183 views

I have a bunch of job/daemon configuration files, say: /etc/init/service1.conf /etc/init/service2.conf /etc/init/service3.conf Most of those jobs are quite similar, and the files are of a format like:...
houbysoft's user avatar
  • 315
0 votes
2 answers
2k views

I installed MongoDB on Ubuntu 14.04 as per the documentation. It runs and works fine, except that it mysteriously stops every few hours and requires a manual restart with service mongod restart to get ...
James Simpson's user avatar
0 votes
1 answer
427 views

I am new to upstart and required to start a process through it. However I am getting error which is described below. my script contents description "Server" author "Neeraj" expect fork respawn ...
Neeraj Kumar's user avatar
2 votes
1 answer
880 views

I am maintaining an Upstart script (version 0.6.5) and in the pre-start script, there's a test to terminate the service if a precondition is not met: pre-start script if [ ! -f $REQUIRED_FILE ]; ...
Behrang Saeedzadeh's user avatar
1 vote
1 answer
62 views

I am having some problems understanding all the mechanisms behind the user management with upstart, node and bash. What I want to do: I want to have a service, that executes a node script. This ...
Hammerbot's user avatar
  • 175
0 votes
1 answer
849 views

I am trying to run Apache Solr 4.10.4 as service in Ubuntu 14.04. I have written the following upstart conf file : sudo vim /etc/init/my-solr-job.conf # my-solr - Search Backend Engine description ...
Pankaj Goyal's user avatar
1 vote
0 answers
325 views

On our Ubuntu servers, core dumps are currently disabled. If we enable them, and a daemon process crashes, will that impact the time taken for upstart to restart the process? That is: if my daemon's ...
Roger Lipscombe's user avatar
0 votes
0 answers
521 views

I am trying to use upstart to keep a service running: rabbitmq-server. I have written an upstart configuration file in /etc/init/rabbitmq.conf 1 2 start on runlevel [2345] 3 stop on runlevel [...
John Foley's user avatar
1 vote
0 answers
80 views

I am running Ubuntu 14.04. I am trying to make a service capable of deploying an application. The process is very simple: I have a node script listening on port 2133 for a POST request When this ...
Hammerbot's user avatar
  • 175
0 votes
1 answer
150 views

I'm trying to make sure my queue system does not fail when the server gets rebooted. The PHP processed queue system is started up via a command line command. The Laravel documentation suggests ...
zeros-and-ones's user avatar
1 vote
1 answer
560 views

I have the following startup script, which should either start or stop a screen in detached mode: #!/bin/sh # node2 # Maintainer: @KittBlog # Authors: [email protected] ### BEGIN INIT INFO # ...
KittMedia's user avatar
  • 258
1 vote
1 answer
465 views

As part of an Upstart script, I need to launch ssh-agent to load a GitHub deployment key, so in the script I have: eval "$(ssh-agent -s)" ssh-add $HOME/.ssh/id_rsa The problem is that when the ...
Andrew Porritt's user avatar
3 votes
1 answer
12k views

I just did the above mentioned upgrade but it seems like systemd is not working as it should. If I run a command like systemctl start apache2 I get the message Failed to connect to bus: No such ...
Polrov's user avatar
  • 41
0 votes
1 answer
2k views

We thought the following directives would try to respawn the process 10 times in 60 seconds (i.e. once every 6 seconds): respawn respawn limit 10 60 However these directives restart the process as ...
TheFooProgrammer's user avatar
0 votes
2 answers
3k views

I am trying to execute a shell script on RHEL7.1 when the machine starts. As in ubuntu, Upstart scripts (in /etc/init/) are used to execute any scripts or to start any services at boot time, is there ...
user3460393's user avatar
0 votes
1 answer
70 views

I am trying to run two sshd processes, one for admin and one for sftp. Ubuntu 14.04 on digital ocean has both upstart in '/etc/init/ssh' and init.d in '/etc/init.d/ssh`. Is this just digitalocean or ...
Jonathan's user avatar
  • 213
0 votes
1 answer
531 views

I want to kill a respawn service by using upstart. when I use "htop" command to monitor system,I observe a process "/123.lock". when I kill it via "kill" command,it restart again. how could I kill it ...
mahmoud's user avatar
2 votes
0 answers
98 views

I've got rsyslog set up correctly forwarding all logs on a set of clients to a central server. Things like ssh auth logs etc all work fine and appear in the remote server properly. The issue is that ...
Chilly's user avatar
  • 121
1 vote
0 answers
85 views

It seems like upstart decides to shutdown rsyslog on Ubuntu 14.04 as one of the first jobs if a machine shuts down. So most logging of shutting down jobs is lost. How to I instruct upstart to shutdown ...
user1737246's user avatar
2 votes
0 answers
703 views

I write my C++ program and run it as daemon by writing upstart script inside /etc/init/ So my program is automatically started after reboot and can be controlled using sudo service my-service restart ...
Roman Kolesnikov's user avatar
2 votes
2 answers
23k views

I'm using the following /etc/init/jsonlog.conf upstart job: description "jsonlog" start on runlevel [23] stop on runlevel [06] respawn script cd /tmp echo "about to listen" /bin/nc -l ...
fadedbee's user avatar
  • 2,168
1 vote
1 answer
1k views

Yes I know this question has been asked before and I have tried all the solutions I have seen and none of them work for me. We are running Ubuntu 12, and we have a process that automatically gets ...
Marc's user avatar
  • 151
1 vote
1 answer
1k views

I am trying to use Upstart to daemonize a script. So, I made a .conf file under /etc/init/. Now to check the conf file I did init-checkconf /etc/init/ping_me.conf And it says ERROR: version of /sbin/...
Himanshu Mishra's user avatar
3 votes
0 answers
297 views

I'm trying to make uWSGI run on boot using Upstart on a Vagrant box. So I've created /etc/init/uwsgi.conf with the following contents: # simple uWSGI script description "uwsgi tiny instance" start ...
Eugene Yarmash's user avatar
2 votes
1 answer
4k views

I have an Upstart job for a Node.js application, and I want to make it run Node as the node user rather than root. When I use setuid in the job config, whenever I try to start the job, it says my-app ...
amacleod's user avatar
  • 155
14 votes
2 answers
7k views

I have a Nginx web proxy, gunicorn web server, and a python/flask web app. The Gunicorn process apparently died, and I want to ameliorate that in the future by looking into a utility that can monitor ...
Matthew Moisen's user avatar
7 votes
1 answer
1k views

I have a Vagrant box running Ubuntu 15.04, which has an upstart script that starts a service when the system boots. It has a start on vagrant-mounted stanza because the service requires that the /...
TJ Mazeika's user avatar
1 vote
0 answers
2k views

I have a very simple script on Ubuntu 14.04 upstart (/etc/init/myscript.conf) description "Something" author "me" start on filesystem and started networking stop on shutdown respawn respawn limit 5 ...
Sasha Grievus's user avatar
1 vote
1 answer
2k views

How do you configure a newer version of supervisor to start on system boot in Ubuntu? Some distributions simply lag behind in their repositories. When I use easy install (as recommended by default on ...
eco's user avatar
  • 147
1 vote
0 answers
1k views

I want restart php-fpm after segfaults. I run php-fpm on ubuntu 14.04 trusty. It uses upstart for checking services. I try to set automatic restart with respawn options, but after SIGSEGV php-fpm did ...
BaZZiliO's user avatar
  • 340
0 votes
2 answers
619 views

I installed an upstart service for sidekiq exactly as specified in it's wiki. That said, I have an upstart script that creates a process with: # skipped other insstructions script exec /bin/bash <...
Aleksei Matiushkin's user avatar
1 vote
1 answer
115 views

I've got a CentOS 5.11 box that I have to work with for now--in a production env where I can't really push it to CentOS 6, at least for awhile. I have to be low-impact on this project, can't mess up ...
Dan's user avatar
  • 61
0 votes
1 answer
177 views

I am creating an upstart conf to manage different VPN connections. The problem is that if the pppd daemon dies, initctl still think it is start/running. This is my current vpn.conf description "VPN ...
Tk421's user avatar
  • 250
0 votes
1 answer
255 views

I have a simple nodeJs upstart service run as, script exec /usr/bin/node /path/to/server.js end script On running with sudo command, it works ~$ sudo service upserv start sg_gui_server start/...
Saravana Kumar's user avatar
2 votes
1 answer
19k views

I need location of a init.d script. I am using service cinder-api start to start the service Other init scripts are located at /etc/init.d/ location. But this service is not found in that location , ...
manikantanr's user avatar
3 votes
1 answer
5k views

I have make some test on a Jessie server with Upstart installation and replace it by SysV and the reverse. After this I'm not anymore able to reboot. root@amoo-001:~# reboot Failed to talk to init ...
frbayart's user avatar
  • 327

1
2 3 4 5 6