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
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 ...
3
votes
0answers
29 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
76 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
118 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
68 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
22 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 ...
2
votes
0answers
57 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
294 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
677 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
249 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
349 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
218 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
352 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
351 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
116 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
112 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
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: ...
1
vote
0answers
36 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
74 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
41 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
20 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
40 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
120 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
145 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 ...
1
vote
0answers
189 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
55 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
316 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
31 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
547 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
127 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
45 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
176 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
58 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
118 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
148 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
204 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
460 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
664 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
9 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 ...
0
votes
0answers
19 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
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 ...
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
0
votes
0answers
134 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
51 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 ...
0
votes
0answers
51 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 ...
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 ...
0
votes
0answers
118 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 ...