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
2answers
15 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: ...
5
votes
1answer
91 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....
0
votes
0answers
18 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 ...
132
votes
3answers
306k 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 ...
1
vote
1answer
461 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 ...
1
vote
1answer
21 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
25 views

How do I stop BitTorrent Sync (Resilio) service?

Gui in http://localhost:8888/gui/ can only Pause synchronizing.
3
votes
2answers
6k views

transmission-daemon: error loading working config-file. User priveliges?

Transmission-daemon has worked perfectly on a small headless server for a long time. However, it currently gives me the following error: transmission-daemon Error loading config file -- exiting. (...
1
vote
0answers
19 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
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?
34
votes
6answers
32k views

What is the difference between “service restart” and “service reload”

I'm trying to understand the difference between service restart [someservice] and service reload [someservice]. I understand that "restart" restarts the service whereas "reload" reloads the ...
0
votes
0answers
20 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
48 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.
3
votes
3answers
11k 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 re-...
3
votes
1answer
95 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
184 views

Install Windows service on Ubuntu

I've a Windows Service installer created in Windows 7 using C#. This service will only work on net.pipe not in http. I want this service to be installed in Ubuntu and running. Could anybody guide me ...
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 ...
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....
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 ...
1
vote
2answers
6k 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 start/...
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 &...
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 ...
7
votes
3answers
35k 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 ...
2
votes
0answers
64 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 ...
134
votes
9answers
612k views

How do you restart Apache?

I switched from SLES to Ubuntu and now I want to restart my local server. In SLES I used : rcapache2 restart but this somehow seems not to work in Ubuntu. :( How do i restart my Apache?
0
votes
1answer
20 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
70 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.
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 ...
1
vote
0answers
30 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
109 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 ...
1
vote
1answer
32 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 ...
0
votes
0answers
59 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=...
3
votes
1answer
235 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/...
12
votes
4answers
19k views

How do I restart dnsmasq?

I can't figure out how to restart dnsmasq. service dnsmasq restart dnsmasq: unrecognized service SOLUTION Restart the network manager (his parent) sudo service network-manager restart
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 ...
4
votes
5answers
18k views

How do I change the user Transmission runs under?

I installed Transmission through a PPA and the daemon starts on boot. I want to change the user that runs the daemon because I want the downloaded files to be under the same user as my XBMC ...
0
votes
1answer
46 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 ...
3
votes
1answer
2k 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
2answers
2k views

Which init daemon starts cups?

I have a fresh installation of Ubuntu 14.04, and have not touched anything. Cups is running, as reported by both ps and netstat. There are /etc/init/cups.conf and /etc/init.d/cups, both of them seem ...
0
votes
0answers
44 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
75 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
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
3answers
54 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
488 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 ...
13
votes
2answers
36k views

How to start, stop and restart rtorrent?

I just installed rtorrent on my Ubuntu Server 12.04 LTE machine via apt-get. How do I start | stop | restart the service?
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
50 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....