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)

3
votes
2answers
7k views

How do I start a service after the network is up?

In my case, squid is started before DHCP has written a new /etc/resolv.conf which results in odd errors (timeouts, 504 Gateway) when I try to load a page in the web browser. As I see it, the correct ...
2
votes
1answer
35 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 ...
7
votes
3answers
32k views

Enable/Disable Ubuntu Desktop environment on ubuntu-12.04.1-server-i386

I have installed ubuntu-12.04.1-server-i386 and on top of that i have installed Ubuntu desktop environment so that i can maintain server easily. Hear I totally understand that installing Desktop ...
0
votes
0answers
10 views

nethogs show program with no pid

Operation system: Ubuntu 14.04 Someone hacked my system, installed or utilized services like rpc, samba, nfs, rsync, etc. to record, sync, and download data from my system. Why I'm so sure about ...
3
votes
0answers
10 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 ...
1
vote
0answers
129 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
21 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
1answer
5k 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?
0
votes
0answers
12 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 ...
3
votes
3answers
10k 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 ...
0
votes
0answers
14 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
-1
votes
1answer
56 views

RedisLabs Enterprise Cluster stopping the service

I am running RedisLabs Enterprise Cluster in my Desktop and Laptop(both running Ubuntu Desktop 14.04.3 LTS). In my desktop - the RedisLabs Enterprise Cluster stops if i restart but in case of my ...
0
votes
0answers
137 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
53 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 ...
4
votes
1answer
820 views

Why does $ service --status-all output to STDERR instead of STDOUT?

This is very unintuitive. e.g. When a user tries to: # service --status-all | grep postgres This won't work... The only way to grep `service' is: # service --status-all 2>&1 | grep ...
1
vote
2answers
5k 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 ...
1
vote
0answers
32 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
56 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 ...
2
votes
2answers
1k 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 ...
0
votes
1answer
17 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, ...
111
votes
17answers
560k views

How to restart the networking service?

I tried to use sudo service networking restart and sudo /etc/init.d/network restart but they both crash the window manager and I can no longer use my keyboard for input into X. when I use the ...
1
vote
1answer
28 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 ...
121
votes
3answers
277k 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
2answers
584 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 ...
475
votes
7answers
569k views

How to enable or disable services?

I read about how to enable and disable services in Ubuntu and it seems that there are different possibilities to manage them. The first method I found is update-rc.d to add new services to startup, ...
0
votes
1answer
9k 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
1answer
90 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
27 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
3k views

sshd: unrecognized service error

In my Ubuntu 12.04 box, my MaxStartups was like this earlier: grep MaxStartups /etc/ssh/sshd_config #MaxStartups 10:30:60 I increased it to 100 and below is the result now: grep MaxStartups ...
0
votes
1answer
61 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. ...
12
votes
1answer
34k views

Running services

Is there a way to get precise list of services with "is running"/"is not running" statuses specified. service --status-all outputs more than 30 ? services. Why is that output is so not ...
0
votes
1answer
30 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 ...
1
vote
2answers
47 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, ...
1
vote
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 ...
4
votes
1answer
34 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 ...
0
votes
1answer
128 views

I can't unmask a service on Kubuntu Wily 15.10

I'm using Kubuntu Wily 15.10 (fully upgraded). It already had installed the cryptsetup package. I'm trying to start the cryptdisks service but I get this: $ sudo service cryptdisks start Failed to ...
1
vote
2answers
53 views

Moving from Amazon Linun to ubuntu, now my init script isn't working.

We are in the testing phase of moving from amazon linux to ubuntu for some of our servers. We have a mono app that is run as a service and on the amazon linux box it ran fine. I know that some ...
0
votes
0answers
122 views

Active: active (exited) Service plexconnect starts exited

I have installed a python script called "plexconnect" which is basicly a script to trick my apple tv3 in to looking elsewhere for its trailers. Source: https://github.com/iBaa/PlexConnect Then i made ...
0
votes
0answers
33 views

oracle xe start service

I can't start the oracle-xe service but get the error message below. How can I fix it? sudo service oracle-xe start Starting Oracle Database 11g Express Edition instance. Failed to start Oracle Net ...
1
vote
1answer
131 views

Run MongoDB service as daemon of SystemD on Ubuntu 15.10

MongoDB just supports versions of Ubuntu Long Term Support (LTS). The last is Ubuntu 14.04 LTS, where the init process is managed by Upstart proprietary of Canonical. However I'm using Ubuntu 15.10 ...
17
votes
3answers
46k views

How can I disable avahi-daemon?

How can I disable avahi-daemon and can you explain to me how it runs if it appears as a service but it itsn't in rcN.d? You can stop reading here. In fact, please do unless you want to TEACH a noob ...
0
votes
0answers
53 views

fso-deviced daemon not coming up. [ubuntu 14.04]

This issue came when I was trying to install gstreamer* libs. I am not sure whether this daemon was already installed in my system. I tried to reinstall it manually but it failed again. I am getting ...
21
votes
2answers
26k 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 ...
21
votes
5answers
45k views

How to correctly add a custom daemon to init.d?

I've got a 3-rd party proprietary application server daemon which can be started and stopped by couple of command lines. I need this daemon to start when the system starts up and correctly stopped on ...
0
votes
1answer
25 views

How to setup ds4drv as DAEMON on Ubuntu?

I have a Dualshock 4 controller, Kubuntu 15.10, and ds4drv installed. Everything is working fine, but I would like that ds4drv works as a daemon. How can be done?
1
vote
1answer
713 views

Ubuntu 14.04. kde-services on Dolphin

Although I do not use Dolphin as the default file manager for Ubuntu, in fact I use it a lot. I find it is very useful and practical. I was thinking about enhancing its functionalities and I found ...
0
votes
1answer
21 views

Unable to disable “mysq” service for autoboot

I'm trying to disable a service: $ sudo update-rc.d mysql disable update-rc.d: warning: start runlevel arguments (none) do not match mysql Default-Start values (2 3 4 5) update-rc.d: warning: stop ...
4
votes
1answer
5k 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
0answers
45 views

transmission-daemon missing all previous torrents

Ubuntu 14.04.4 LTS, transmission 2.92-0ubuntu0.15.04.1 Just started up an updated version of transmission, and replaced my old config file. Now all my old seeding torrents are gone. All the torrent ...
0
votes
0answers
77 views

Unable to disable a service in Ubuntu 15.10

I'm trying to disable apache2 $ sudo systemctl is-enabled apache2.service apache2.service is not a native service, redirecting to systemd-sysv-install Executing /lib/systemd/systemd-sysv-install ...