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)

114
votes
22answers
83k 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 ...
247
votes
7answers
265k 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, ...
85
votes
19answers
60k views

How can I deactivate Bluetooth on system startup?

How can I deactivate Bluetooth on system startup?
47
votes
8answers
93k 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 ...
67
votes
5answers
81k 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 ...
16
votes
5answers
34k 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. ...
49
votes
2answers
99k 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 ...
53
votes
2answers
38k 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:~# ...
8
votes
4answers
6k 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.
47
votes
8answers
182k 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?
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 ...
10
votes
4answers
404 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
1answer
7k 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 ...
15
votes
2answers
30k 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? ...
10
votes
1answer
19k 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 ...
12
votes
4answers
16k 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 ...
4
votes
4answers
19k 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 ...
13
votes
1answer
517 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 ...
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 ...
6
votes
1answer
9k 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 ...
5
votes
4answers
15k 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 ...
10
votes
2answers
523 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 ...
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 ...
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 ...
10
votes
2answers
7k 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 ...
2
votes
2answers
4k 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 ...
1
vote
1answer
241 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 ...
0
votes
0answers
55 views

After last update, my varnish and all services broke!

I have an Ubuntu 12.04 LTS server hosted in a XEN VPS. Strictly being used in terminal mode via PuTTY. uname -a Linux webserver 3.2.0-58-generic #88-Ubuntu SMP Tue Dec 3 17:37:58 UTC 2013 x86_64 ...
37
votes
5answers
36k 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.
13
votes
3answers
20k 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 ...
16
votes
1answer
10k 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. ...
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.
24
votes
2answers
14k 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.
10
votes
1answer
4k 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 ...
6
votes
6answers
31k 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). ...
5
votes
1answer
1k views

Improve System Performance By Stopping Daemons/Services

I am trying to improve my system performance by removing some daemon/Services. On my Desktop PC i need to stop some daemons/services Which are Installed by Default in Ubuntu From auto starting . ...
3
votes
2answers
2k 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? ...
5
votes
2answers
13k views

How do I port a FreeBSD daemon to Ubuntu?

I had a FreeBSD machine and it had a /usr/sbin/daemon command which could run my program in the background. The question is how to do something similar in Ubuntu? I would like something I can put ...
3
votes
1answer
564 views

Why does $ service --status-all output to STDERR instead of STDIN?

This is very unintuitive. e.g. When a user tries to: # service --status-all | grep postgres This won't work... The only way to grep `service' is: # service --status-all 2>&1 | grep ...
8
votes
1answer
18k 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 ...
6
votes
1answer
197 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 ...
3
votes
1answer
372 views

Ubuntu 12.04 shutdown does not finish

When i shutdown my ubuntu 12,04 appears the "shutdown screen" and it never finish, keep shutting down... i use "tab key" to see the log and the last line says "Stopping Puppet Agent"... and it never ...
2
votes
3answers
665 views

How can I determine what services I had running before a new install?

Background: want to move from 32-bit to 64-bit environment (taking advantage of >4GB RAM) bought new HDD and installed new OS mounted old HDD as a secondary device Question: How can I determine ...
1
vote
1answer
2k views

how can I start an other xserver on a different terminal so that I have two xservers running at the same time.

In reference to the question Alt+tab out of full screen game With the answer: Start an other xserver on a different terminal. say tty8. Then switch between them when running the game in full ...
0
votes
1answer
653 views

Which daemons can be stopped from loading at boot time?

Below is list obtained from chkconfig utility. I want to know that which of these daemons can be stopped safely without losing any additional features ? acpi-support 0:off 1:off 2:on ...
4
votes
1answer
2k views

Python service using Upstart on Ubuntu

I want to create to deploy a heartbeat service (a python script) as a service using Upstart. My understanding is that I've to add a /etc/init/myheartbeatservice.conf with the following contents. # ...
3
votes
2answers
340 views

Why does service service_name status give different responses for different services?

Running the "service service_name status" command gives three different types of output when three different service_names are used. I tried with atftpd, apache2, and isc-dhcp-server, as shown below. ...
2
votes
1answer
372 views

Can't start an application as service, but running as standalone process simply works

For a service although a pid file exists but still on attempt to start service, it fails saying $ sudo service cassandra start * could not access pidfile for Cassandra I verified folder ...
2
votes
0answers
142 views

fglrx and the broken atieventsd daemon (+maybe improve your battery life for AMD card owners)

I've been playing about with these things lately, and discovered a couple of things about the fglrx driver on Ubuntu that I thought worth sharing in the context of a broader question. The atieventsd ...
2
votes
1answer
953 views

Upstart tracking wrong PID of process - not respawning

I originally asked this question on StackOverflow. Then realised that this is probably a better place. I have bluepill setup to monitor my delayed_job processes. (Ruby On Rails application) Using ...