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
1answer
1k views

upstart service giving 'chdir: command not found' error

I've created an upstart conf script called watch_folder.conf that i have used successfully on a few ubuntu installs already but for some reason I'm getting an error from the following code: ...
0
votes
1answer
1k views

Difference between transmission-daemon and service transmission-daemon

I made this question so as to make myself clear some things about linux, since I'm relatively new. I have and Ubuntu Server machine, which I access via ssh. I want to use it to handle my torrents from ...
2
votes
1answer
426 views

Upstart creates two processes instead of one

I'm trying to create a simple echo-service using ubuntu upstart. For some reason upstart behaves really strange. When it starts the echo server first time everything is ok, but when it starts it ...
2
votes
1answer
955 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 ...
1
vote
1answer
122 views

Running BaseX as an upstart job

I'm trying to configuring BaseX to run as a service on my server. The basexserver command has a flag -S whose functionality is listed as "start as service". If I run basexserver -S at the command ...
3
votes
2answers
692 views

How to create (via installer script) a task that will install my bash script so it runs on DE startup?

I've been reading for the last couple hours about Upstart, .xinitrc, .xsessions, rc.local, /etc/init.d/, /etc/xdg/autostart, @reboot in crontab and so many other things that I'm totally confused! ...
3
votes
1answer
8k views

How to start, stop and restart rtorrent?

I just installed rtorrent on my Ubuntu Server 12.04 LTE machine via apt-get. How do I start | stop | restart the service?
0
votes
3answers
91 views

Routing example.com/page to example.com:[port]

I have a server with multiple services running, for example: subdomain.example.com:1234 subdomain.example.com:1235 subdomain.example.com/1236 Accessing these directly will take me to the web gui ...
-1
votes
0answers
46 views

How to start 2 mongodb services

I need to start 2 MongoDB 2.4.4 Instances as Services on a Ubuntu 12.04 LTS One is a replica from another server and the other one is a testsystem. Simply cloning the upstart script in /etc/init/ ...
1
vote
0answers
67 views

how to make my daemon appear in service --status-all list?

I have setup upstart script and init.d script for my daemon and its working good. I want my daemon appear in service --status-all list. update-rc.d <my-daemon> defaults didn't put my daemon ...
1
vote
2answers
730 views

Auto-start Upstart User Jobs on boot

I've enabled Upstart User Jobs and configured a few jobs. These jobs can be started/stopped by the respective user and all is well. However the start on stanza doesn't seem to have effect: start on ...
0
votes
1answer
949 views

Upstart job doesn't die correctly

I'm making a simple upstart daemon. Following the Upstart documentation[1] I make the conf script: description "Super Daemon" author "Bastian Baltasar Bux" start on started dbus stop on runlevel ...
1
vote
1answer
3k views

rsync daemon failed to start

While configuring one of OpenStack's components I had to restart rsync using the command sudo service rsync restart. Doing this, I get the following error message: * Restarting rsync daemon rsync * ...
1
vote
1answer
2k views

How to Remove Bluetooth Manager in Xubuntu

I wanna remove bluetooth manager and its daemon from Xubuntu because my computer doesn't have bluetooth device. How should I do? Note : I've searched questions ...
2
votes
1answer
5k views

Ubuntu 12.04 - I can ssh into the server but sshd is an unrecognized service

I'm trying to setup key based authentication for ssh on my Ubuntu 12.04 server following this tutorial and that. It's not really working but I have another problem slowing me down, which is that I ...
1
vote
1answer
2k views

Upstart job fails to respawn and hangs when tried to stop/restart it

I'm using Upstart 1.5 in Ubuntu 12.04 to manage a process created by some user but needs to be managed as system job as starting on boot, respawning if it fails and we been able to start/stop it at ...
0
votes
1answer
368 views

Restart Upstart

I'm in the process of building a job to work in upstart, and any time I have even a typo the entire upstart breaks; not just my job. Is there any way to reload upstart without rebooting?
0
votes
2answers
981 views

Ubuntu 13.04 indicator-datetime-service loads 100% CPU

Ubuntu 13.04 64bits desktop (freshly downloaded from the site a couple of days ago) indicator-datetime-service loads CPU up to 100%( 1-2 core) and gnome-settings-daemon eats whole RAM ...
1
vote
1answer
727 views

Network device problem - Ubuntu 13.04

My Ubuntu suddenly doesn't seem to have a wifi adapter..or any network adapater actually. I noticed this after i tried to connect to my office LAN and changed set the LAN settings. When i open ...
0
votes
2answers
66 views

How can I know if a certain service is running or not?

The service utility allows to know the current status for the services installed in the system. However, when invocking service --status-all some services are listed as [+] (running), some as [-] ...
2
votes
3answers
666 views

How can I determine what services I had running before a new install?

Background: want to move from 32-bit to 64-bit environment (taking advantage of >4GB RAM) bought new HDD and installed new OS mounted old HDD as a secondary device Question: How can I determine ...
1
vote
0answers
147 views

Why won't honeyd start on boot?

I have installed honeyd on my machine and configured the appropriate settings to get it to run as a service. The service will run fine and functions as expected if I start it with command: sudo ...
1
vote
1answer
2k views

transmission-daemon: error loading working config-file. User priveliges?

Transmission-daemon has worked perfectly on a small headless server for a long time. However, it currently gives me the following error: transmission-daemon Error loading config file -- exiting. ...
1
vote
0answers
120 views

Turn screen off when no motion in front of webcamera

Is it possible to automatic turn screen off when there is no motion detected in front of webcamera for X minutes ? Can i use sudo service motion start and xset dpms force on/off somehow ...
4
votes
1answer
2k views

How to make ubuntu service run as specific user

How to make ubuntu service run as specific user? I created an init.d script and make it start at boot, but sooner I found the service is running as root after reboot. I google and google, people ...
-1
votes
1answer
82 views

My pc works at high performance due to Ubuntu 12.10 [closed]

I have a dell pc. It is have two graphics card (4100 and 7730m). I used solves on internet sites but then borders and desktop menu disappers. Sorry for bad English. Please help me!
1
vote
1answer
53 views

Leave application running as we switch users

How can I leave Deluge Bittorrent running as different family members log into and use our Ubuntu 12.04 laptop? This seems like it should be some sort of daemon, but of course it has a GUI, which I'd ...
0
votes
1answer
176 views

Startup script for spawn-fcgi

I would like to use spawn-fcgi to start a web.py application on system boot. Is there any facility for managing spawn-fcgi through Upstart? (Is Upstart the modern system for managing services, or ...
3
votes
1answer
241 views

Can I use a custom shell with upstart script stanza?

I'm writing a few daemons implemented in pure shell script and would like to use zsh(powerful substitutions, modules with socket/tcp handling, etc) instead of the default /bin/sh. Can I tell the ...
1
vote
1answer
1k views

Changing Ubuntu locale settings by GUI crashes the accounts-daemon

I'm usung Ubuntu 12.04 and after an automatic update it changed the system default encoding form UTF-8 to "ANSI_X3.4-1968". I realized that when my code comments in Eclipse appeared with strange ...
2
votes
0answers
226 views

declaring dependencies in upstart

It seems as if the accepted way to specify a dependency of service A on service B in upstart is to work in the reverse dependency direction: give service B a start on starting A stanza. I'd like to ...
1
vote
1answer
709 views

How do I enable the CardDAV server of the calendarserver package?

I installed the calendarserver package which provided me with a working instance of the Darwin Calendar and Contacts Server, a CalDAV and CardDAV server. The CalDAV part seems to be working okay. I ...
16
votes
2answers
2k views

Why does this grep command not work?

When I try to use grep in this fashion: service --status-all | grep network It still lists all the services even though I piped it into grep to restrict it to the "network" string only After ...
1
vote
1answer
264 views

Mongodb shell is giving an error while connecting?

When you try to connect to mongodb it is giving a following error: root@ip-10-87-37-28:~# mongo MongoDB shell version: 2.0.4 connecting to: test Fri Mar 8 07:40:11 Error: couldn't connect to server ...
3
votes
2answers
5k 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 ...
21
votes
2answers
11k views

What does bamfdaemon do?

I've googled for it, and there's very little info besides "bamf matches application windows to desktop files". Unity depends on it so it's difficut to remove, at least would be good to know what it ...
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 ...
6
votes
1answer
9k 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 ...
1
vote
0answers
1k views

MySQL stop/waiting issues; “can't connect … through socket” [closed]

So first time putting up a LAMP stack on a Bodhi machine (previously experience with WAMP, and LAMP on 10.04); I got Apache going, and a Drupal install begun, then I go to create a new database and ...
3
votes
1answer
433 views

How do I keep the Ubuntu One sync daemon from automatically starting up?

I have a Windows XP VM solely for the purpose of using Quicken. I have all my documents in my home folder including the Quicken files, to which the VM sees via a Samba share. If the Ubuntu One sync ...
2
votes
1answer
2k views

How to add startup services?

I'm on 12.10 and I use Synergy to share my mouse between my laptop and desktop monitors. I tend to start the synergys daemon manually, but I'd like for it to start automatically after boot. Now I've ...
0
votes
2answers
217 views

Where should I start crond?

On my Ubuntu server (LTS 12.04) I would like crond to be running every time I boot up. Where should I configure this? I took a look at service --status-all and saw that cron was there, but it was ...
3
votes
2answers
241 views

What happens to manual Upstart services on shut down?

If using the manual keyword in an init or override Upstart script, it is not clear whether the services shut down process will be initiated or it will just be killed on shut down. For instance, will ...
2
votes
1answer
3k views

Should I use inetd or xinetd?

I see openbsd-inetd is installed by default but there are quite a few mentions of xinetd in AskUbuntu. I have a custom service to install. inetd would provide all the features I need. Should I be ...
1
vote
0answers
431 views

/var/log/cups keeps increasing while the cups service is stopped

I want to stop CUPS service on my 12.04 ubuntu: sudo service cups stop it's stopped. I check it's status by : chkconfig it's off but /var/log/cups size is still increasing by a large amount ...
2
votes
1answer
6k views

How to disable console-kit-daemon in Xubuntu 12.10?

I just want to know how to disable console-kit-daemon in Xubuntu 12.10. Background In the last months I tried Ubuntu and I faced a memory error related to console-kit-daemon that spawned too much ...
2
votes
2answers
5k views

How can I disable postfix on startup?

I can't get cron to stop spamming me with completed job notifications. It's getting out of hand and starting to clog up my 'real' email server, so I'd like to just disable postfix while I figure out ...
47
votes
8answers
94k 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 ...
9
votes
4answers
3k views

Allow non-sudo group to control Upstart job

I'm trying to set up an Upstart job to run on system startup, and that can also be started/stopped by members of a group other than sudo. With a previous version, I usedupdate-rc.d and scripts stored ...
1
vote
1answer
177 views

Mount ecryptfs automatically after ftp login

How can I get my ubuntu server 12.04 to automatically mount the encrypted home partition after an ftp login? It will automatically mount after an ssh login and I can then access the encrypted ...