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
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 ...
3
votes
0answers
35 views

apt/aptitude: predict which daemons are going to be restarted

I'm looking for a way to predict before upgrading, which daemons are going to get a restart. I have a few updates lined up that upgrade some core libraries and daemons and it makes sense to me that if ...
3
votes
0answers
77 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
120 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
70 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
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 ...
2
votes
0answers
25 views

Stop service during boot

Ok I did a stupid thing. I created a script file which is suppose to change permission on a folder during boot up. Instead the script is changing permissions on the root path ("/") and all sub-folders....
2
votes
0answers
63 views

Can't get slanger to start as an Upstart service

I have created the file /etc/init/slanger.conf and I'm trying to get it to start as a service. The following are the contents of the file start on started networking and runlevel [2345] stop on ...
2
votes
0answers
319 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 ...
2
votes
0answers
728 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
260 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
367 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
234 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
374 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
352 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
120 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
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 ...
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 ...
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
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 ...
1
vote
0answers
138 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 ...
1
vote
0answers
51 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: ...
1
vote
0answers
57 views

Is “oneconf-service” meant to be running?

I left my computer for a little while, and when I came back it told me that there was an internal error with oneconf-service, and though it (the process) is gone now, in the processes list in the ...
1
vote
0answers
507 views

Bluez 5.28 - 5.37 “Not enough free handles to register service” issue with GATT (gatt_example plugin) services

I have tried to run gatt_example plugin from Bluez package in Ubuntu environment (14.04 LTS and 15.10). For that I have rebuild from source 5.37 (Ubuntu 14.04) and 5.35 (Ubuntu 15.10) with: $ ./...
1
vote
0answers
137 views

How to run a golang restful api as service in ubuntu server

I need to run golang restful server that build using gin framework and mongodb as service in my ubuntu server.how can do this? (every time i run the go script i need to this also gvm use go1.4)
1
vote
0answers
732 views

force pam to return success

I want to be able to login (without systemd-user-sessions.service running, is it possible?). I masked the systemd-user-sessions.service, rebooted, but PAM wont let me in (I can login in tty1 though): ...
1
vote
0answers
53 views

How to check if a service was started by upstart or sysvinit?

For some services (ex: bluetooth) I have entries in both /etc/init.d/ and in /etc/init/ directory. How do I know how this service is started ? By sysvinit or upstart ? I am using Ubuntu 14.04.
1
vote
0answers
21 views

Change the way a service starts

I have the Solr service running currently. I wish to run Solr Cloud. According to this article, I need to execute the command: $ bin/solr -e cloud I know how to stop the service and how to start ...
1
vote
0answers
45 views

restarting custom kiosk service with cronjob

I have a google chrome kiosk set on top of Ubuntu Server 14.04.3. What I want to do is to restart the kiosk every day at midnight. As a test I set a cronjob to restart the kiosk every minute in order ...
1
vote
0answers
130 views

“is not running” and “stop/waiting” - what's the difference?

Why does these 2 return different output, although they're both services? $ sudo service cassandra status * Cassandra is not running $ sudo service mongod status mongod stop/waiting $ service --...
1
vote
0answers
160 views

Change init script sequence number with update-rc.d

I've just installed apache2 in a LUbuntu 15.04 distribution using the command apt-get install apache2. By default the service is configured to start with a sequence number of 2: ls -l /etc/rc?.d/*...
1
vote
0answers
70 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
389 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 start"...
1
vote
0answers
32 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
686 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 ...
1
vote
0answers
136 views

list all services

There are two ways you could do this service --status-all. The other way is to do initctl list. I would like to know the difference. some services like mysql do not show up in initctl list, and some ...
1
vote
0answers
48 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
188 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
61 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
125 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
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 ...
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
223 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
485 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
408 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
676 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
1k 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
19 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 ...
0
votes
0answers
26 views

How do I stop BitTorrent Sync (Resilio) service?

Gui in http://localhost:8888/gui/ can only Pause synchronizing.
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 ...