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)

0
votes
0answers
20 views

What is a service vs a daemon?

I have read answers saying that service is just the same, or that service is the windows equivalent of a unix daemon, but I need a better answer. I am playing around with Upstart. The Upstart ...
1
vote
1answer
245 views

Startup script for spawn-fcgi

I would like to use spawn-fcgi to start a web.py application on system boot. Is there any facility for managing spawn-fcgi through Upstart? (Is Upstart the modern system for managing services, or ...
117
votes
22answers
94k 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 ...
23
votes
5answers
19k 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. ...
1
vote
0answers
31 views

Running service spacenavd start not same as /etc/init.d/spacenavd start

I have an application which makes use of a 3dconnexion space mouse. It works fine when using the spacenavd daemon however I'm having issues getting the daemon to run at boot or as a service. $ sudo ...
0
votes
2answers
2k views

How can I use transmission-daemon with a download folder on a ntfs file system?

I have a small partition for linux and a big partition that is ntfs so I can share files with my windows installation. I want to use transmission-daemon (this is a console-only installation) and I ...
0
votes
0answers
11 views

gmote server as a daemon service

I need some help to set G mote Server as a daemon so that it can start at the boot of my system. I'm using lubuntu latest version. I alreay tried to write a script into /etc/init.d using skeleton as a ...
1
vote
0answers
31 views

Is there an alternative to using “sleep 1” in Upstart pre-start script? [closed]

I am running a rails app on Ubuntu 12.04 I was having difficulty getting the service to start on boot. The only thing that solved this issue was to add a "sleep 1" to my pre-start script. I am ...
1
vote
1answer
30 views

Why is sssd an unrecognized service, even though it is installed and can be restarted?

Why is sssd an unrecognized service, even though it is installed and can be restarted? BTW: This concerns Ubuntu 14.04.1 LTS, it was not like that in 12.04 I will show what I mean below, I think it is ...
0
votes
0answers
25 views

How to run job with access to ssh passphrase

I have a long-running daemon (unison file monitor) that I want to have running at all times. This daemon connects to a remote server through ssh and maintains a local directory synced with a remote ...
1
vote
0answers
13 views

Prevent service from starting manually when dependent services are down

Suppose I have two services db and app (which needs db to be up and running before it starts). They are starting correctly on startup and when I do sudo service db stop it stops both db and app. But ...
12
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 ...
3
votes
3answers
6k views

Can't start, stop, or interface with SSH service

Having really bizarre behavior with ssh. I have the ssh-server running fine, configured ufw (firewall) fine as well. However, it seems I can't manage ssh as a service or through /etc/init.d/ssh. I ...
22
votes
5answers
52k 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. ...
1
vote
1answer
5k views

PlexMediaServer Not running

I had PlexMediaServer (PMS from here on) installed on my Ubuntu Machine, recently i switched from sshfs to NFS for my network shares, PMS managed to stream perfectly from my network shares when i ...
0
votes
0answers
57 views

UMS.sh (run as service) on Ubuntu 14.04 won't read configuration file

I'm trying to get my ubuntu 14.04 to run universal media server so I can stream movies to my ps3 (lowest firmware 4.55 unfortunately - unjailbreakable). After much research on the net I was able to ...
0
votes
2answers
7k views

Problem configuring dhcp server: Job failed to start

I m trying to configure dhcp server in ubtuntu onto my virtual box and connecting other virtual instance of ubuntu to this dhcp sever i have installed dhcp server using sudo apt-get isc-dhcp-server ...
0
votes
2answers
24 views

check status of services and daemons

I installed some services such as ntpdate and reportbug. How I can check their status and start/stop them? These don't work with service commands.
0
votes
1answer
29 views

disable rsh on ubuntu server

I installed rsh-server in my system for test purposes, but now I want to disable it without removing its package. I don't know how I can check rsh status. I can not see it with: sudo service rshd ...
0
votes
2answers
63 views

How to stop all services except ssh?

In command line, how can I stop all services from my Ubuntu (Server in this particular case), except SSH? And how can I list all services to be sure all of them were stopped?
2
votes
1answer
47 views

How do I run weechat and screen as an upstart service without error?

I want to run weechat constantly in the background so that I can ssh in and reattach to it via screen. I'm trying to accomplish this via the following file in /etc/init/chatscreen.conf: description ...
0
votes
0answers
13 views

Multiples instances of rsyslogd running

I am administrating a Ubuntu 12.04.4 32bits server. I found out that at any given time there is 4 instances of rsyslogd running. I will like to know whether is not normal or if not why it is needed to ...
5
votes
1answer
1k views

Chrome is not running in background

"Continue running background apps" is checked. There is no Chrome entry in Startup applications. This command didn't work: google-chrome --no-startup-window Everybody is complaining how to disable ...
294
votes
7answers
324k 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, ...
2
votes
1answer
2k views

How do I start a service after the network is up?

In my case, squid is started before DHCP has written a new /etc/resolv.conf which results in odd errors (timeouts, 504 Gateway) when I try to load a page in the web browser. As I see it, the correct ...
2
votes
1answer
57 views

upstart fail to run service and not able to debug

I am using os-svc-daemon to create my upstart service for openstack project. my upstart job config is as below File : /etc/init/myservice.conf start on runlevel [2345] stop on runlevel [016] env ...
3
votes
2answers
613 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 ...
0
votes
1answer
62 views

start on emit is not working on upstart

I am working to restart service if stopped. I was looking for upstart, to restart service. I found some answers. I took apache2 service for testing. I changed code as below. # File : ...
0
votes
0answers
50 views

Unable to find radius? Error is “service not found”

Hi team I have the required packages installed however system is still saying that it is unable to find the service. root@opennms-otrs:~# apt-get install freeradius freeradius-mysql freeradius-utils ...
62
votes
12answers
174k 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 ...
3
votes
3answers
6k 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 ...
0
votes
4answers
2k views

Another MySQL daemon is already running?

root@jose-desktop:~# sudo /opt/lampp/lampp start Starting XAMPP for Linux 1.7.7... XAMPP: Starting Apache... XAMPP: Another MySQL daemon is already running. XAMPP: Starting ProFTPD... XAMPP for Linux ...
0
votes
1answer
94 views

How to enable systemd user units in 14.10

I put a unit under ~/.config/systemd/unit: [Unit] Description=Test systemd user enabled [Service] ExecStart=/bin/sh -c 'echo afdasf > /home/joelmo/sysdworking' [Install] WantedBy=default.target ...
2
votes
1answer
93 views

Daemon not running on boot

On an Ubuntu (14.04) VM, I have a simple node server that I want to run on startup. The following script works when invoked just as ./noderoot start, but isn't running on startup. The script is ...
0
votes
1answer
683 views

Start hostapd service on boot

How to start hostsapd service every time my compute starts I have Ubuntu Server 13.10 and kernel 3.11 Update 1 When I tried sudo update-rc.d hostapd defaults I got the following System ...
2
votes
2answers
191 views

Cron Job Creation

Okay, so I have had a quick look at the answers posted on this question and re-formulated my cron job. So, let me break this down as clear as I am able to: PC/OS | Shell Info I am currently running ...
23
votes
4answers
65k 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) ...
0
votes
0answers
16 views

What does + - ? signs mean when running sudo service --status-all? [duplicate]

What these symbols mean? I thought that if the service is running or not, but it is not.
107
votes
20answers
76k views
0
votes
0answers
70 views

ubuntu 14.04. kde-services on Dolphin

although I do not use Dolphin as the default file manager for Ubuntu, in fact I use it a lot. I find it is very useful and practical. I was thinking about enhancing even more its functionalities and I ...
0
votes
1answer
248 views

sysvinit services not starting on boot, upstart services starting [closed]

I have a problem with my Ubuntu server installation :/ The server runs several services, e.g. postfix, dovecot (as a mailserver), apache2, mysqld, elasticsearch. Normally on startup, these services ...
0
votes
0answers
121 views

How to setup users, groups, permissions for daemons & services (couchpotato, nzbget, nzbdrone, apache…)

I am still relatively new to linux and while I am starting to get comfortable with a lot of it there are some practical fundamentals that I must be missing because I don't have a clear idea on how to ...
4
votes
3answers
2k 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 ...
1
vote
1answer
218 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
87 views

Ubuntu equivalent of CentOS success / failure

A lot of services in CentOS look like this (except green and red, respectively): $ sudo service blah start Starting blah: [ OK ] $ sudo service notrunning stop Stopping notrunning: ...
63
votes
2answers
43k 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:~# ...
0
votes
0answers
52 views

Given a user, how to control which services to disable after starting a graphical session?

I am not familiar with upstart, yet. When I start KDE with my own account upstart starts a lot of services as far as I understand. But I have some other users that I let them use openbox because I ...
0
votes
2answers
103 views

init.d scripts and rc folders

I am wondering why not all scripts placed in init.d folder are in rc folders eg. system cups is in init.d but there is not in rc folders? I don’t know if I understand it right. When I want to ...
0
votes
0answers
65 views

Sickbeard start service on boot not working: Permissions issue? [duplicate]

I've just installed Sick-Beard on my server. Starting the service via SSH works just fine, as I issue the command sudo service sickbeard start However, I can't get the service to start on boot. ...
1
vote
0answers
28 views

Ubuntu server different kind of services

I'm starting to learn more about servers and I was thinking if (and how) I can run multiple services on my Ubuntu Server. For example: I'm starting to develop a system with Django (Python) and I also ...