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
0answers
69 views

How to auto restart services when you get security updates?

That's related to the heartbleed bug. While my server (12.04 LTS) was configured to perform unattended install of all security updates, it seems that nginx was not restarted so it was still affected ...
3
votes
0answers
104 views

How to have packages' rc config files deleted on package removal?

Yesterday I noticed the following when I started removing several apps I was not going to use. The file in the rc folders (/etc/rc0.d , /etc/rc1.d.... /etc/rc6.d) associated with the deleted app were ...
3
votes
0answers
59 views

How to log processes in daemon-mode?

I would like to save the standard output of the program motion in a text file. If I don't use motion in daemon-mode I would simply do it by: motion > log.txt But what is the equivalent when I ...
2
votes
0answers
512 views

fglrx and the broken atieventsd daemon (+maybe improve your battery life for AMD card owners)

I've been playing about with these things lately, and discovered a couple of things about the fglrx driver on Ubuntu that I thought worth sharing in the context of a broader question. The atieventsd ...
2
votes
0answers
225 views

My postinst script launches a service successfully but apt-get apparently shuts it down. Why?

I have this package with a postinst script that launches a service as its last step. Something like: #!/bin/sh set -e . /usr/share/debconf/confmodule [...] case "$1" in configure) [...] ...
2
votes
0answers
312 views

Should I disable avahi-daemon?

Every time I connect my computer to the network, I get a long list of network printers which I cannot use. In this page (see comments), someone suggested disabling avahi-daemon. I would do it if I ...
2
votes
0answers
194 views

stop emacs server being killed on logout

I'd like to run an emacs server in the background and have it persist after logout. I do not want to start it a system service since it's not a system service. A more practical reason is that I'm not ...
2
votes
0answers
298 views

declaring dependencies in upstart

It seems as if the accepted way to specify a dependency of service A on service B in upstart is to work in the reverse dependency direction: give service B a start on starting A stanza. I'd like to ...
2
votes
0answers
316 views

Quickly stop all network services except sshd (or boot with only sshd running)

I have an Ubuntu Server 12.04 box acting as a home file server. At times I would like to be able to brings down all my normal network services (nfs-kernel-server and friends, netatalk, nmbd, smbd, ...
2
votes
0answers
107 views

VDR service blocks standby

I have a problem with 12.04. The standby function works only when I stop the vdr service with sudo service vdr stop. Is there a possibility to solve the problem?
1
vote
0answers
31 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: ...
1
vote
0answers
26 views

Port is open but service is stopped

I have interesting statstistics on open ports on ubuntu. I scan my server from outside with nmap And I see that 110/tcp open pop3 And many other ports are also open But on the server ...
1
vote
0answers
95 views

Can't start rabbitmq-server

While trying to start the rabbitmq-server start, I'm getting an error. I did some research and found that this issue could be because of permissions. So I tried the "sudo service rabbitmq-server ...
1
vote
0answers
25 views

why would a daemon configure a port, then the port is not usable?

Ubuntu 12.04 on an AMD64 Fujitsu industrial PC. Ports are on Shentek PCI cards, the "manager" daemon insmods the xr17v35x driver (using the system call with the command in a buffer), then starts the ...
1
vote
0answers
556 views

Running service spacenavd start not same as /etc/init.d/spacenavd start

I have an application which makes use of a 3dconnexion space mouse. It works fine when using the spacenavd daemon however I'm having issues getting the daemon to run at boot or as a service. $ sudo ...
1
vote
0answers
31 views

Prevent service from starting manually when dependent services are down

Suppose I have two services db and app (which needs db to be up and running before it starts). They are starting correctly on startup and when I do sudo service db stop it stops both db and app. But ...
1
vote
0answers
134 views

Given a user, how to control which services to disable after starting a graphical session?

I am not familiar with upstart, yet. When I start KDE with my own account upstart starts a lot of services as far as I understand. But I have some other users that I let them use openbox because I ...
1
vote
0answers
44 views

Ubuntu server different kind of services

I'm starting to learn more about servers and I was thinking if (and how) I can run multiple services on my Ubuntu Server. For example: I'm starting to develop a system with Django (Python) and I also ...
1
vote
0answers
88 views

Can cpulimit run a continuous background check?

I am suffering from occasional desktop freezes and am still investigating the cause. (Links forthcoming.) In the meantime I came across the following suggestion to cpulimit the unity-panel-service, ...
1
vote
0answers
68 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 ...
1
vote
0answers
2k views

How to restart network-manager without root password

My wireless is flaky so I'd like to be able to restart network-manager with a script WITHOUT having to type the root password. I tried making a c program that does this: setuid(0); system("service ...
1
vote
0answers
192 views

Starting sphinxsearch

I've successfully installed sphinxsearch following the documentation here: http://sphinxsearch.com/docs/current.html When I try running the command sudo service sphinxsearch start It returns the ...
1
vote
0answers
140 views

How to do off-screen render with OpenGL in Ubuntu with XServer?

I have an application that uses OpenGL 4.2 to do off-screen render [the result goes to a video in my case]. I need to run it on Ubuntu 13.10 Server. I don't need (and don't want) to have the actual ...
1
vote
0answers
326 views

UPSTART services all hang when stopping (stop/waiting)

I am using Ubuntu 13.10 After an IPL, there are many run once services that hang, they are all in STOP/WAITING status. Also, if I try to stop any normal service like apache2, mysql, vsftp I get the ...
1
vote
0answers
405 views

I haven't wireless service in ubuntu 12.04

my wireless is desabled in ubuntu and i can't to connect to wireless vahid@kharazi:~$ rfkill list all 1: sony-wifi: Wireless LAN Soft blocked: no Hard blocked: no 2: sony-bluetooth: ...
1
vote
0answers
600 views

/var/log/cups keeps increasing while the cups service is stopped

I want to stop CUPS service on my 12.04 ubuntu: sudo service cups stop it's stopped. I check it's status by : chkconfig it's off but /var/log/cups size is still increasing by a large amount ...
1
vote
0answers
920 views

clamd PING give ERROR: initgroups() failed?

My ubuntu version is 12.04. I have installed clamav as root user using the below commands. apt-get install clamav apt-get install clamav-daemon But when I use the below command clamd PING It ...
0
votes
0answers
7 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
4 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 ...
0
votes
0answers
10 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
0answers
18 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 ...
0
votes
0answers
30 views

Why start-stop-demon doesn't signal property that daemon has started/stopped

Here's a part of the daemon script for BtSync at /etc/init.d/btsync: do_start() { start-stop-daemon --start --verbose --oknodo --background --user $CHUID --user $CHUID --pidfile $PIDFILE --exec ...
0
votes
0answers
69 views

Why I can't enable custom systemd service to start uWSGI?

I created a Django project with virtualenv. The site will be deployed with nginx and uwsgi. I want to enable uwsgi as systemd service. I've created this: [Unit] ...
0
votes
0answers
217 views

Odoo (OpenERP) start-stop-daemon script

I installed odoo and try manual start openerp-server. All ok. My next step it's try to add odoo to auto start. For this I use this script: #!/bin/sh ### BEGIN INIT INFO # Provides: ...
0
votes
0answers
22 views

How to start services only after BTRFS filesystem has been mounted?

I've been trying to make some services only start after a BTRFS system gets mounted, with no success. I have the following in my service start/stop script: # Required-Start: $local_fs $remote_fs ...
0
votes
0answers
40 views

Using “service” to stop Postgresql service doesn't seem to work

I've been using an Ubuntu system for quite some time working on an application (well two applications). The application uses Postgresql 9.1 in production, so that's what I use, but 9.3 and 9.4 are ...
0
votes
0answers
10 views

Blacklist packages that listen on a public interface after install

When I install packages I don't go through every package and its dependency by hand and check if it installs a daemon which listens on a public interface. Obviously I want to avoid this and would like ...
0
votes
0answers
41 views

Adding new Service to boot record doesn't work

I want to add postgresql as a new service to my boot records, which I normally do by doing this: sudo update-rc.d postgresql defaults However, when I then restart it still doesn't start at boot. ...
0
votes
0answers
29 views

Samba's NMBD and SMBD services dont work after reboot

I finished setting up my samba share between a linux system and a windows server. It worked fine until i rebooted. After it came back up i tried to reach the shared folder it gave out a "Failed to ...
0
votes
0answers
49 views

live555ProxyServer as daemon service

I would like to make live555ProxyServer as a daemon service which would start each time my pc reboots. How do I properly implement start and stop in init.d script file? This is what I have right now ...
0
votes
0answers
37 views

Which super-server daemon is used by Ubuntu 12.04 and 14.04

Which super-server daemon is used by Ubuntu 12.04 and 14.04? inetd or xinetd or any other? How to find this and how to use a different super-server daemon on a security perspective?
0
votes
0answers
18 views

Connection to Courier-Imap only possible with active user login

I am using Xubuntu as home-server with courier-imap, postfix and fetchmail. Remote connections to imap time out until I open a ssh session. Also mails are delivered to /var/spool/mail instead of ...
0
votes
0answers
413 views

System D services Disabled on Boot list Ubuntu 14.10

I'm still a noob in many ways, but I have been running a Ubuntu home server in various forms for the last two years. Mostly just for my own education, so experimentation and exploration usually guide ...
0
votes
0answers
107 views

Ubuntu 14.04 Kiosk, start services before chrome kiosk starts

I am currently building a Ubuntu kiosk, using this guide. The guide itself is great, but I am trying to start other services before chrome is executed in kiosk mode. I currently have: ...
0
votes
0answers
112 views

stop couchdb daemon

I have Apache CouchDB installed on Ubuntu 14.04 x64, but I'm not able to stop it. I tried all of these couchdb -d couchdb -k but none works. What I mean is that, when I run the above commands and ...
0
votes
0answers
70 views

MySQL service status shown as not running with --status-all

I'm having a problem with my mysql server which does not seem to work properly. On Ubuntu 14.10 I run service --status-all and get [ - ] mysql However, after service mysql status I receive mysql ...
0
votes
0answers
43 views

apt/services running in the background

Why do developers run apts in the background when they are not needed. This is really a memory hog, I like to call on my apts when I need them. I am running lubuntu 14. How do I keep from running ...
0
votes
0answers
109 views

supervisor servce doesn't want to autostart

I installed supervisor: sudo apt-get install -y supervisor When I restart the system it doesn't start. So I start it manually: $ sudo service supervisor start Starting supervisor: supervisord. ...
0
votes
0answers
112 views

How to check service logs

I would like to know when/who start/stop a service in linux? Is there any log to show those information?
0
votes
0answers
144 views

NetworkError: 500 Internal Server Error

When I am trying to run a java services through php file(xyz), it is throwing this error (Firebug) NetworkError: 500 Internal Server Error http://127.0.0.1/dev/en/abc/xyz ...