Tagged Questions
0
votes
0answers
106 views
alternative of “chkconfig” command in Ubuntu 12.04 or lower
How to use chkconfig --list in Ubuntu .
It's asking for install this but I don't have privilege to install any package on the server and have to fix the issue.
As I am working with redhat/Centos, but ...
0
votes
1answer
210 views
How to Debug when upstart hangs?
I have recently much trouble with services started by upstart. Currently I have problems with avahi-daemon and rsyslogd. Most of the time i had that problem on Ubuntu >= 12.04.
What's the problem? If ...
3
votes
3answers
438 views
Allow non-sudo group to control Upstart job
I'm trying to set up an Upstart job to run on system startup, and that can also be started/stopped by members of a group other than sudo. With a previous version, I usedupdate-rc.d and scripts stored ...
3
votes
1answer
372 views
How do I choose which way to enable/disable, start/stop, or check the status of a service?
If I want to start a system installed service, I can do:
# /etc/init.d/some-svc start
# initctl start some-svc
# service some-svc start
# start some-svc
If I want to disable a service from running ...
5
votes
3answers
1k views
/sbin/getty process causing 100% CPU utilization
I have an instance of Ubuntu 12.04 LTS (GNU/Linux 3.2.0-25-virtual i686) running as a KVM-VM on a host-machine that runs one more VM beside it.
I deploy a Ruby on Rails application using the ...
6
votes
3answers
7k views
How to disable GDM from being automatically started?
After Ubuntu Server 12.04 installation, I installed Xubuntu just to have a minimal GUI:
sudo apt-get install x-window-system-core
sudo apt-get install --no-install-recommends xubuntu-desktop gparted
...
0
votes
1answer
605 views
Upstart not loading services
I have a machine that boots no problem but a lot of the services do not start.
The run level when I login is "N 2".
Services can be manually started but not starting on boot.
I am running 10.04.3 ...
1
vote
2answers
365 views
Upstart not running my dynamic DNS script
I have a dynamic DNS script as follows:
#!/bin/bash
curl -kL# "http://example.com/updatedns.php"
echo $? >> /var/log/ddns
...saved to /usr/local/bin/ddns. Obviously the URL above isn't the ...
1
vote
2answers
730 views
Where do I put my start up script for mysql?
I have created a second instance of MySQL on the server for replication, if I start the process manually it works but need it to start at bootup.
I used to just do a bash script in the init.d folder ...
2
votes
1answer
507 views
Upstart scripting: Start service and immediately run another command
Here is my current Upstart script I've placed at /etc/init/redis.conf:
description "redis server"
start on runlevel [2345]
stop on shutdown
exec sudo /opt/redis/redis-server /opt/redis/redis.conf
...
14
votes
8answers
8k views
Why isn't my upstart service starting on system boot?
Following on from this question, I have written a simple upstart service (/etc/init/pms.conf) for my headless Ubuntu Server 11.04 box as follows:
start on filesystem and net-device-up IFACE=eth0
stop ...
9
votes
2answers
1k views
How do I set up a service?
I have a script that I would like to run as a service on my Ubuntu Server 11.04 headless box. That is, I want to have the correct files under /etc/init.d/ and to be able to control it via the service ...
9
votes
2answers
2k views
Why does upstart keep respawning my process?
I wrote an upstart script to launch a daemon inside a tmux session. It works well and respawns the process if it dies unexpectedly, but I can't seem to stop it manually.
The job (called bukkit) looks ...
2
votes
1answer
193 views
while setting upstart in application giving error
wht i have done is
sudo emacs /etc/init/app.conf
and then i write the code for my upstart
# application Server
description "applicationServer"
author "Rahul Mehta ...
2
votes
1answer
904 views
Heartbeat doesn't start [closed]
Heartbeat don't start on automatic.
Network interface is not UP when heartbeat start
OS version : 10.04
Exact message in boot.log :
Starting High-Availability services: bond1: unknown interface: No ...
4
votes
2answers
3k views
MySQL server Upstart script not working on boot
For some reason the Upstart script for the MySQL server isn't working when I boot my server, however it does work once the server has booted and I execute sudo start mysql manually.
I'm running an ...
3
votes
1answer
342 views
Why does mysql process starts on boot?
As you can see, mysql exists only in the /etc/init.d directory and not in /etc/rcN.d, therefore it shouldn't start on boot.
$ sudo find /etc -regex ".*\(rc.*d\|init\.d\).*" | sudo grep "mysql" | sort
...
3
votes
2answers
2k views
How do I setup gunicorn?
Upstart doesn't like to start gunicorn because it tries to call setpgrp (see github issue), what would be the best way to start [gunicorn] on a 10.04.1 server install? - Ideally with automatic ...
15
votes
6answers
4k views
upstart-supervised init script for Apache?
I want to run apache on Ubuntu 10.04, and use the nice supervision stuff in upstart (I'm not just talking about the apache init script, but proper service supervision a la daemontools - which is to ...