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
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 ...
2
votes
1answer
1k 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 ...
1
vote
1answer
323 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 ...
3
votes
1answer
363 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 ...
1
vote
2answers
162 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 ...
7
votes
1answer
3k views

Is it safe to remove oneconf?

I use Xubuntu, but at this time I only have 1 GB RAM and the system is very slow. I started to remove services and tasks that I don't need. I found that 'oneconf' uses 14 MB RAM, which is too much ...
-2
votes
1answer
513 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
1answer
462 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 ...
1
vote
1answer
185 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
1answer
386 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 ...
2
votes
2answers
127 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 ...
2
votes
0answers
254 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
1answer
163 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
1answer
76 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 ...
0
votes
1answer
65 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 ...
14
votes
1answer
12k 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 ...
1
vote
1answer
205 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 ...
3
votes
2answers
10k views

Start the Rsync daemon to synchronize a directory between two servers

I want to synchronize a directory on the server A to a server B. On the server A I created a file rsyncd.conf with the content: uid = rsync gid = rsync use chroot = no ...
5
votes
3answers
7k 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 ...
5
votes
1answer
9k views

Samba started twice on boot up after upgrade to 14.04

the second attempt results in a failure: Starting SMB/CIFS File and Active Directory Server[74G[[31mfail[39;49m] I'd like to figure out where the second attempt is coming from and remove it. ...
0
votes
1answer
173 views

Run “sudo service udev reload” without root priviledges

I have a script that occasionally needs to run the command "service udev reload" but cannot as it needs root access. I don't want to stay logged in as root all the time, so I'm wondering if there is a ...
1
vote
2answers
116 views

How do I stop a daemon when the user logs out?

I wrote a daemon in C++ which is automatically started on login using a bash script placed in /etc/profile.d/ while running the install section of my makefile. The problem is that when I log out and ...
0
votes
1answer
89 views

How do I make a Ubuntu VM that boots to Terminal but has GUI capabilities?

I have to make an Ubuntu VM (Virtualbox) to run python scripts (on windows hosts) utilising GUIs like pygame, tkinter and pythonwx (especially Tkinter for my legacy apps) Making a VM appliance with a ...
2
votes
1answer
432 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 ...
2
votes
1answer
255 views

Ubuntu Launcher Toggle

I am looking to create a 'toggle' to put in my Unity Launcher to either start or stop my OpenVPN setting. Basically I am looking for an icon that could either sudo /etc/init.d/openvpn start ...
0
votes
1answer
66 views

How does a graphical front-end control a daemon?

I'm developing a file sync daemon on Ubuntu as a hobby project, and I'm thinking I might want to develop a graphical front-end at some point which will let me control it. How can a GUI control and ...
2
votes
1answer
43 views

How to start a service living on a Windows partition

I am developing a service on my Windows 7 / Ubuntu 13.04 dual boot machine. My service lives on an NTFS partition. It is written in Java and should work on both platforms. Just to make things clear, ...
0
votes
1answer
2k views

what is '?' in service --status-all [duplicate]

by this command service --status-all . I can find all services status. in every line there is + or - or ?. Easy to guess + and - which may be refer to running service and not running (I'm not ...
3
votes
0answers
73 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 ...
0
votes
1answer
389 views

uninstalled Ubuntu One but still seeing `com.ubuntu.one.fsevents`

There is a previous post on how to uninstall Ubuntu One from a Mac and I have done all of what is required. However, I still get the program com.ubuntu.one.fsevents running on startup of my Mac ...
1
vote
1answer
449 views

Why does nfs-kernel-server only pretend to stop?

Background: I had an NFS server, ran fine for years, needed to hard reboot it, and now I cannot get the daemon to stop when it's told to. Also, clients can't mount it any more, but I suspect the ...
3
votes
1answer
2k views

Start another GUI on different TTY

For some reason I want to have 2 GUIs open at different TTYs. the commands sudo service lightdm stop/start will stop/create a new GUI at TTY7. but how can I do the same at different TTYs or ...
3
votes
1answer
3k views

Unable to create lock file when starting mongod via upstart

I'm trying to set up my mongodb upstart script to work as an arbiter, but I'm having permission problems when trying to create the lock file in the data directory: Tue Apr 1 17:11:01 [initandlisten] ...
50
votes
4answers
211k 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) ...
-1
votes
1answer
21 views

Where can I go to get a description of the many services that are avaialbe? [closed]

My subject line pretty much says it all. I'm struggling as a newbie but am making progress.
1
vote
1answer
1k views

Running a service ignores environment variables

I have a /ect/init/application.conf file that looks something like... start on filesystem and net-device-up IFACE!=lo stop on runlevel [016] respawn export NODE_ENV=production chdir ...
4
votes
3answers
22k 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 ...
3
votes
1answer
63 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 ...
3
votes
3answers
4k views

Can't start an application as service, but running as standalone process simply works

For a service although a pid file exists but still on attempt to start service, it fails saying $ sudo service cassandra start * could not access pidfile for Cassandra I verified folder ...
1
vote
1answer
1k views

error starting service

I just installed openerp by following the guidelines available on google and youtube but when i try to start the service it gives me the following error, can you please suggest what is going wrong. ...
2
votes
1answer
338 views

monit not starting in Ubuntu

I have installed monit in my Ubuntu, starting when I did root@raaz-ubuntu:~# service monit start * Starting daemon monitor monit but its not starting as I can see it root@raaz-ubuntu:~# ps ...
1
vote
0answers
183 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 ...
6
votes
2answers
33k 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 ...
-1
votes
1answer
356 views

How do I stop the NetworkManager in Ubuntu 13.10 without using the service command?

Usually this works as root service network-manager stop But last time it didn't. There was some message like "no such service". Strangely today, after a reboot it works! Yesterday I also tried: ...
1
vote
0answers
3k views

Where can I find btnx? [duplicate]

I'm having trouble finding packages or source for the btnx service, it looks like the ollisalonen.com site that hosted btnx is no longer available. I also cannot find any btnx packages in apt or on ...
0
votes
1answer
269 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 ...
1
vote
1answer
219 views

Cleanup after upgrade server 13.04 to 13.10

Still new to ubuntu here and trying to run a server (dhcpd and bind9 for starters). I installed back when 13.04 came out, today I upgraded to 13.10. Because dhcpd and bind9 are my points of interest ...
0
votes
1answer
241 views

How to switch user on Ubuntu server 12.4

I just downloaded UBUNTU 12.4 server, At the begging there was only root user so I added new user and switch off the root user. The problem now i don't have any permeations and when i type "sudo ...
0
votes
1answer
40 views

Why upstart documentation prevents me from using respawn

In documentation I found a note that I shouldn't use respawn if I satisfied with expect. But I cannot understand, how are they interfere. For example, nginx config using both and predictable didn't ...
2
votes
1answer
2k views

initclt not seeing init script in Ubuntu 12 64bit

I created an init script in LSB format, and copied it to the /etc/init.d directory. I can manually start, stop, status the service and all works fine. I then try to set the service to auto stop/start ...