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
14 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
10 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
20 views

How to create custom service in ubuntu

I am new to Linux, and I'm using Ubuntu 15.10. I want to write a service (Daemon) that will periodically take backup of the databases. I've tried to write the service using start-stop-daemon and it ...
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
27 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
45 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
14 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
48 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
22 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
25 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
72 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
50 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
22 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
34 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
30 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
25 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
67 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
44 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
28 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
105 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
13 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
27 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
31 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
250 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
27 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
35 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
350 views

hostname.service is masked

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
65 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
63 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 ...
0
votes
1answer
204 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
42 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
8 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
23 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
207 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
97 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
19 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
882 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 ...
0
votes
0answers
373 views

How to disable avahi-daemon in Ubuntu 16.04 LTS?

How to disable avahi-daemon in Ubuntu 16.04 LTS? I have tried sudo sh -c "echo 'manual'>/etc/init/avahi-daemon.override" but seems it does not work. And how to disable cups-browsed? I have ...
0
votes
0answers
105 views

Extend timeout time on service

So I made a adblock proxy server using squid3. I had it working with a file with about 4000 advertising sites that it blocked. At start-up or restart of the squid service, it reads all the sites that ...
1
vote
0answers
45 views

Difference in output between init.d script and Service call for tomcat6

I've upgraded a 12.04 machine to 14.04 using do-release-upgrade. All went well, as usual, but this particular machine has a very strange issue afterwards; See the output for service tomcat6 status: ...
0
votes
0answers
151 views

X11VNC Systemd Service

I'm experiencing an issue with /etc/systemd/service/x11vnc.service: [Unit] Description=Start x11vnc at startup. Requires=gdm.service After=gdm.service [Service] Type=simple ExecStart=/usr/bin/...
0
votes
1answer
24 views

How to run an executable file (web app) 24/7 and restart automatically when it breaks down?

I have an executable file on a server which is a full-fledged standalone web application. When I login to a server via ssh and run the file, the website become visible in the internet. Obviously, ...
1
vote
1answer
39 views

Mongod service doesn't start with enableEncryption: true option in mongod.conf

According to «Configuration File Options» manual, the MongoDB security options have a boolean parameter enableEncryption. I paid attention that the service mongod of MongoDB 3.2.4 is failed to start ...
0
votes
1answer
563 views

Can't start MongoDB, mongod is always stop/waiting

I try to run MongoDB 3.2.4 on Ubuntu 14.04: sudo service mongod start And get the result: mongod start/running, process 67725 But when I check the status I get: mongod stop/waiting I tried to ...
0
votes
1answer
35 views

What is a right way to find Ubuntu fixing service in your area? [closed]

Linux is free. Awesome. But time is money. Not so awesome. I've spent weeks customizing Ubuntu (e.i. installing wi-fi drivers). Askubuntu is a great place to network if you are a DIY type of guy. The ...
0
votes
1answer
55 views

i need to write a bash script to check a service status and restart

i need to write a bash script to check a service status. I need to look in the command output; /etc/init.d/ipsec status The line "1 tunnels up" indicates the service is up. If the line is not part ...
0
votes
1answer
95 views

How to change the order of execution of services at startup?

I have some services in my init.d folder for e.g. hdfs, zookeeper, elasticsearch, hbase and so on. Now, I have added all those services to startup by doing the update-rc.d 'service' defaults command. ...
2
votes
1answer
35 views

How to make a daemon which checks if a program is running (at regular intervals) and starts it if it is not? [duplicate]

I am on Ubuntu GNOME 15.10 with GNOME 3.18, but I don't like the normal applications launcher so I have installed Docky, however often Docky suddenly closes and I am forced to manually restart it, so ...
1
vote
2answers
80 views

How to execute PHP code in Linux every 500 milliseconds?

I have an http server on Linux. I have some PHP code that stores variables into the cache using memcache and I would like to execute this code every 500 milliseconds whenever the server is running, ...