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)

1
vote
0answers
18 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
1answer
3k views

Start/Stop Services in Linux Ubuntu 13.10

I just installed PRTG Network Monitor on Linux Ubuntu 13.10 and I can't get it to start. How can I start/stop services in linux? like how you do in windows?
0
votes
0answers
9 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 ...
3
votes
3answers
7k views

Can't start, stop, or interface with SSH service

Having really bizarre behavior with ssh. I have the ssh-server running fine, configured ufw (firewall) fine as well. However, it seems I can't manage ssh as a service or through /etc/init.d/ssh. I ...
0
votes
1answer
14 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
8 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 ...
1
vote
1answer
320 views

Cannot find squid3 service

The service for squid3 does not exist in /etc/init.d/. If I try to stop or start squid3, it does not work. I tried purging squid3 and installing again, but to no avail.
80
votes
3answers
174k views

How can I configure a service to run at startup

I have a daemon that runs fin if I start it manually with the service command: ricardo@ricardo-laptop:~$ sudo service minidlna start * Starting minidlna minidlna ...
0
votes
0answers
20 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
16 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 ...
2
votes
1answer
42 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. ...
0
votes
1answer
114 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 ...
9
votes
2answers
17k views

How to supervise and automatically restart a process?

I want to have a process which will be restarted if it crashes. I googled a bit and found that an easy solution is to use daemontools. I didn't understand how to configure it. What is the easiest ...
134
votes
21answers
99k views
6
votes
4answers
5k views

How to run a program as a service (silent)?

I have a python based server which i start from the terminal. This particular instance of the terminal then gives control to the program, and the program uses it as a kind of logging window, until its ...
1
vote
2answers
19 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
17 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
1answer
6k views

PlexMediaServer Not running

I had PlexMediaServer (PMS from here on) installed on my Ubuntu Machine, recently i switched from sshfs to NFS for my network shares, PMS managed to stream perfectly from my network shares when i ...
1
vote
0answers
21 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 ...
127
votes
21answers
118k views

Tips to extend battery life for laptops and notebooks

This question is present as a matter of historical interest. While you are encouraged to help maintain its answers, please understand that "big list" questions are not generally allowed on Ask ...
4
votes
1answer
18k views

TeamViewer does not start automatically, how do I make sure it does?

After installing TeamViewer x86 on Ubuntu, it will not start automatically on boot, even when telling it to do so via the application settings ("Start TeamViewer with system"). How do I make sure ...
0
votes
0answers
16 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 ...
12
votes
2answers
11k views

How do I set up a service?

I have a script that I would like to run as a service on my Ubuntu Server 11.04 headless box. That is, I want to have the correct files under /etc/init.d/ and to be able to control it via the service ...
0
votes
0answers
18 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 ...
2
votes
1answer
114 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
368 views

Is init.d “safe” enough to use or should i use `runit` or `daemontools` on a server

I am looking to deploy my application on a server on which I would have no access in the future. I would like to have an indication of start-up errors generated by my program in particular and the ...
0
votes
1answer
55 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
16 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. ...
0
votes
1answer
59 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 ...
-3
votes
2answers
93 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 ...
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 ...
1
vote
1answer
225 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 ...
2
votes
3answers
2k views

Interact with Minecraft Server

I have a Minecraft sever running that gets started automatically using the init.d scripts. Now I want to be able to give myself admin privileges but I need to send commands to the server. How can I ...
3
votes
1answer
70 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 ...
1
vote
2answers
29 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 ...
16
votes
4answers
35k views

How to make a jar file run on startup & and when you log out?

I have no idea where to start looking. I've been reading about daemons and didn't understand the concept. More details : I've been writing a crawler which never stops and crawlers over RSS in the ...
4
votes
4answers
9k views

How do I change the user Transmission runs under?

I installed Transmission through a PPA and the daemon starts on boot. I want to change the user that runs the daemon because I want the downloaded files to be under the same user as my XBMC ...
2
votes
2answers
4k views

Change IP address which is given by Tor using the terminal

Is there a way to change the IP address which is given by Tor from the terminal? I have the Tor service, and I want to change the IP address which Tor gives me from the terminal. Or in other words: ...
5
votes
2answers
3k 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
0answers
25 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
5answers
3k views

Another MySQL daemon is already running?

root@jose-desktop:~# sudo /opt/lampp/lampp start Starting XAMPP for Linux 1.7.7... XAMPP: Starting Apache... XAMPP: Another MySQL daemon is already running. XAMPP: Starting ProFTPD... XAMPP for Linux ...
0
votes
1answer
73 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?
0
votes
1answer
101 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 ...
2
votes
2answers
5k views

How do I restart dnsmasq?

I can't figure out how to restart dnsmasq. service dnsmasq restart dnsmasq: unrecognized service SOLUTION Restart network manager service network-manager restart
0
votes
1answer
119 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
1answer
114 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?
8
votes
3answers
4k views

Upstart tracking wrong PID of process - not respawning

I originally asked this question on StackOverflow. Then realised that this is probably a better place. I have bluepill setup to monitor my delayed_job processes. (Ruby On Rails application) Using ...
30
votes
4answers
32k views

Network service discovery disabled: What does this mean for me?

Every time at boot I get a message “Network service discovery disabled. Your current network has a .local domain, which is not recommended and incompatible with the Avahi network service discovery. ...
0
votes
1answer
43 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 ...
4
votes
2answers
13k views

How do I stop transmission-daemon?

How do I stop transmission-daemon? I've ran sudo /etc/init.d/transmission-daemon stop and after a while I get confirmation that it completed [ OK ]: greg@VManage:~$ sudo ...