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)

5
votes
1answer
61 views
+100

How to make an app run as a daemon on Ubuntu when installed?

I have a Java app - although the answer here should be the same regardless of whether it is Java, Ruby, Python, etc. - that I would like to distribute in such a way that when devops folk go to install ...
0
votes
0answers
34 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
79 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
2answers
24 views

What does +-? mean in the output of service

I would like to know what does +, - and ? mean in the output of service --status-all. For example: [ + ] acpid [ - ] anacron [ - ] apparmor [ ? ] apport [ + ] atd
0
votes
0answers
16 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
1answer
20 views

bind9 starting with boot

How to add bind9 to start with Ubuntu boot? I search a lot and didn't find anything useful. Maybe something related to init.d, right?
0
votes
1answer
60 views

Using Upstart / init with PHP daemon nohup php daemon.php

Till now I had no real need to learn bash and init scripts as I need to at this point. I have created a custom Twitter app that is persistently, or constantly, connected to the API. It does tasks like ...
1
vote
0answers
23 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 ...
0
votes
0answers
25 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
1answer
26 views

Stopping a postgresql instance

For the sake of educational purposes I have two identical instances of postgresql running on my machine. I can easily stop the service of the instance that is running on port 5432 like this : sudo ...
0
votes
0answers
9 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
24 views

how do I diagnose why a process is starting?

I'm running an ubuntu box, mainly as a learning exercise, so I should probably begin by stating that I'm still very much at the "copying commands until something works" stage of unix knowledge. I ...
0
votes
1answer
26 views

Error while starting apache2 service

I get an error when I run this command sudo service apache2 start This is the error * Starting web server apache2 AH00558: apache2: Could not reliably ...
0
votes
1answer
265 views

Ubuntu 15.04 systemd vs upstart

Unlike the prior versions Ubuntu 15.04 now uses systemd instead of upstart. To start programs at boot I always created conf-files in /etc/init/. They would look like this: start on ...
2
votes
1answer
110 views

How to stop automatic freshclam execution

I have the latest version of freshclam and clamav installed, and in the past (when I had Ubuntu 14.10) it has only run freshclam automatically a few times a day, but has not been running all the time. ...
1
vote
2answers
22 views

find service using grep

I am trying to find specific service and I have question about this command: service --status-all | grep worker Why did service --status-all | grep ... not work?
0
votes
0answers
30 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. ...
1
vote
0answers
44 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 ...
0
votes
0answers
20 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
31 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
1answer
83 views

Ubuntu openvpn daemon

I've installed openvpn client in to my ubuntu I've downloaded my cerfification files and I was also able to set up client config file. When I start open vpn from terminal like so openvpn --config ...
1
vote
1answer
21 views

Event.d not there

Using ubuntu server 14.04.2 I'm trying to get the git daemon on my server it tells me to create an upstart script at /etc/event.d/local-git-daemon. However it seems there is no event.d in /etc. ...
1
vote
0answers
22 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 ...
2
votes
1answer
169 views

Start script in /etc/service (runit) is not working with daemon

I am facing an issue with a script I have kicked off through /etc/service and is using runit. My script at /etc/service/myApp/run looks like: #!/bin/bash cd /src forever -l forever.log -o out.log -e ...
3
votes
1answer
138 views

Permission denied (failed to create pid) when starting SphinxSearch

When I try to start the SphinxSearch service like this /etc/init.d/sphinxsearch start or this sudo /etc/init.d/sphinxsearch start I get the following error Starting sphinxsearch: Sphinx ...
0
votes
0answers
30 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
1answer
116 views

How to execute an script as daemon with nohup?

Supose I have a script "script1.sh" and I want to execute it as a daemon with nohup and &, and make it be "waiting" for a signal. How should I do that?
-2
votes
2answers
138 views

How to Run Dnscrypt-proxy in Vivid?

I updated to Ubuntu Vivid the other day, and now I am having problems. I cannot get dnscrypt-proxy to start (amongst other programs). I am guessing it has to do with the systemd switch. This is what ...
0
votes
1answer
86 views

Starting service 'ipsec' tries to run uninstalled OpenSwan instead of StrongSwan

I installed OpenSwan to setup VPN server. It was not enough for my requirements so I had to uninstall it. Later, I installed StrongSwan to handle IPsec VPN. Now all my StrongSwan configuration is ...
0
votes
1answer
178 views

Configure xvfb for Vivid (15.04) as a service using systemd

Vivid switched from upstart to systemd. I used to have xfvb configured to run as a service under updstart. That has now broken. Under upstart, I had /etc/init/xvfb.conf: description "Xvfb X ...
0
votes
1answer
125 views

service mysql stop does not work on Ubuntu 15.04

service mysql stop/start (mariadb-server) does nothing on freshly installed Ubuntu 15.04. service apache2 stop works. Also service mysql restart works (after killall mysqld). Any ideas why?
1
vote
2answers
85 views

`service` no longer gives useful output (except with status) in 15.04?

It used to be the case that service service-name reload|restart|start|stop - would display a nice : service-name start/running, process 17642 Now, while the new status output is really cool - I ...
0
votes
1answer
58 views

systemd stop service on package removal

I've made a *.deb with a service: [Unit] Description=Hello example service Wants=nginx [Service] Type=simple ExecStart=/usr/local/bin/hello TimeoutStopSec=15 Restart=always postinst script ...
0
votes
1answer
87 views

sshd: unrecognized service error

In my Ubuntu 12.04 box, my MaxStartups was like this earlier: grep MaxStartups /etc/ssh/sshd_config #MaxStartups 10:30:60 I increased it to 100 and below is the result now: grep MaxStartups ...
1
vote
1answer
318 views

Fail2ban fails to start after update?

I have been using fail2ban for a while on my Ubuntu server. Recently (after upgrading to ubuntu 15.04 I assume) fail2ban has been failing to start. Initially, this was because the port option had ...
5
votes
2answers
6k views

vivid - failed to connect to upstart: connection refused

Just updated via do-release-upgrade and now certain upstart jobs such as fail2ban and plexmediaserver will not start (have tried reinstalling) sudo service fail2ban start Job for fail2ban.service ...
0
votes
1answer
189 views

Start wildfly as service

I installed wildfly on an ubuntu on a EC2 VM. I connect to the server via SSH and start the server with: ./standalone.sh --server-config=standalone-full.xml This works fine until I terminate the ...
0
votes
1answer
315 views

List all services starting at boot

I'm looking for a way to get a list of all the services (/etc/init.d or upstart or systemd), which are supposed to be starting (or having been started at) boot. How do you get a list of all starting ...
0
votes
0answers
16 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
342 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
90 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
81 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
61 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 ...
1
vote
2answers
32 views

Ubuntu permission denied when running as a daemon

I have an Ubuntu staging server on AWS which runs a tiny Sinatra app using Thin webserver. The sinatra app runs some git clone commands when invoked and everything works great when I run rackup from ...
1
vote
1answer
85 views

Ubuntu equivalent to LaunchRocket

LaunchRocket looks like a pretty nice software for managing services on MacOS (source on github). Here is a screenshot of LaunchRocket You can easily stop and start services from this app. So here ...
0
votes
0answers
35 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 ...
1
vote
0answers
43 views

How to autostart an application on Touch device?

What if you want to distribute some daemons in ubuntu-click packages? What is the preferred way to start them on boot?
0
votes
0answers
75 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
1answer
24 views

How To Create PostgreSQL Service Manually?

For some reason I have to install an old PostgreSQL server, I found the deb file of it, http://community.openscg.com/se/postgresql/archive-packages.jsp and when I install they are reside on /opt. I ...
-1
votes
1answer
102 views

Preloads's Adaptive readahead daemon won't run on 14.04

thank you in advance. I'm using Ubuntu 14.04 LTS and for somereason i can't get Adaptive readahead daemon to run, when i try to run it from terminal i encounter: ** (process:7371): ERROR **: cannot ...