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

How do you customise the Avahi service files that CUPS automatically makes?

It used to be that you used to have to create your own Avahi service files to get a CUPS printer to have AirPrint support. Now, CUPS automatically gives Avahi the service file. How do you customize ...
-1
votes
1answer
1k views

Server 15.10 - “service whatever start” will not start 'whatever' system V init script in /etc/init.d/ [closed]

it just says... "Failed to start whatever.service: Unit whatever.service failed to load: No such file or directory." Looking at the man page for service it specifically says it's for starting system ...
4
votes
1answer
751 views

What starts accounts-daemon?

Question is simple: what starts the accounts service daemon on Ubuntu 14.04? root 11495 1 0 13:55 ? 00:00:00 /usr/lib/accountsservice/accounts-daemon pstree tells me that it's ...
1
vote
1answer
60 views

rsyslog not logging message from program

I'm trying to write (the beginning) of a daemon on Ubuntu 15.04 and for some reason rsyslog is refusing to output my logged statements - I've tried multiple localities (LOG_LOCAL1, LOG_LOCAL0, ...
0
votes
2answers
199 views

Postgres 9.4 running but “service status” reports it down

Ubuntu 14.04.3 LTS and a new installation of Postgres 9.4 (with apt-get install postgresql-9.4, nothing fancy). Postgres was started with pg_ctl start by the postgres user. The status command reports ...
0
votes
0answers
16 views

stop() function in init.d script

I am trying to create init.d script for my program. This is basically what I have now. case $1 in "start" ) sudo python /path ;; "stop" ) sudo pkill -f pidname;; esac ...
1
vote
1answer
223 views

Docker is managed via upstart, try using service docker

I'm using following system: root@alexus:~# cat /etc/issue.net Ubuntu 14.04.3 LTS root@alexus:~# uname -a Linux alexus 3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015 x86_64 x86_64 ...
1
vote
1answer
93 views

upstart script is not picking system default environment variable

I have one openstack based service. Which we are ran using upstart script. upstart script # filename: /etc/init/myservice.conf start on runlevel [2345] and started mountall stop on runlevel [016] ...
0
votes
0answers
48 views

“sudo service tomcat7 start” gives no reply or update

When I type "sudo service Tomcat7 start", or any service, I used to get a reply like Starting service Tomcat7 Service Tomcat7 started but as of last week, I get nothing. I did a fresh install of ...
3
votes
0answers
27 views

apt/aptitude: predict which daemons are going to be restarted

I'm looking for a way to predict before upgrading, which daemons are going to get a restart. I have a few updates lined up that upgrade some core libraries and daemons and it makes sense to me that if ...
0
votes
1answer
55 views

useless processes in Ubuntu 14.04 virtual server

I've used Ubuntu for my desktop for a quite while now and I have successfully migrated my only CentOS web production server to Ubuntu 14.04 x64 a little over 3 months ago and I couldn't be happier. ...
1
vote
0answers
20 views

Change the way a service starts

I have the Solr service running currently. I wish to run Solr Cloud. According to this article, I need to execute the command: $ bin/solr -e cloud I know how to stop the service and how to start ...
0
votes
0answers
708 views

bluetoothctl: can't input commands

After installing the latest Bluez package, I ran bluetoothctl. The program starts in the command line and prompts for user input. However, it does not respond to any user input whatsoever. Searching ...
1
vote
1answer
58 views

Upstart job not recognized

I wrote a simple upstart job: start on runlevel [2345] stop on runlevel [016] exec dnscrypt-proxy -E -R cisco-ipv6 It starts properly on boot, but is still not recognized by service --status-all ...
2
votes
1answer
126 views

TAB press for auto-complete does not work for some service names [duplicate]

I can run following command on my Ubuntu 14.04.3 Terminal without any problem: sudo service network-manager restart [sudo] password for username: network-manager stop/waiting network-manager ...
1
vote
0answers
30 views

restarting custom kiosk service with cronjob

I have a google chrome kiosk set on top of Ubuntu Server 14.04.3. What I want to do is to restart the kiosk every day at midnight. As a test I set a cronjob to restart the kiosk every minute in order ...
1
vote
1answer
1k views

How do I make my systemd service run via specific user and start on boot?

I just upgraded from Ubuntu server 14 to version 15. I had trouble getting my upstart script working after the upgrade, and read that systemd is the new default. I'm far from a linux expert, so please ...
0
votes
1answer
289 views

/etc/init.d/rsyslog {start | stop | restart} : Need this to work

I have read the answer/comments for this thread "Diffrence between /etc/init.d/ssh start and service ssh start" But I need this /etc/init.d method to be working. I have some auto-generated scripts ...
2
votes
2answers
46 views

Software works when run manually through the terminal but not as an Upstart service

I have written a software that will act as a server to an application I've made. This works perfectly when I run it from the terminal but crashes every time on a very specific action when I run it as ...
1
vote
0answers
78 views

“is not running” and “stop/waiting” - what's the difference?

Why does these 2 return different output, although they're both services? $ sudo service cassandra status * Cassandra is not running $ sudo service mongod status mongod stop/waiting $ service ...
0
votes
0answers
12 views

Upstart restart sends multiple SIGHUPs

I'm trying to restart a process that is a little picky with how it handles signals (namely, one SIGHUP triggers shutdown, but if it receives a second while shutting down, it attempts to come back up ...
2
votes
0answers
19 views

Stop service during boot

Ok I did a stupid thing. I created a script file which is suppose to change permission on a folder during boot up. Instead the script is changing permissions on the root path ("/") and all ...
1
vote
0answers
105 views

Change init script sequence number with update-rc.d

I've just installed apache2 in a LUbuntu 15.04 distribution using the command apt-get install apache2. By default the service is configured to start with a sequence number of 2: ls -l ...
2
votes
0answers
43 views

Can't get slanger to start as an Upstart service

I have created the file /etc/init/slanger.conf and I'm trying to get it to start as a service. The following are the contents of the file start on started networking and runlevel [2345] stop on ...
0
votes
0answers
24 views

Ubuntu phone services API documentation

I saw that UbuntuSDK has some pages about QML UbuntuPhone components, however I have no idea where can I find any non QML API for core services like: Sending SMSes Checking if any audio is being ...
0
votes
0answers
15 views

Is there a notification bar status/mitigator (similar to Wamp) for LAMP on Ubuntu?

I don't mind using the command line to mitigate the Apache/PHP/SQL stack. Curious though if there is some kinda notification area widget/plugin/script available that can do the same? For example, ...
6
votes
2answers
6k views

How can the Telnet service on Ubuntu Server 14.04 LTS be enabled?

How can I enable the Telnet service on Ubuntu Server 14.04 LTS? Can somebody include a detailed description about the needed packages and configurations?
0
votes
1answer
99 views

FCITX pinyin input menu doesnt appear

I ham running fcitx in 15.04 XFCE Ubuntu (XUbuntu) and my fcitx daemon is working fine for both Chewing and Google Pinyin input, however the menu with pinyin entries never shows up when I type. So for ...
0
votes
0answers
41 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
65 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
1answer
160 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 ...
0
votes
1answer
93 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
40 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
181 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 ...
1
vote
1answer
24 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
38 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
147 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: ...
7
votes
1answer
2k 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
1k 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
40 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 ...
0
votes
1answer
87 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 ...
0
votes
0answers
277 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 ...
5
votes
1answer
206 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 ...
1
vote
2answers
291 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
1answer
1k 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: ...
1
vote
0answers
44 views

What does +-? mean in the output of service [duplicate]

I would like to know what does +, - and ? mean in the output of service --status-all. For example: [ + ] acpid [ - ] anacron [ - ] apparmor [ ? ] apport [ + ] atd
0
votes
1answer
60 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
146 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?
1
vote
1answer
260 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 ...
1
vote
0answers
41 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 ...