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)

1
vote
0answers
10 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
5k 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 ...
21
votes
5answers
49k 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
20 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 ...
-1
votes
0answers
26 views

SAMBA (smbd) failed to start.

Ubuntu Linux 14.04.1 Samba version 4.1.6 Samba service smbd not running although nmbd is running. When i write: sudo service smbd restart stop: Unknown instance: smbd start/running, process 11109 ...
0
votes
2answers
20 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
16 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
43 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
35 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
10 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 ...
291
votes
7answers
315k 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, ...
1
vote
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
34 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
528 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
46 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
44 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 ...
59
votes
12answers
161k 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
61 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
58 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 ...
-1
votes
0answers
14 views

motion not working when a second (motion2) deamon made

hey i installed motion about a year ago. it worked fine with 1 ip camera. now i have a second and i created a motion 2 made “/etc/motion2/” and copied motion2.config Copied motion2 file in ...
0
votes
1answer
552 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
185 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 ...
21
votes
4answers
56k 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.
102
votes
20answers
73k views

How can I deactivate Bluetooth on system startup?

How can I deactivate Bluetooth on system startup?
0
votes
0answers
57 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
187 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
98 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
175 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
68 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: ...
62
votes
2answers
42k 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
40 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
83 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
64 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
26 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 ...
4
votes
2answers
122 views

How to remove a package providing a service without stopping the service?

I currently have the uwsgi package installed. I would like to remove the package but leave the current uWSGI instances running. Is this possible? (Yes, I do realize the service will only continue ...
1
vote
1answer
26 views

In what folders or files can services appear and start from

In Ubuntu, what folders or files are used to hold service files that can start at boot time. I know for example /etc/init.d is one folder which holds several service files. /etc/rc.local is a file ...
0
votes
1answer
41 views

how to open port to the world

I have installed postgresql (or any other service for that matter) on ubuntu 14.04.1.LTS I can start postgres and it is running. It accepts connections on port 5432. This is my netstat output: tcp ...
13
votes
5answers
20k 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 ...
0
votes
0answers
143 views

ProFTPd service shuts down automatically

I have ProFTPd service installed on my server which runs Ubuntu Linux 14.04 . I don't know why ProFTPd closes by itself. I have enough RAM and CPU and I really don't know why this happens. I also ...
1
vote
1answer
3k views

Samba started twice on boot up after upgrade to 14.04

the second attempt results in a failure: Starting SMB/CIFS File and Active Directory Server[74G[[31mfail[39;49m] I'd like to figure out where the second attempt is coming from and remove it. ...
0
votes
2answers
292 views

sshd daemon not running ubuntu 12.04

The sshd daemon is not running on my machine (Ubuntu 12.04). I have repeatedly re-installed the openssh server and rebooted. I get no output to this command: ps -A | grep sshd Any help would be ...
1
vote
2answers
212 views

upstart multiple parameters

So Im working on a upstart process and wanted to know if I could pass in multiple parameters my-upstart-service restart PARM1=foo PARM2=bar PARM3=hello Here is kinda what I had in mind description ...