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
152 views

Running PHP scriipt as Daemon. System_Daemon or init?

I am relatively new to Linux, and was trying to find a way to run a php script as a Daemon. I have now found 2 ways to do this (Using an init script, or PHP/Pear System_Dameon class). I was wondering ...
1
vote
1answer
4k 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
122 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
76 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
61 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
181 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
172 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
32 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 ...
1
vote
0answers
63 views

Starting Network Audio System via its init.d script fails but works when using start-stop-daemon on the command line

I'm running Ubuntu 13.10 (saucy salamander) and need the Network Audio System service (package nas, version 1.9.3-6) which relies on /dev/dsp and /dev/mixer so I installed the OSS Proxy Daemon osspd ...
2
votes
1answer
37 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
683 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
65 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
208 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
151 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
895 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
1k 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] ...
32
votes
4answers
92k 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
19 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
0answers
10 views

multiple authentication errors

I have recently installed v12.04, dual booted on XP netbook. It seems to be working ok, but several of the following appear in the authentication log (on Ksystem log). These messages followed a ...
0
votes
1answer
448 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 ...
2
votes
1answer
9k 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 ...
0
votes
0answers
22 views

Make xampp a service and start on boot [duplicate]

This seems a common problem and I thought I should be able to find this question in the site, but I was not successful so I'm asking it myself. I installed xampp through the www.apachefriends.org ...
0
votes
0answers
19 views

Networking service broke my computer [duplicate]

I've entered in Terminal "sudo service networking stop". Than graphic interface crashed and after restarting I can't login into my main profile. Well I'' able to login from tty 1-6, but on seventh ...
3
votes
1answer
42 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
1answer
1k 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 ...
0
votes
0answers
77 views

Why does gearman-job-server not accept connections when running as a service?

On Ubuntu 12.04, If I run sudo gearmand -d, the manager will accept jobs from remote machines. However, if I run sudo service start gearman-job-server (after killing gearmand), remote connections are ...
1
vote
1answer
828 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
136 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
103 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 ...
2
votes
1answer
11k 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
251 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
2k 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
144 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
158 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
156 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
32 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 ...
0
votes
1answer
1k 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
364 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 ...
5
votes
1answer
1k 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
162 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
6k 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
362 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
116 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, ...
6
votes
1answer
3k 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
256 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 ...
6
votes
2answers
12k 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
839 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 ...
0
votes
2answers
9k 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 ...
2
votes
1answer
8k 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
48 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 - ...