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)

14
votes
1answer
7k 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
158 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
7k 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 ...
4
votes
3answers
5k 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
6k 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
145 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
94 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
75 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
243 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
228 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
44 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
39 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
1k 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
69 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
299 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
318 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
2answers
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
2k 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] ...
41
votes
4answers
158k 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
20 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.
0
votes
1answer
792 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
2answers
15k 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
56 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
2answers
3k 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
245 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
140 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 ...
5
votes
2answers
23k 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
324 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
3answers
3k views

Where can I find btnx?

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
202 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
193 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
188 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
35 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 ...
1
vote
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 ...
2
votes
2answers
490 views

Upstart instance job on system reboot

I am using upstart instance jobs to start few of my services. The jobs are meant to have one instance per user i.e they take in the user name as the instance parameter. I have also configured them to ...
6
votes
1answer
2k views

Service --status-all --> what does the column with [ ? ],[ + ], and [ - ] mean?

If I run the command "service --status-all", each (running?) service is listed in column format. The first column has either a [ ? ], [ + ], or [ - ] before the service name. What does this column ...
2
votes
1answer
195 views

Upstart cannot determine daemon's pid

There is a daemon mydaemon, which has not a very pleasant interface. So that mydaemon-parser.py was written to parse configuration files and start as many mydaemon instances as needed. ...
3
votes
3answers
8k views

upstart job works only with manual start/stop

I have a very small upstart job in /etc/init/tsm.conf to start backup client after network starts. It works just ok if I start/stop it manually via service tsm start|stop|status. But service tsm ...
2
votes
0answers
514 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 ...
1
vote
1answer
206 views

Upstart service not starting when a service it depends on starts

I have a service called service C. It has the following start and stop conditions: start on ( started A and started B) stop on (stopping A or stopping B) When I manually stop A, C stops. However, ...
12
votes
1answer
9k views

How to read “service --status-all” results

I need to identify the currently running services but I can't figure out the results of running service --status-all, I mean what does ?, - and + mean ? $ service --status-all [ + ] acpid [ + ] ...
1
vote
1answer
356 views

Is it possible to run an OPENGL program via a daemon?

My main question is: Is it possible to run an OPENGL program via a daemon (upstart script)? The program displays a window on the screen. More details: I have an opengl program (done with ...
7
votes
2answers
20k views

Enable/Disable Ubuntu Desktop environment on ubuntu-12.04.1-server-i386

I have installed ubuntu-12.04.1-server-i386 and on top of that i have installed Ubuntu desktop environment so that i can maintain server easily. Hear I totally understand that installing Desktop ...
3
votes
1answer
1k views

Which processes with daemon are unnecessary?

I saw 3 processes which have "daemon.py" at the end of them and use 10 MB of memory each of them. What do they make? Also there are a lot of processes which have daemon inside. Are they really ...
2
votes
3answers
15k 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 ...
5
votes
1answer
12k views

Enable logging to service

I'm trying to figure out how to enable logging in transission. I know I can run the daemon in the front: transmission-daemon -f --logfile /your/path/to/transmission.log But this is not what I ...
1
vote
1answer
50 views

Juju deploy services to two machines

Hello i want to know if i'm doing it right- I install juju-gui on the 0 machine after that i want to install openstack-dashboard and a few other services to machine 2 and when i do it they go - ...
1
vote
1answer
2k views

What makes mysql service autostart, while it's disabled in BootUp-manager?

The mysql service is not enabled in BootUp-manager, yet it is working after system starts. Is it awaken by another service? How to determine what causes that? EDIT Fix as instructed here.
0
votes
2answers
490 views

how do I use upstart, instead of cron, to start a single instance of a job which should always respawn?

How do I script the following bitcoin/dogecoin/etc cpuminer command: /home/digger/cpuminer/minerd -o stratum+tcp://doge.pool.webxass.de:3333 -O <user>.<worker>:<worker_password> ...