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
4 views

Use systemd to “mount” wlan0 at boot

Context (if needed) : at boot, the service "myservice" is launched. It manages to "up" the wlan0 interface. But it does not exist yet at boot. ifconfig, after boot, lists only eth0 and lo. If ...
0
votes
1answer
14 views

Boot, How to run my service **after** Network Manager?

I have made a service - which changes settings of network interfaces -. I want to start it at boot. Issue: even if I set it 99 priority, it works only a few seconds. It seems its interfaces config ...
0
votes
2answers
3k 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 ...
0
votes
0answers
10 views

vsftpd service will not start for 14.04

I've been looking for solutions for awhile and I haven't found one that works for me. I'm new enough to linux that I'm not sure where else to turn. I can't seem to get the service to start. Any ...
1
vote
1answer
50 views

How to autostart an application on Touch device?

What if you want to distribute some daemons in ubuntu-click packages? What is the preferred way to start them on boot?
17
votes
6answers
20k 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 ...
0
votes
1answer
10 views

Clean, safe way to auto restart (and monitor) daemons/services

At the moment I am using init.d-scripts for starting services like TeamSpeak or MineCraft. Sometimes a server application stops because of some failure or it is auto-stopped, because of some plugin. ...
0
votes
0answers
18 views

Service fails to load after update to 15.04

I have nfsen installed and configured to run on 14.04. Upon upgrading to 15.04, however, the program doesn't load and sudo service nfsen start returns Failed to start nfsen.service: Unit ...
0
votes
1answer
17 views

ntpd does not sync clock automatically

Can anyone help me figure out why my clock isn't syncing? I can update my clock manually with $ sudo sntp -s golem.canonical.com 17 Aug 08:26:22 sntp[518]: Started sntp 2015-08-17 08:26:22.267847 ...
0
votes
1answer
7k 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
2answers
1k 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
18 views

Run daemons before logging-in

I have some daemons to run once boot is finished, the main one is a Wifi AP. My question is: how to ensure the daemon run even if I'm not logged-in ? EDIT init.d: in spite of gøøg1ing about, I dont ...
0
votes
1answer
25 views

How to run more then one program through a service (/etc/init/*.conf) file

My service, an executable called /opt/mcp/rpe, requires that a second executable is also running, called /opt/mcp/McpVp. In my conf file: /etc/init/mcp.conf I have: description "Run MCP" start on ...
1
vote
0answers
31 views

When I manually start my own service it runs in the foreground, is this correct?

I have created my own service by: copying my binary to /usr/bin/mcp Create a daemon copying the skeleton: /etc/init.d/skeleton Modify the skeleton bash script top: ...
0
votes
1answer
80 views

How do I override or configure systemd services?

Many sysv init scripts used a corresponding file in /etc/default to allow the administrator to configure it. Upstart jobs can be modified using .override files. How do I override or configure systemd ...
0
votes
1answer
4k views

Start/Stop Services in Linux Ubuntu 13.10

I just installed PRTG Network Monitor on Linux Ubuntu 13.10 and I can't get it to start. How can I start/stop services in linux? like how you do in windows?
66
votes
4answers
77k views

Disable autostart for a service without uninstalling? [duplicate]

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.
12
votes
7answers
55k 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). ...
0
votes
1answer
27 views

Unison and systemd timer problem

I've got a problem whereby if I run my bash script myself unison works as expected, when systemd runs it via a service on a timer then it does not work as expected. I'm logging the output of the ...
-1
votes
3answers
234 views

How to Run Dnscrypt-proxy in Vivid?

I updated to Ubuntu Vivid the other day, and now I am having problems. I cannot get dnscrypt-proxy to start (amongst other programs). I am guessing it has to do with the systemd switch. This is what ...
0
votes
1answer
57 views

start-stop-daemon not removing old pid file

I have an init script that I've written to start and stop an application as a service. Code is here: #! /bin/bash PID_FILE=/var/run/myservice.pid case "$1" in start) echo "Starting up ...
1
vote
0answers
38 views

How to enable/disable startup services in Ubuntu? [duplicate]

There seems to be no definitive solution for this, either in Ubuntu's official documentation or other sources of information. In some places systemctl is suggested but I think Ubuntu does not support ...
12
votes
2answers
12k 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
8k 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 ...
5
votes
1answer
95 views

How to make an app run as a daemon on Ubuntu when installed?

I have a Java app - although the answer here should be the same regardless of whether it is Java, Ruby, Python, etc. - that I would like to distribute in such a way that when devops folk go to install ...
0
votes
0answers
30 views

Why start-stop-demon doesn't signal property that daemon has started/stopped

Here's a part of the daemon script for BtSync at /etc/init.d/btsync: do_start() { start-stop-daemon --start --verbose --oknodo --background --user $CHUID --user $CHUID --pidfile $PIDFILE --exec ...
0
votes
0answers
69 views

Why I can't enable custom systemd service to start uWSGI?

I created a Django project with virtualenv. The site will be deployed with nginx and uwsgi. I want to enable uwsgi as systemd service. I've created this: [Unit] ...
0
votes
0answers
214 views

Odoo (OpenERP) start-stop-daemon script

I installed odoo and try manual start openerp-server. All ok. My next step it's try to add odoo to auto start. For this I use this script: #!/bin/sh ### BEGIN INIT INFO # Provides: ...
5
votes
2answers
23k 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 ...
0
votes
2answers
25 views

What does +-? mean in the output of service

I would like to know what does +, - and ? mean in the output of service --status-all. For example: [ + ] acpid [ - ] anacron [ - ] apparmor [ ? ] apport [ + ] atd
4
votes
1answer
1k views

Is it safe to remove oneconf?

I use Xubuntu, but at this time I only have 1 GB RAM and the system is very slow. I started to remove services and tasks that I don't need. I found that 'oneconf' uses 14 MB RAM, which is too much ...
0
votes
0answers
22 views

How to start services only after BTRFS filesystem has been mounted?

I've been trying to make some services only start after a BTRFS system gets mounted, with no success. I have the following in my service start/stop script: # Required-Start: $local_fs $remote_fs ...
0
votes
1answer
26 views

bind9 starting with boot

How to add bind9 to start with Ubuntu boot? I search a lot and didn't find anything useful. Maybe something related to init.d, right?
0
votes
1answer
121 views

Using Upstart / init with PHP daemon nohup php daemon.php

Till now I had no real need to learn bash and init scripts as I need to at this point. I have created a custom Twitter app that is persistently, or constantly, connected to the API. It does tasks like ...
10
votes
4answers
83k 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. ...
1
vote
1answer
451 views

Fail2ban fails to start after update?

I have been using fail2ban for a while on my Ubuntu server. Recently (after upgrading to ubuntu 15.04 I assume) fail2ban has been failing to start. Initially, this was because the port option had ...
1
vote
0answers
25 views

Port is open but service is stopped

I have interesting statstistics on open ports on ubuntu. I scan my server from outside with nmap And I see that 110/tcp open pop3 And many other ports are also open But on the server ...
0
votes
0answers
40 views

Using “service” to stop Postgresql service doesn't seem to work

I've been using an Ubuntu system for quite some time working on an application (well two applications). The application uses Postgresql 9.1 in production, so that's what I use, but 9.3 and 9.4 are ...
0
votes
1answer
50 views

Stopping a postgresql instance

For the sake of educational purposes I have two identical instances of postgresql running on my machine. I can easily stop the service of the instance that is running on port 5432 like this : sudo ...
0
votes
0answers
10 views

Blacklist packages that listen on a public interface after install

When I install packages I don't go through every package and its dependency by hand and check if it installs a daemon which listens on a public interface. Obviously I want to avoid this and would like ...
1
vote
1answer
419 views

Cannot find squid3 service

The service for squid3 does not exist in /etc/init.d/. If I try to stop or start squid3, it does not work. I tried purging squid3 and installing again, but to no avail.
88
votes
3answers
194k 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 ...
0
votes
1answer
65 views

Error while starting apache2 service

I get an error when I run this command sudo service apache2 start This is the error * Starting web server apache2 AH00558: apache2: Could not reliably ...
2
votes
1answer
246 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. ...
0
votes
1answer
527 views

Ubuntu 15.04 systemd vs upstart

Unlike the prior versions Ubuntu 15.04 now uses systemd instead of upstart. To start programs at boot I always created conf-files in /etc/init/. They would look like this: start on ...
13
votes
2answers
18k 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 ...
148
votes
21answers
106k views
6
votes
4answers
6k views

How to run a program as a service (silent)?

I have a python based server which i start from the terminal. This particular instance of the terminal then gives control to the program, and the program uses it as a kind of logging window, until its ...
1
vote
2answers
26 views

find service using grep

I am trying to find specific service and I have question about this command: service --status-all | grep worker Why did service --status-all | grep ... not work?
0
votes
0answers
41 views

Adding new Service to boot record doesn't work

I want to add postgresql as a new service to my boot records, which I normally do by doing this: sudo update-rc.d postgresql defaults However, when I then restart it still doesn't start at boot. ...