Daemons are programs that constantly run in the background. They usually service requests. If you are asking about online services, please use a different tag.

learn more… | top users | synonyms (1)

497
votes
7answers
599k views

How to enable or disable services?

I read about how to enable and disable services in Ubuntu and it seems that there are different possibilities to manage them. The first method I found is update-rc.d to add new services to startup, ...
146
votes
22answers
166k views

Tips to extend battery life for laptops and notebooks

This question is present as a matter of historical interest. While you are encouraged to help maintain its answers, please understand that "big list" questions are not generally allowed on Ask Ubuntu ...
179
votes
23answers
146k views

How can I deactivate Bluetooth on system startup?

How can I deactivate Bluetooth on system startup?
121
votes
16answers
613k views

How to restart the networking service?

I tried to use sudo service networking restart and sudo /etc/init.d/network restart but they both crash the window manager and I can no longer use my keyboard for input into X. when I use the /...
83
votes
2answers
72k views

What's the difference between “Service” and “/etc/init.d/”?

I've been managing server installations both on and off Ubuntu flavor for some time - I've become quite adjusted to /etc/init.d/ for restarting servcies. Now I get this message: root@tatooine:~# /etc/...
56
votes
4answers
143k views

How can I make a script that opens terminal windows and executes commands in them?

I have three scripts I need to run when I start up my Ubuntu machine, they start services I use in my development environment. To do that, I manually open three terminals and type in the commands. ...
128
votes
3answers
297k views

How can I configure a service to run at startup

I have a daemon that runs fin if I start it manually with the service command: ricardo@ricardo-laptop:~$ sudo service minidlna start * Starting minidlna minidlna ...
113
votes
5answers
186k views

Chkconfig alternative for Ubuntu Server?

I've become very accustomed to managing service startups on Redhat/RHEL platforms using chkconfig though that doesn't appear to be the Debian/Ubuntu way - How do I update runlevel information for ...
14
votes
1answer
7k views

How do I override or configure systemd services?

Many sysv init scripts used a corresponding file in /etc/default to allow the administrator to configure it. Upstart jobs can be modified using .override files. How do I override or configure systemd ...
132
votes
9answers
597k views

How do you restart Apache?

I switched from SLES to Ubuntu and now I want to restart my local server. In SLES I used : rcapache2 restart but this somehow seems not to work in Ubuntu. :( How do i restart my Apache?
19
votes
6answers
23k views

Is ubuntu-geoip (GeoClue) used for tracking?

I am happily learning Ubuntu more closely now. I came across the process ubuntu-geoip-provider in system monitor. Is is used for tracking or for gathering nearest server info, or for syncing time ...
16
votes
2answers
46k views

vivid - failed to connect to upstart: connection refused

Just updated via do-release-upgrade and now certain upstart jobs such as fail2ban and plexmediaserver will not start (have tried reinstalling) sudo service fail2ban start Job for fail2ban.service ...
102
votes
4answers
120k views

Disable autostart for a service without uninstalling? [duplicate]

How can I disable autostart for a service without uninstalling? For example, I'd like to leave tomcat installed, but I don't want it turning on every time I restart.
55
votes
6answers
102k views

Command to list services that start on startup?

Is there a command to list services that run on startup? I imagine it would involve parsing /etc/init.d/, and the various /etc/rc.* directories.
51
votes
4answers
55k views

Network service discovery disabled: What does this mean for me?

Every time at boot I get a message “Network service discovery disabled. Your current network has a .local domain, which is not recommended and incompatible with the Avahi network service discovery. ...
29
votes
3answers
28k views

How to read “service --status-all” results

I need to identify the currently running services but I can't figure out the results of running service --status-all, I mean what does ?, - and + mean ? $ service --status-all [ + ] acpid [ + ] ...
16
votes
7answers
74k views

GConf Error: No D-BUS daemon running?! How to reinstall or fix?

After installing Konquerer and restarting my laptop i got the following error while trying to open, edit or access files as root from within Terminal (which is existencial for me). root@linuxBox:/...
30
votes
2answers
21k views

What does bamfdaemon do?

I've googled for it, and there's very little info besides "bamf matches application windows to desktop files". Unity depends on it so it's difficut to remove, at least would be good to know what it ...
8
votes
4answers
7k views

How can I stop ubuntuone-syncd?

I need to stop ubuntuone-syncd but I don't know where to find the service that I need to stop.
7
votes
3answers
8k views

How to make Google Chrome not start as service?

I found Google Chrome running as service after I installed it, at each reboot. This would not be a problem, if it won't eath 100% cpu. I would not like to uninstall it, but I'll be forced to do that ...
4
votes
1answer
4k views

How to stop automatic freshclam execution

I have the latest version of freshclam and clamav installed, and in the past (when I had Ubuntu 14.10) it has only run freshclam automatically a few times a day, but has not been running all the time. ...
53
votes
2answers
113k views

How do you get a list of all starting services?

I know about the update-rc.d SERVICE OPTIONS command to add and remove services from startup, but how do I use it to get a list of all the services that are currently configured to start at startup? ...
26
votes
6answers
83k views

Why is chkconfig no longer available in Ubuntu?

I can not use chkconfig tools in Ubuntu 12.10 It's a very useful tools to configure the service to autostart or not. Why is it no longer available?
39
votes
2answers
218k views

How to start and stop a service? [duplicate]

Possible Duplicate: What’s the recommended way to enable / disable services? Are there any other command to start stop restart service in ubuntu other than the below following. service --...
21
votes
2answers
27k views

How to supervise and automatically restart a process?

I want to have a process which will be restarted if it crashes. I googled a bit and found that an easy solution is to use daemontools. I didn't understand how to configure it. What is the easiest ...
10
votes
4answers
468 views

How do I add a daemon to my Quickly application?

I am building a app with quickly, and I wanted to add a daemon that will run in the background. How do you do this?
12
votes
1answer
35k views

Running services

Is there a way to get precise list of services with "is running"/"is not running" statuses specified. service --status-all outputs more than 30 ? services. Why is that output is so not informative?...
17
votes
1answer
19k views

How can I ensure a service is disabled on boot? [duplicate]

For some reason I need to disable a system service on boot. In my case this is the Avahi Daemon. I just don't want it to start on boot. In previous Ubuntu releases (e.g. 12.04) I could do sudo ...
9
votes
4answers
13k views

How to run a program as a service (silent)?

I have a python based server which i start from the terminal. This particular instance of the terminal then gives control to the program, and the program uses it as a kind of logging window, until its ...
6
votes
4answers
27k views

How to close ports / disable services?

I just portscanned my system with nmap and got the following result: PORT STATE SERVICE 25/tcp open smtp 631/tcp open ipp what are these services and how i do disable them? probably i don't ...
7
votes
2answers
2k views

Getting a script to run on boot, not on login

How can I get a specific script to run (preferably not as superuser) whenever the machine boots, but before login. It can be the last thing to run on boot. I mostly just want the script to work even ...
6
votes
5answers
21k views

How to improve Ubuntu performance on netbook

Most recent Ubuntu 12.04 seems to be quite nice and Unity (3D/2D) works fine for me, however not on my old Acer Aspire One any more. There was a times, when I switched from Windows XP to Ubuntu and ...
16
votes
2answers
16k 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 ...
12
votes
2answers
925 views

What do the symbols in service --status-all mean? [duplicate]

I really miss the graphical "Services" tool from older versions of Ubuntu, but I understand why it had to go. I always have terminals open anyway, so I use (because I have to now, I guess) service --...
8
votes
1answer
2k views

Service --status-all --> what does the column with [ ? ],[ + ], and [ - ] mean?

If I run the command "service --status-all", each (running?) service is listed in column format. The first column has either a [ ? ], [ + ], or [ - ] before the service name. What does this column ...
4
votes
0answers
4k views

How to start, stop, restart a service [duplicate]

Back some versions ago, when I wanted to restart, stop, start a sevice i would do something similar to this: sudo /etc/init.d/apache2 stop to stop the apache service sudo /etc/init.d/networking start ...
1
vote
2answers
2k views

Sickbeard and Sabnzbdplus won't start at boot

I seem to have some problems with automating some services at startup. I've had this problem before, but I couldn't find out the exact reason what caused this. I've added both services to startup ...
2
votes
2answers
6k views

How can I load the `vsftpd` daemon at system-boot, but have it “start” in a “stopped” state?

Because I only occasionally need to run an ftp server (vsftpd, in my case), I would prefer to just have it fully active only when the need arises. This suggests two possibilities to me, but I don'...
65
votes
4answers
262k views

How to successfully restart a network without reboot over SSH?

In Ubuntu 14.04 neither sudo service networking restart nor sudo /etc/init.d/networking restart do anything any more. They also both exit with code 1. Something has obviously changed (or half changed) ...
51
votes
2answers
61k views

what is technical difference between daemon, service and process ? [closed]

I want to know that what are differences in behavior of a daemon, process and service running in ubuntu desktop.
17
votes
5answers
56k views

How to make a jar file run on startup & and when you log out?

I have no idea where to start looking. I've been reading about daemons and didn't understand the concept. More details : I've been writing a crawler which never stops and crawlers over RSS in the ...
21
votes
5answers
47k views

How to correctly add a custom daemon to init.d?

I've got a 3-rd party proprietary application server daemon which can be started and stopped by couple of command lines. I need this daemon to start when the system starts up and correctly stopped on ...
7
votes
2answers
42k views

TeamViewer does not start automatically, how do I make sure it does?

After installing TeamViewer x86 on Ubuntu, it will not start automatically on boot, even when telling it to do so via the application settings ("Start TeamViewer with system"). How do I make sure ...
17
votes
1answer
13k views

Is it possible to give sudo access to only a particular command?

Background: I have a development machine with LAMP setup. Several developers would access the machine from time to time. Every time they make some change in a configuration file they will need to ...
23
votes
2answers
7k views

Is there any GUI tool for Upstart

Is there currently any GUI based application to show currently running services, with buttons to start and stop services? It doesn't necessarily need to be able to set boot up behaviour.
11
votes
4answers
8k 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 ...
7
votes
1answer
8k views

user upstart job in ~/.init/ is not found

Running 12.04, I have the following upstart job in ~/.init/: # myjob start on net-device-up stop on [!12345] script echo ">> hello from user script" >> ~/tmp/upstart.log end script ...
10
votes
1answer
16k views

Why the services do not start at installation?

I've seen this sometime now, but not finding anything in the ubuntu man about this peculiar policy-rc.d binary that prevents services from being started/restarted/stopped when called by dpkg/apt, so I ...
3
votes
2answers
3k views

How Do I Stop The Service Sudo?

I want to make it impossible for any root commands to be issued during a Live Boot session. I don't want anyone being able to sign in as root. Period! So, is it possible to stop the sudo service? ...
6
votes
3answers
6k views

How to manually restart services affected by apt upgrades?

How can I issue apt upgrades without automatically stopping/starting daemons? I'd like to manually restart services. To cite a specific example: I'll revisit a long-running machine and run sudo apt-...