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)

271
votes
7answers
291k 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, ...
116
votes
22answers
89k 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 ...
99
votes
19answers
67k views

How can I deactivate Bluetooth on system startup?

How can I deactivate Bluetooth on system startup?
71
votes
5answers
90k 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 ...
57
votes
11answers
129k 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 ...
56
votes
8answers
213k 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?
56
votes
3answers
40k 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:~# ...
52
votes
2answers
111k 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 ...
42
votes
5answers
42k views

Disable autostart for a service without uninstalling?

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.
28
votes
2answers
16k 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.
27
votes
5answers
35k 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.
22
votes
2answers
11k 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 ...
21
votes
2answers
96k 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
5k 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.
20
votes
5answers
42k 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. ...
19
votes
4answers
14k 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. ...
17
votes
2answers
2k views

Why does this grep command not work?

When I try to use grep in this fashion: service --status-all | grep network It still lists all the services even though I piped it into grep to restrict it to the "network" string only After ...
17
votes
2answers
35k 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? ...
16
votes
6answers
33k 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?
15
votes
4answers
33k 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) ...
15
votes
5answers
16k 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 ...
14
votes
3answers
22k 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 ...
13
votes
5answers
18k 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 ...
13
votes
1answer
630 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 ...
12
votes
6answers
8k views

What is the difference between “service restart” and “service reload”

I'm trying to understand the difference between service restart [someservice] and service reload [someservice]. I understand that "restart" restarts the service whereas "reload" reloads the ...
11
votes
2answers
8k 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 ...
11
votes
2answers
4k views

How system services are started in 12.10?

One thing that always confused me in Ubuntu was how system services are started. I know that Ubuntu uses Upstart and supports SysV, but which one is used to start the services? This matters when you ...
10
votes
2answers
562 views

What do the symbols in service --status-all mean?

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 ...
10
votes
1answer
5k 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 ...
10
votes
1answer
8k views

Want to make an upstart script; need help and advice

Atm, I need to randomly start and stop (for lack of a better word in my mind) a job. I start it by typing java -jar foo.jar and to stop it find out its pid and kill it. Killing it doesn't cause any ...
10
votes
1answer
21k 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 ...
10
votes
4answers
412 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?
9
votes
3answers
6k views

What is the equivalent user for nobody:nobody from CentOS?

I am converting from centOS and am used to having a nobody:nobody user:group for running services. Does Ubuntu have a similar best practice user:group combination for running a service?
9
votes
1answer
20k views

How can I disable avahi-daemon?

How can I disable avahi-daemon and can you explain to me how it runs if it appears as a service but it itsn't in rcN.d? You can stop reading here. In fact, please do unless you want to TEACH a noob ...
9
votes
4answers
4k 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 ...
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.
8
votes
1answer
10k 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 ...
8
votes
1answer
666 views

How do you restart a juju service?

I manually changed a config option in a juju service (alice-irc), now I want to restart it, how do I do so? I rebooted the instance figuring that would do it but no luck. I then tried running the ...
7
votes
3answers
50k views

Reloading iptables

I made changes to iptables config file in /etc/iptables/filter in ubuntu and want to reload them. I read the man page and also googled but couldn't find the information. Any help will be appreciated. ...
7
votes
7answers
35k 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). ...
7
votes
1answer
5k 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 ...
7
votes
1answer
2k views

What is a Daemon?

I hear a lot of talk about Daemons running on my Ubuntu computer - what are they?
7
votes
2answers
1k 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 ...
7
votes
2answers
4k views

How do runlevels work?

I'm replacing an active directory windows server with a linux one. I have to introduce the linux server onto the network, but without AD services (like dhcpd, ldap etc). So I was hoping to create a ...
6
votes
1answer
218 views

What are the differences between regular processes and services?

What are the differences between regular processes (like firefox, gimp, skype, etc.) and services (httpd, mysqld, etc.)? Obviously, services are different in their function, but I'm really wondering ...
6
votes
3answers
5k 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 ...
6
votes
3answers
3k 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 ...
6
votes
2answers
5k views

Enable/Disable Ubuntu Desktop environment on ubuntu-12.04.1-server-i386

I have installed ubuntu-12.04.1-server-i386 and on top of that i have installed Ubuntu desktop environment so that i can maintain server easily. Hear I totally understand that installing Desktop ...
6
votes
3answers
5k views

Auto-start service on bootup that depend on network

I have a particular service (in this case OpenFire) that runs at startup. When it starts, it attempts to connect to a database at a given hostname. At startup time it fails to connect to that ...
5
votes
4answers
16k views

How to impove 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 ...