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)

0
votes
0answers
20 views

Can't attach root screen

I'm writing some scripts to automate running a minecraft server but I'm having trouble with screen. I'm running the server jar in a screen from a service but once I'm logged in I cannot reattach the ...
1
vote
1answer
21 views

Running a python scrip using startup

I am trying to get a simple python code that I have to run in the background at startup, and stay running. The best option that I have found so far is to use Upstart. I wrote the following .conf file ...
27
votes
5answers
31k views

Command to list services that start on startup?

Is there a command to list services that run on startup? I imagine it would involve parsing /etc/init.d/, and the various /etc/rc.* directories.
0
votes
0answers
32 views

Start hostapd service on boot

How to start hostsapd service every time my compute starts I have Ubuntu Server 13.10 and kernel 3.11 Update 1 When I tried sudo update-rc.d hostapd defaults I got the following System ...
0
votes
1answer
22 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
1
vote
1answer
49 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: ...
0
votes
0answers
9 views

14.04 - smartmontools daemon failing to start, possible syntax error in smartd.conf?

I'm trying to get daily s.m.a.r.t. checks and emails going on a file server, but every time I try to restart the smartmontools service it fails. Sample line from my smartd.conf, mostly copied ...
9
votes
6answers
7k views

What is the difference between “service restart” and “service reload”

I'm trying to understand the difference between service restart [someservice] and service reload [someservice]. I understand that "restart" restarts the service whereas "reload" reloads the ...
1
vote
0answers
22 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.
1
vote
1answer
4k 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 ...
3
votes
3answers
4k 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 ...
1
vote
0answers
17 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 ...
0
votes
0answers
23 views

Do write permissions for my running daemons change if I log out?

I have the following issue. I'm running a daemon (darkcoind) which writes everything it needs to a directory under my $HOME path in ~/.darkcoin. As long as I'm logged in, everything works fine and I ...
1
vote
0answers
30 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 ...
10
votes
4answers
13k views

How to successfully restart a network without reboot over SSH?

In Ubuntu 14.04 neither sudo service networking restart nor sudo /etc/init.d/networking restart do anything any more. They also both exit with code 1. Something has obviously changed (or half changed) ...
0
votes
2answers
3k views

Problem configuring dhcp server: Job failed to start

I m trying to configure dhcp server in ubtuntu onto my virtual box and connecting other virtual instance of ubuntu to this dhcp sever i have installed dhcp server using sudo apt-get isc-dhcp-server ...
1
vote
1answer
25 views

What is the right way to restart dependent services while package installation?

I am creating a configuration package, and would like to stop and restart services whose configuration is affected. Right now I am using the service [stop|restart] in {pre,post}{inst,rm} way. I read ...
247
votes
7answers
264k views

How to enable or disable services?

I read about how to enable and disable services in Ubuntu and it seems that there are different possibilities to manage them. The first method I found is update-rc.d to add new services to startup, ...
1
vote
2answers
32 views

Daemonize process with autostart

I have simple script written in Ruby. I'd like to run as a background task (daemon process or service). What is more want to have control over it so that I can start and stop it. It will be perfect ...
0
votes
0answers
7 views

What does “?” mean in update-rc.d? [duplicate]

I am trying to install a script using update-rc.d. # update-rc.d foo defaults Then I check. # service --status-all ... [ ? ] foo ... What does the question mark mean and how to fix it? The ...
1
vote
1answer
20 views

start-stop-daemon keeps editing my shebang making it impossible to run

start-stop-daemon --name flaskserver --start --chuid root --exec /root/worker/start.sh start.sh clearly has this line #!/usr/bin but after I run above, it results in !/usr/bin and of course it will ...
0
votes
1answer
61 views

Stop a service from starting when it is disabled in the rc.d

I am running a minimal Ubuntu 13.04 on a BeagleBone. I try to disable udhcpd permanently, but I do not want to remove it. I want to be able to enable it when/if I need it. I have removed it from the ...
2
votes
1answer
22 views

Upstart does not satisfy resources usage requirements set by “limit” stanza

I am experiencing problems with Upstart. I am trying to start the transmission-daemon (a BitTorrent client) with a limit on the maximum resident set size (rss). This is the ...
0
votes
0answers
11 views

Is it safe removing oneconf?

I use Xubuntu, but in this moment I have only 1 GB RAM and the system is very slow, so I started to remove services and tasks that I don't need. I found that 'oneconf' use 14 MB RAM, that is too much ...
-1
votes
1answer
29 views

DHCP3-server not working correctly

I installed dhcpe-server with apt-get install dhcp3-server, and I want to configure it on terminal. When i type dhcp i just see these : dhclient dhclient-script dhcpd dhcpx I tried to start its ...
0
votes
0answers
17 views

Dnsmasq does not start on OS boot

I tried: $ update-rc.d dnsmasq defaults System start/stop links for /etc/init.d/dnsmasq already exist. Status: $ service --status-all | grep dnsmasq [ ? ] apport [ ? ] console-setup [ ? ] ...
0
votes
1answer
21 views

How to list out all the user created daemon processes

Is there any command which list out all the Daemon processes created by users to perform some tasks. I have created various daemon processes and I want to kill it manually by checking its pid how can ...
0
votes
1answer
21 views

How do I configure smuxi-server to run as a normal service?

I installed the smuxi-engine package on my Ubuntu 14.04 server which contains the smuxi-server binary. But I do not see instructions anywhere on configuring it to run as a service. Is there a way to ...
0
votes
0answers
42 views

How to connect to MS exchange server 2010 from evolution with a multiuser account

I have latest evolution client, which works well with my private mail and is running through MS exchange 2010. I have configured it via Exchange Web Services. I Can receive and send without problems. ...
0
votes
0answers
34 views

adobe flashplugin-installer keeps sending error message at startup (kde daemon on kubuntu 14.04)

I have the adobe flashplugin installed (grmmmbl...) but kde daemon keep sending this error message at session startup : Saying it cannot find the flashplugin installer while i do not want it (and ...
1
vote
2answers
49 views

How do I check services requiring a restart (of services, not the machine) by installing updates to other packages

If I run sudo apt-get upgrade then I get shown a list of packages and if any of these are services, they may need to be restarted (which is done automatically when installing the updates). How can I ...
6
votes
6answers
31k views

GConf Error: No D-BUS daemon running?! How to reinstall or fix?

After installing Konquerer and restarting my laptop i got the following error while trying to open, edit or access files as root from within Terminal (which is existencial for me). ...
0
votes
1answer
45 views

How can I stop YaCy from starting when my machine starts?

I have installed the YaCy P2P search engine following these instructions (adding the YaCy repo to my sources and installing from there): http://www.yacy-websuche.de/wiki/index.php/En:DebianInstall ...
0
votes
0answers
13 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 ...
0
votes
0answers
13 views

Services are not registered but running in the background

I have OpenStack installed using DevStack on Ubuntu Server 12.04. I want manually start/stop OpenStack's services like nova and cinder etc. Here is the question where I asked how do I start/stop ...
13
votes
3answers
20k 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 ...
3
votes
1answer
1k views

How to check if Openfire is running?

I know that Openfire 3.7.1 is installed because when i run; apt-cache policy openfire That confirms it. But when I try; /etc/init.d/openfire start The line resets like a successful command. If I ...
0
votes
0answers
34 views

All traffic is passed through OpenVPN although not requested

I have a bash script on a Ubuntu box which searches for the fastest openvpn server, connects, and binds one program to the tun0 interface. Unfortunately, all traffic is being passed through the VPN. ...
37
votes
5answers
36k views

Disable autostart for a service without uninstalling?

How can I disable autostart for a service without uninstalling? For example, I'd like to leave tomcat installed, but I don't want it turning on every time I restart.
0
votes
0answers
40 views

Safe to disable gnome-services in Xubuntu?

In the startup settings of Xubuntu 14.04, I see an entry about gnome-services. I'd be happy to get rid of the gnome-keyring if I disable these, but what other things do I miss if I do that? Is it ...
16
votes
5answers
34k views

How can I make a script that opens terminal windows and executes commands in them?

I have three scripts I need to run when I start up my Ubuntu machine, they start services I use in my development environment. To do that, I manually open three terminals and type in the commands. ...
0
votes
1answer
23 views

Limiting file access for a huge number of users

The ubuntu is really great for it's user management, every service can use it's own system user: but should I use it for distribution? Let's say I have a service, that I host, with many customers who ...
2
votes
1answer
120 views

How to use supervisorctl on Ubuntu?

I'm trying to install plumi And I did sudo apt-get install supervisor but ./bin/supervisord doesn't work, nor ./bin/supervisorctl status sudo service supervisor status shows that it's running but ...
0
votes
1answer
42 views

Good desktop drawing program other than Nautilus? [duplicate]

I'm looking for an application/service that provides a usable desktop (icons, etc.) and takes its directory from ~/Desktop (running a custom Ubuntu installation where Nautilus was broken and so ...
0
votes
0answers
13 views

Proper location to install services

In ubuntu or linux in general is there a "correct" location to install services that you download from the internet and want to run. I would like to have services such as redis or ventrilo auto run ...
13
votes
1answer
514 views

How can I ensure a service is disabled on boot? [duplicate]

For some reason I need to disable a system service on boot. In my case this is the Avahi Daemon. I just don't want it to start on boot. In previous Ubuntu releases (e.g. 12.04) I could do sudo ...
3
votes
1answer
34 views

Is it safe to remove a process folder from /var/run/?

Is it safe to remove a process folder from /var/run/ if I think it has got wrong permissions, will it be recreated by process as before? Do I lose any information by deleting /var/run/<process ...
2
votes
3answers
186 views

Cannot Delete User

I am trying to uninstall logstash, but sudo apt-get remove logstash fails because the user is being used by a process. If I try to manually delete the logstash user, I cannot because even when I kill ...
47
votes
7answers
92k views

How to restart the networking service?

I tried to use sudo service networking restart and sudo /etc/init.d/network restart but they both crash the window manager and I can no longer use my keyboard for input into X. when I use the ...
1
vote
1answer
56 views

Shutting down ALL services (server backup)

I am running Ubuntu server 12.04 LTS. After many trials and errors, the backup strategy I have selected resorts to using TAR (mostly because I was unable to find a tool to backup/restore dovecot ...