Questions tagged [services]
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.
1,227
questions
27
votes
6
answers
47k
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 ...
27
votes
5
answers
136k
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 ...
25
votes
2
answers
7k
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 the ...
25
votes
2
answers
100k
views
How to start, stop and restart rtorrent?
I just installed rtorrent on my Ubuntu Server 12.04 machine via apt-get.
How do I start | stop | restart the service?
24
votes
5
answers
59k
views
How to use the terminal to change the IP address provided by Tor?
I have the Tor service, and I want to use the terminal to change the IP address which Tor gives me. In other words: How do I request a new IP address from Tor on the command line?
24
votes
1
answer
36k
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 ...
24
votes
1
answer
43k
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 ...
24
votes
2
answers
9k
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.
23
votes
2
answers
70k
views
How to create a service on Ubuntu Upstart
I have a Java executable program that I can run by typing java -jar abc.jar in terminal.
How can I run it as a service? I want to run it as a service like by typing service abc start.
21
votes
2
answers
28k
views
How to start a specific service when Ubuntu is started on WSL2
I need to run sudo service postgresql start every time when I start Ubuntu on WSL2.
How can I make the service start automatically when I start Ubuntu?
WSL doesn't use systemd, so sudo systemctl ...
20
votes
3
answers
31k
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?
20
votes
2
answers
25k
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 ...
19
votes
3
answers
76k
views
List all services starting at boot
I'm looking for a way to get a list of all the services (/etc/init.d or upstart or systemd), which are supposed to be starting (or having been started at) boot.
How do you get a list of all starting ...
19
votes
1
answer
32k
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 ...
19
votes
3
answers
27k
views
What does udisks-daemon do and do I need it?
I was looking into htop and the only process having > 0.0% CPU (apart from htop itself) was /usr/lib/udisks/udisks-daemon.
So the questions are: What is this service? Do I need it? (Or when do I ...
18
votes
3
answers
23k
views
Systemctl command to display a summary of running services
Which systemctl option or command would I use to display a summary of all services currently running?
17
votes
1
answer
42k
views
Disable CUPS and CUPS-BROWSED in 16.04
The accepted solutions in other questions, ie:
echo manual > /etc/init/cups.override
echo manual > /etc/init/cups-browsed.override
reboot
Don't work in 16.04. I don't wish to uninstall cups as ...
17
votes
1
answer
14k
views
Why the service --status-all is not listing this working service?
I am absolute not into Linux system administration (I am a software developer) and I have the following question for you about services.
On an Ubuntu 18.04.2 LTS machine there is installed a software ...
17
votes
1
answer
14k
views
SysV, Upstart and systemd init script coexistence
On my system (16.04), there are the files /lib/systemd/system/network-manager.service and /etc/init.d/network-manager, for example.
I don't understand how (and why) this works. I always restart ...
17
votes
3
answers
27k
views
Start another GUI on different TTY
For some reason I want to have 2 GUIs open at different TTYs.
the commands
sudo service lightdm stop/start
will stop/create a new GUI at TTY7. but how can I do the same at different TTYs or ...
16
votes
11
answers
66k
views
Failed to start Redis Datastore Server (Ubuntu 16.04.1 LTS)
i just installed redis and it doesnt work at all when trying to start service with command:
sudo service redis-server start
this is result of journalctl -xe:
Subject: Unit redis-server.service has ...
16
votes
1
answer
53k
views
Enable logging for service
I'm trying to figure out how to enable logging in Transmission.
I know I can run the daemon in the foreground:
transmission-daemon -f --logfile /your/path/to/transmission.log
But this is not what I ...
16
votes
1
answer
23k
views
What is dev-sda.device in systemd-analyze, can i disable it?
I have Ubuntu 16.04 installed on my Laptop alongside windows. In systemd-analyze blame a service called 'dev-sda7.device' is taking too much time. How to resolve this problem or should i disable it ?
...
15
votes
3
answers
31k
views
How do I start and stop a systemctl service inside a bash script?
I am writing a bash script to perform a daily backup. This script will ultimately run automatically every morning (cron or systemd).
What I would like to accomplish is
Stop myservice
Perform backup ...
15
votes
5
answers
43k
views
Failed to start <myapp>.service: Unit <myapp>.service not found
I created a super basic init.d script for my python bot:
#!/bin/bash
# chkconfig: 2345 20 80
# description: Description comes here....
# Source function library.
. /etc/init.d/functions
start() {
...
14
votes
3
answers
179k
views
Bluetooth on Ubuntu 16.04
I have installed Ubuntu 16.04 on my ASUS S200e laptop.
Everything is working except the bluetooth - I cannot get my mouse connected.
When I try to open Blueman, I get:
"Bluez daemon not running"
...
14
votes
4
answers
57k
views
How do I pass flags when starting a systemd service?
Note a similar question has been asked:
How to pass flags when starting 'service'?
But I read a while back that Linux switched from init.d to systemd, and since that Q&A are 6 years old ...
14
votes
2
answers
27k
views
Prevent/stop wpa_supplicant from starting
wpa_supplicant seems to somehow be auto started at boot.
# ps auxwww |grep wpa
root 915 0.0 0.0 28824 1232 ? S 17:36 0:00 /sbin/wpa_supplicant -u -s
How do I disable this ...
14
votes
2
answers
26k
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. ...
14
votes
1
answer
7k
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 ...
14
votes
4
answers
10k
views
What exactly does kactivitymanagerd do and why would I want it running?
I wanted to dismount a volume and lsof showed kactivitymanagerd had a directory open (cwd DIR) that I hadn't worked in since yesterday. I might have used Kate to edit a file in that directory. I don't ...
14
votes
1
answer
42k
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? ...
13
votes
7
answers
58k
views
How do I change the user Transmission runs under?
I installed Transmission through a PPA and the daemon starts on boot. I want to change the user that runs the daemon because I want the downloaded files to be under the same user as my XBMC ...
13
votes
7
answers
157k
views
How to restart openvpn service (or any service) running under "nobody" user?
On my Ubuntu 16.04 server, I have the OpenVPN service running as the user nobody. How can I restart the service or reload the config file for the service using, for instance, systemctl?
An openvpn ...
13
votes
2
answers
2k
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 --...
13
votes
2
answers
17k
views
Disable snapd.refresh.service on 16.04 to speed up boot (no snap packages in use)
I run Ubuntu 16.04 but never installed any snap packages, at least not that I would know of any.
Here are my slowest processes at boot:
$ systemd-analyze blame | head
9.057s snapd.refresh....
13
votes
1
answer
68k
views
Is systemctl daemon-reload equal systemctl restart service?
I have a service name serviceA in ubuntu16 and at the same time, it's a daemon.
So when I do systemctl daemon-reload does it includes the action of systemctl restart serviceA ?
13
votes
4
answers
25k
views
Ubuntu 16.04 GUI services manager like Windows
I could not able to find any GUI tool that manage services in Ubuntu. I run Ubuntu as Virtual Box machine on Windows. I have tried to use System Jobs but it does not work.
I have LAMP server and I ...
13
votes
1
answer
17k
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 ...
13
votes
4
answers
28k
views
Error running systemd as user - Failed to connect to bus: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined
I have a script that is running as root and am trying to have it setup a user service to run an IPFS daemon. The problem is that I need to enable the service as the user rather than as root. It ...
13
votes
2
answers
33k
views
No output from service start/stop/restart command
I just installed Ubuntu 16.04 LTS and found that when I run
usr@server:~$ sudo service <servicename> restart
usr@server:~$
The service is restarted (I can see the status with service <...
13
votes
1
answer
15k
views
service vs. initctl [duplicate]
Why are some deamons run out of service and some out of initctl? Do both tools do the same thing and it is just a matter of personal preference of the user what they will use?
E.g.
sudo service --...
12
votes
2
answers
80k
views
Run MongoDB service as daemon of SystemD on Ubuntu 15.10
MongoDB just supports versions of Ubuntu Long Term Support (LTS). The last is Ubuntu 14.04 LTS, where the init process is managed by Upstart proprietary of Canonical. However I'm using Ubuntu 15.10 ...
12
votes
3
answers
104k
views
The bluetooth is disabled on Ubuntu 14.04
This is probably a duplicate of
Bluetooth is disabled on Ubuntu 14.04
But the answers there did not help. I am struggling to add my device in bluetooth but all it shows are disabled options.
Is ...
12
votes
3
answers
93k
views
How do I stop transmission-daemon?
How do I stop transmission-daemon?
I've ran sudo /etc/init.d/transmission-daemon stop and after a while I get confirmation that it completed [ OK ]:
greg@VManage:~$ sudo /etc/init.d/transmission-...
12
votes
1
answer
19k
views
How can I restore a systemd service after editing it using "systemctl edit service"?
I used sudo systemctl edit name.service to edit a service, now I no longer need these modifications and I wish to restore it to its default setting.
How can I restore it?
I'm running Ubuntu 16.04.
12
votes
2
answers
18k
views
What is a Daemon?
I hear a lot of talk about Daemons running on my Ubuntu computer - what are they?
12
votes
1
answer
24k
views
Is there an easy way to have WSL Ubuntu services start automatically on Windows startup?
I have a question about the WSL version of Ubuntu. Is there an easy way to have bash start automatically when Windows starts and pass a command to it to start the SSH server? So that the SSH server ...
12
votes
1
answer
22k
views
Find the user under which a Ubuntu service runs?
I have a Cassandra service on my Ubuntu but I cannot figure under what user this service runs. I know how to find the owner and the permissions of files and directories. But how can I do this for a ...
12
votes
2
answers
5k
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 ...