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
1answer
204 views

Service not starting at machine boot up - Ubuntu 14.04.1 LTS

I created Weblogic server as a service to start at boot up of machine by creating weblogic file inside directory /etc/init.d/ with below content: #!/bin/sh . /etc/default/weblogic start() { ...
2
votes
1answer
391 views

How are services started in Ubuntu 14.04, Upstart, SysV or a combination of both?

I have these 2 webservers installed on a development machine and because they both bind to port 80 only one can be running at any given time. I would like to be able to modify the init startup ...
0
votes
1answer
160 views

Run service from svc service on boot

I want to run svc service (daemontools/supervise) on system boot (without logging in). The service is running fine if I manually run commands (using root): /usr/bin/svscan /services/ &(to start ...
0
votes
1answer
257 views

Where does Gunicorn come from in `service gunicorn restart`?

When I pip freeze, I do not see Gunicorn. I am wondering where Gunicorn comes from when I run service gunicorn restart/stop. And what is service's relationship with Upstart? Thanks. Edit: I now ...
0
votes
0answers
130 views

Upstart: Start bitcoind if it stops running

On Ubuntu 14.04 I have not been able to get the Bitcoin daemon to automatically restart. Rarely the daemon dies and it is important that it starts again without manual intervention. To get it to start ...
0
votes
1answer
89 views

Fan is on constantly after recent update

Prior to a recent update Fancontrol started at boot, and everything was fine. Now after the fan doesn't stop. To solve it, every time I turn on the PC I have to set up pwmconfig again. Then I have to ...
0
votes
0answers
62 views

Problems running Oracle Forms Services

At my office we used an Oracle DB in 10g, and ran Oracle forms in pc's with windows and ubuntu (12.04 and 14.04) as well, now we updated our Data Base to 11g and had to download and install jre-6u23-...
0
votes
1answer
119 views

slurmdbd service can't connect to MySQL at startup, but succeeds manually

I installed slurm-llnl and slurm-llnl-slurmdbd on a Ubuntu 14.04 workstation. I successfully configured SLURM, but am having trouble with the slurmdbd service and the mySQL database After a system ...
0
votes
0answers
14 views

Retrasar incio de servicio (Delay start of service)

Muy buenas, necesito consejo para un problema. Tengo un cliente torrent (trasmission) que guarda los archivos en una ubicación de red. El problemas es que el servicio del cliente torrent arranca antes ...
0
votes
1answer
45 views

How to reproduce “systemctl EDIT” behavior in Ubuntu LTS

Context: I'm trying to configure DNScrypt. The instructions call the command: sudo systemctl edit dnscrypt-proxy.socket The edit command for systemd was introduced in version 218. Ubuntu LTS and ...
0
votes
0answers
24 views

systemd: Dynamic Username

I've tried to establish a service in my system which is letting my control my server via systemd. For this purpose I have wrapped a service class around a python skript which is dealing with the ...
0
votes
0answers
109 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
2k 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
2k 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
88 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
710 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
19 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 However,...
1
vote
1answer
679 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
176 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
62 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
31 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
85 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
21 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 ...
3
votes
1answer
1k 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
130 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
258 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 start/...
1
vote
0answers
43 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 ...
0
votes
2answers
891 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
58 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
127 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
14 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
25 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 sub-folders....
1
vote
0answers
157 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 /etc/rc?.d/*...
2
votes
0answers
63 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
29 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
16 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, ...
7
votes
3answers
21k 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
227 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
63 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 I ...
0
votes
1answer
90 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
356 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
215 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
45 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 nfsen....
0
votes
1answer
601 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
27 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
47 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 ...
3
votes
1answer
220 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: PATH=/sbin:/usr/sbin:/bin:/usr/...
14
votes
1answer
7k 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 ...
1
vote
1answer
3k 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
43 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 ...