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
23 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
31 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
119 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
43 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
310 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
711 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
255 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
361 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
230 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
369 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
119 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
21 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
87 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
45 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
47 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
424 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
126 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
658 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
46 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
43 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
128 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
157 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
66 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
369 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
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
629 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
131 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
47 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
184 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
60 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
120 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
166 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
213 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
477 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
672 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
25 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
67 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 ...
0
votes
0answers
47 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=...
0
votes
0answers
22 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 ...
0
votes
0answers
29 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
25 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 ...