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

Capturing audit log from auditctl based on the tty type

I am trying to capture all the commands executed by the user using auditctl -a exit,always -S execve. But i want to filter out the background process from this log. I can do this by removing logs with ...
1
vote
0answers
12 views

How do I delay a systemd service so that nvm & node are correctly initialised before running?

I have the following service: [Unit] Description=Launch Demo [Service] Type=forking ExecStart=/bin/bash /opt/Demo/launch_script.sh [Install] WantedBy=multi-user.target The launch_script.sh ...
-3
votes
0answers
15 views

How do I know the system I am using uses - SysVInit / upstart/ systemd?

I am using Ubuntu 14.04 - Which one should I use? (1) Also, what's a definite instructions for the system from step 1 to setup my service? I plan to create a service out of java .jar
0
votes
2answers
19 views

Permission denied in rc.local

Here's the contents of my /etc/rc.local /etc/pm/power.d/99macbookair6 true echo 0 > /sys/module/hid_apple/parameters/iso_layout exit 0 running service rc.local start returns /etc/rc.local: ...
6
votes
2answers
170 views

Disable snapd.refresh.service on 16.04 to speed up boot (no snap packages in use)

I run Ubuntu 16.04 but never installed any snap packages, at least not that I would know of any. Here are my slowest processes at boot: $ systemd-analyze blame | head 9.057s snapd.refresh....
1
vote
0answers
26 views

Elasticsearch service not working in 16.04

I installed elasticsearch from the standard repo (version 1.7.3). I configured it as a development node (master true, data true, 1 shard, 0 replicas, host - localhost). I uncommented START_DAEMON=true ...
1
vote
1answer
28 views

How to kill a daemon process in linux?

I have a small client-server code. In the server part, there was a command daemon(1,1) that ran it as a daemon. The executable was just a.out. How can I kill this process? The usual ps does not show ...
0
votes
0answers
28 views

How do I stop BitTorrent Sync (Resilio) service?

Gui in http://localhost:8888/gui/ can only Pause synchronizing.
1
vote
0answers
24 views

/var/run/postgres keeps being deleted, preventing postgres from starting

By default, my PostgreSQL installation was creating a socket in /tmp but my psql command-line client was looking in /var/run/postgresql/.s.PGSQL.5432. To remedy this, I edited postgresql.conf and ...
0
votes
0answers
23 views

Why isn't the process running on background?

I am having a problem running a script (.conf file) as a background process. The script I am using which will call my php file looks like this: # Info description "Runs the Chat Web Socket" author ...
4
votes
2answers
55 views

How to list all enabled services from systemctl?

How can I list all enabled services from systemctl? I know systmctl lists all services but I would like to get only the enabled once.
0
votes
0answers
13 views

The signon plugin does not react on demand to stop: need to kill it!

I have a problem with signon, it seems. After recovering from sleep mode, my syslog shows - sometimes - the following error messages: Jun 30 10:05:13 lati signond[22359]: The signon plugin does not ...
3
votes
1answer
101 views

No output from service start/stop/restart command

I just installed Ubuntu 16.04 LTS and found that when I run usr@server:~$ sudo service <servicename> restart usr@server:~$ The service is restarted (I can see the status with service <...
1
vote
0answers
21 views

Stopped service shows up with [+] status

I'm trying to troubleshoot a system that keeps hanging intermittently, and I'm not a *nix expert by any means. I suspect a camera driver (supposedly there is a bug, waiting for more info from the ...
0
votes
0answers
23 views

How does display a Error/Failure message for a Daemon service starting fail using Systemv init script

I have a USB driver program to detect devices from a particular PID & VID pair, I wrote a SystemV init script for ubuntu 14.04 using default basic init script located inside /etc/init.d/ directory....
0
votes
0answers
18 views

Give access to restart network services/eth0 without root access [duplicate]

I am creating a support account on a Ubuntu server and given it access to specific folders and log files I would like this account to also be able to either reset the eth interface sudo ifdown eth0 &...
1
vote
0answers
31 views

Upstart services work in SSH session, but not in local terminal session

If I open a local terminal, and attempt to start an upstart service I get this error: service rsync status status: Unknown job: rsync But if I SSH in as the same user, it works fine: service rsync ...
2
votes
0answers
67 views

Ubuntu slow booting - 'sendmail.service' takes over a minute to load

My ubuntu is booting very slowly. I'll show here excerpts from dmesg where the difference in boot time is larger than one second. Which one of these entries is significant, and which is not? (In ...
0
votes
1answer
22 views

Get LDAP to work without rebooting

I am trying to create an automatic/unattended install of Ubuntu 16.04 Desktop suing preseeding and puppet: Install with preseed, include puppet and start puppet on reboot, preseed also changes ...
0
votes
1answer
71 views

How to stop all services

I'm looking for a command to stop all services running and probably restart them after. Any help would be appreciated.
1
vote
0answers
34 views

How to get the --rsync-path option to work with the rsync daemon

I'm currently writing an auto backup system in python that'll dynamically sync to specific directories on a server depending on what user, machine, and os is currently running. I'm trying to get the ...
0
votes
0answers
28 views

Upstart job forking out of control

I am trying to run a particular daemon through upstart. Outside of upstart it runs as expected, and produces a pid file which matches the process id. When launched in upstart however (without expect ...
0
votes
0answers
117 views

16.04 , rabbitmq, systemD and status of the service or daemon

Having just installed 16.04 on a new dev laptop, i'm seeing conflicting status info on the way that systemD handles rabbitmq-service daemon... I think i installed rabbitmq prior to erlang and then ...
0
votes
0answers
62 views

Ubuntu 16 Systemd definition issue

I have created a new definition of service under Ubuntu 16: [Unit] Description=test [Service] Type=forking ExecStart=/home/test/tset.sh start ExecStop=/home/test/test.sh stop [Install] WantedBy=...
0
votes
0answers
28 views

Upstart respawn not working

I want to activate automatic service respawn on a few ec2 instances running Ubuntu 14.04. In particular, each of those instances host Apache web server + Lucee (a tomcat-like application server). I ...
0
votes
1answer
52 views

how to create service out of command?

I installed influxdb on ubuntu 16 and for some reason when I try to write in the terminal service influxd it gives me influxd: unrecognized service. if I type only influxd than the influxdb server is ...
0
votes
0answers
52 views

Create a dameon with GUI interface with systemd

I've wrote a small app (for test purpose) in C++ using SFML that use some GUI stuff. I need to run this like a daemon. This app is a small http server and I talk with it via REST (I'm using cpprest) ...
0
votes
0answers
33 views

Boot issues on Lenovo ThinkPad T520

I've recently installed 16.04 x64 on this laptop I received. Installation worked fine, installed with disk encryption. First few boots are problem free, but it has started to randomly have this issue ...
0
votes
0answers
77 views

Using Edimax AC600 EW-7811UTC Hotspot

I have a EDIMAX AC600 EW-7811UTC setup and connecting to Wifi but it will not let me use it as a hotspot or Ad-Hoc network. Xubuntu 16.04.
0
votes
3answers
57 views

Running an executable jar file when the system starts

I have a java executable jar file, which I am trying to run in a terminal. I need to auto run the project so that the jar file runs whenever I start the PC like a system service.
1
vote
1answer
33 views

Why does a program disabled as a service still runs at the system's startup?

I installed Tor (to run it as a node, not simply the browser) on my desktop and laptop. But as I use desktop almost all the time and the connection to the Internet is the same, I run tor only on the ...
1
vote
1answer
651 views

What to do after Failed to start Load Kernel Modules

I tried to upgrade my system from Ubuntu 14.04. My laptop froze for a few hours. Nor even the pointer did anything. So I switched off by pressing the power button for a few seconds. This uncompleted ...
0
votes
0answers
15 views

syncookies disabled despite setting in sysctl.conf

Using Ubuntu 14.04.4 with Unity desktop. I've tried setting net.ipv4.tcp_syncookies=1 in /etc/sysctl.conf, but after booting it is set to 0 (checked using cat /proc/net/ipv4/tcp_syncookies). What is ...
1
vote
1answer
39 views

Auto restart rc.local script on crash

I have rc.local loading a script on start up. Wondering if this service crashes is there a way to have it auto restart?
0
votes
1answer
54 views

Ubuntu service apparmor cannot start

ss@ss-System:~$ sudo service apparmor start [sudo] password for ss: * Starting AppArmor profiles Skipping profile in /etc/apparmor.d/disable: usr....
0
votes
1answer
654 views

Bluetooth on Ubuntu 16.04

I have installed Ubuntu 16.04 on my ASUS S200e laptop. Everything is working except the bluetooth - I cannot get my mouse connected. When I try to open Blueman, I get: "Bluez daemon not running" ...
0
votes
1answer
40 views

How to run the btsync service as the local user?

I just installed the new btsync package, per this blog post. All seems well, except I can't add any folders—the service is running under the newly-created btsync account. I need to find out how to run ...
0
votes
0answers
38 views

do-release-upgrade hangs/stalls on systemctl stop

I'm running a do-release-upgrade from wily to xenial. The progress stalled on the command systemctl stop mdadm.service and I was able to continue it by manually stopping the service (at least I ...
-2
votes
1answer
887 views

hostname.service is masked [closed]

I've searched around and can't seem to find a way to unmask hostname.service. I edited hosts and hostnames to include my own host and FQDN. I'm not sure if hostname.service ever worked in the first ...
0
votes
2answers
83 views

Configure Jenkins CSP for Ubuntu Service

I upgraded to v2.2 of Jenkins on my server and I want to relax the new Content Security Policy configuration. I can successfully run System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "") ...
0
votes
0answers
78 views

unbound not starting after reboot

I just installed unbound on a fresh installed Ubuntu16.04 VPS. To be sure I issued an enable (which actually is done automatically during install) sytemctl enable unbound After restarting the ...
1
vote
1answer
322 views

service command not working with tomcat7

I have an Ubuntu 16.04 fresh installation, where I have installed Tomcat7 using apt-get install, and I'm having some problems trying to interact with the service using the service command. I ...
0
votes
0answers
68 views

set up emby-server on ubuntu 14.04

i'd like to set up emby on my machine, i had just installed it like said in the following link: https://software.opensuse.org/download.html?project=home%3Aemby&package=emby-server which i found ...
0
votes
0answers
11 views

Primus uninstall still trying to contact bumbleed daemon

I've finally given up trying to sort this issue myself and have come seeking guidance. Originally I had bumblebee installed with the following packages(bumblee bumblebee-nvidia primus nvidia-352). I ...
3
votes
0answers
28 views

Apache2 doesn't start. Ubuntu 14.04

I've installed apache2, everything was fine. But after restart the system it doesn't start. When I open localhost in browser I get the error: ERR_CONNECTION_REFUSED. I tried to start it by sudo ...
4
votes
2answers
281 views

Problem with timedatectl and network time synchronisation in 16.04

I have a dual-boot machine with Windows and Xubuntu 16.04. Because of Windows, the hardware clock is set to local time, so I had to use timedatectl to make Xubuntu aware of that after the upgrade to ...
1
vote
0answers
139 views

Systemd Kernel Variables Error

At boot, I receive an error message [failed] failed to start apply Kernel variables. I have not used a Systemd distro until now so I'm not sure what I should be looking for. I ran this in terminal ...
0
votes
0answers
21 views

Service script not running

I have a shell script which is running fine if I start by this way sudo /etc/init.d/test. Suppose If I try with sudo service test start the service is not starting. For eg /etc/init.d/test start The ...
0
votes
0answers
22 views

Ubuntu install Deamon tools

How can install the new 16.04 using deamon tools. I tried but there is no iso to install. Can somebody help? thanks
3
votes
2answers
1k views

Failed to start saned.service: Unit saned.service is masked

I'm trying to set up a wireless scanning server. I'm following this guide https://help.ubuntu.com/community/SaneDaemonTutorial but I'm having issues at the time to run sudo service saned restart where ...