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

Setting up a user account for a web server

I'm pretty new to Ubuntu/Linux. I'm setting up a lighttpd webserver and I think I need to set up a webserver/daemon user account to get it going. The config file is asking for server.username and ...
2
votes
1answer
161 views

How can I return non-zero if upstart job fails to start?

How can I return non-zero from an upstart job if it fails to launch the first time? I suspect that respawn might be the culprit here, but perhaps not. The reason I want respawn is because ...
1
vote
0answers
28 views

I do not like Paypal. Any alternatives to support Ubuntu? [duplicate]

I want to help with a donation to you good people but cannot understand why you support the worst payment system in the world. Kindly give me an alternative.
2
votes
1answer
941 views

Where's runuser?

I'm making an upstart job, and I need to run an executable as another user. Nothing fancy like su provides, and none of the mixed-up SELinux contexts that come along with it. A quick internet search ...
1
vote
0answers
101 views

Problem with cryptdisks-udev service

I am getting an error when I run 'puppet resource services' that complains about the cryptdisks-udev service. The exact error message is as follows: status: Unknown parameter: DEVNAME The error ...
1
vote
1answer
611 views

How to turn off the Multicast DNS and Multicast UPNP Services in Ubuntu?

I just wonder how to turn off those 2 services completly since I've got no use for them as they are a security risk in my case. Cause I've got a local device for which I can't Block upnp and that ...
1
vote
1answer
689 views

mongodb with 13.10 service problems

I installed mongodb with the instructions here. Fresh installation of ubuntu btw. It installed without error, but upon attempting to start, stop or restart the service, I got start: Unknown job: ...
1
vote
0answers
227 views

UPSTART services all hang when stopping (stop/waiting)

I am using Ubuntu 13.10 After an IPL, there are many run once services that hang, they are all in STOP/WAITING status. Also, if I try to stop any normal service like apache2, mysql, vsftp I get the ...
1
vote
1answer
108 views

How can I define the order of start and stop of Linux services?

Example, when I turn on my server, I want to start mysql first then the NTP service.
3
votes
1answer
4k views

Why the services do not start at installation?

I've seen this sometime now, but not finding anything in the ubuntu man about this peculiar policy-rc.d binary that prevents services from being started/restarted/stopped when called by dpkg/apt, so I ...
0
votes
1answer
239 views

Init.d script problem

The init.d script is installed properly and by me i wrote the script correctly. But i have a very strange situation. The script executes a multi-threaded program written in c++ by me. If i execute the ...
1
vote
1answer
361 views

Unusally High RAM usage by ESET NOD32 (Linux Desktop)

Recently, I'd encountered unusally high RAM usage on both my Ubuntu 12.04 LTS laptops (32-bit and 64-bit desktop OS versions). I noticed that, immediately after system startup, ESET will load 2 ...
1
vote
0answers
395 views

I haven't wireless service in ubuntu 12.04

my wireless is desabled in ubuntu and i can't to connect to wireless vahid@kharazi:~$ rfkill list all 1: sony-wifi: Wireless LAN Soft blocked: no Hard blocked: no 2: sony-bluetooth: ...
0
votes
2answers
117 views

Why can't I connect to this service when launched via Upstart?

I have a web service written in Golang that I need to fire up using Upstart. I can run the service executable (named word) on port 5555 from within it's directory manually like so: PORT=5555 ./word ...
5
votes
1answer
2k views

service vs. initctl [duplicate]

Why are some deamons run out of service and some out of initctl? Do both tools do the same thing and it is just a matter of personal preference of the user what they will use? E.g. sudo service ...
0
votes
1answer
282 views

upstart job doesn't stop on “service something stop”

Could you guys please help with with Upstart script ? For some reason it cannot stop java process on service something stop. service status says bbb stop/waiting I'm trying to run my app which is ...
0
votes
1answer
127 views

No message appears when using notify-send inside a service, why?

I'm developing a notification script which sends me messages from a json-file. I tried to run it as a service, as this seemed to be the easiest way to start and stop the script from he commands line. ...
2
votes
3answers
5k views

Why service restart fails with :-restart: Unknown instance:

root@kumarswamys-desktop:/etc# sudo /usr/sbin/service vsftpd restart restart: Unknown instance:
0
votes
2answers
67 views

Making a service from the project

Hi I have a java server(it listens) which runs when I do: ant compile jar run in the terminal What I want to do is sudo service myproject start so that I won't have to be in terminal(when I do ctrl+c ...
1
vote
1answer
2k views

can't start mysql service anymore

I had MySQL running ... with many different databases. I install MySQL workbench today.. and was able to create any entity relationship diagram etc. Then i decided to increase the size of my ...
2
votes
0answers
180 views

My postinst script launches a service successfully but apt-get apparently shuts it down. Why?

I have this package with a postinst script that launches a service as its last step. Something like: #!/bin/sh set -e . /usr/share/debconf/confmodule [...] case "$1" in configure) [...] ...
2
votes
0answers
257 views

Should I disable avahi-daemon?

Every time I connect my computer to the network, I get a long list of network printers which I cannot use. In this page (see comments), someone suggested disabling avahi-daemon. I would do it if I ...
1
vote
0answers
28 views

What is the use for /etc/default/* when daemonizing a process

I have some configuration files under /etc/default and one of them is for a service that should be started at boot so I changed the configuration file to say: START=yes But I have scripts in ...
1
vote
2answers
157 views

How do I disable mini-http on boot?

I'd like to disable mini-http on boot. sudo /etc/init.d/mini-httpd disable The above command does not exist. Only start|stop|restart|force-reloadoptions are available and these only stop the ...
3
votes
1answer
437 views

Why is a group writable directory considered unsafe?

More specifically, why does libslack's daemon consider files that are being executed in a group writable directory to be "unsafe"? If you can give me an explanation of why group writable directories ...
0
votes
1answer
437 views

Preload 0.6.4 not working

I installed preload on a fresh system and I get the following error: [Sun Sep 1 08:59:15 2013] loading conf from /etc/preload.conf [Sun Sep 1 08:59:15 2013] loading state from ...
1
vote
2answers
80 views

Is there an official list of trusted Ubuntu system processes?

List of default processes -- these running after fresh system install and after first system update. Both these most important and startup processes and these less. Preferably maintained by Canonical ...
23
votes
5answers
19k views

Network service discovery disabled: What does this mean for me?

Every time at boot I get a message “Network service discovery disabled. Your current network has a .local domain, which is not recommended and incompatible with the Avahi network service discovery. ...
2
votes
2answers
100 views

Why does chkconfig highlight the word “on” by default in Precise?

Why does chkconfig highlight the word "on" by default in Ubuntu Precise?
1
vote
1answer
144 views

What are differences between restarting apache2 and service apache2?

sudo /etc/init.d/apache2 restart and sudo service apache2 restart What are the differences? Thanks
2
votes
0answers
155 views

stop emacs server being killed on logout

I'd like to run an emacs server in the background and have it persist after logout. I do not want to start it a system service since it's not a system service. A more practical reason is that I'm not ...
1
vote
2answers
79 views

where symbols there are and what they are saying? [duplicate]

I am used a command as service --status-all oot@frank-Jai:~# service --status-all [ ? ] acpi-support [ ? ] acpid [ ? ] alsa-restore [ ? ] alsa-store [ ? ] anacron [ + ] apache2 [ + ] ...
-1
votes
1answer
425 views

sudo service networking start doesn't work

I just configured dns-nameservers in /etc/network/interfaces. To make it take effect instantly, I typed sudo service networking stop, the desktop seems to kill some processes, anyway the UI is ...
0
votes
1answer
1k views

install ubuntu with daemon tools?

i have windows 7 on a a45vd asus notbook it used to have ubuntu but at the time i bouht it it already had windows 7 (because in my country ppl dont know what is ubuntu) ok, heres the problem, i need ...
0
votes
1answer
238 views

Unable to use bluetooth

Bluetooth service is running sudo service bluetooth status bluetooth start/running, process 1009 However, when I start bluetooth manager, it says there is no device and seems like bluetooth is ...
3
votes
2answers
2k views

Service modules-init-tools not found

While setting up lm-sensors and fanconrtol packages on Ubuntu 13.04, I arrived at a stage were I had to restart the service modules-init-tools to apply changes to the /etc/modules file then alas! I ...
0
votes
1answer
249 views

How to create a init.d script for openssh-server which was compiled and installed from source using configure + make + make install?

I have installed openssh-server in my Ubuntu PC using apt-get install openssh-server. The version is 5.9. Now, I would like to compile and install openssh-server version 6.2 from source codes. I have ...
1
vote
1answer
861 views

mongodb service doesn't restart after being stopped

Currently I am unable to start mongodb with the usual command sudo service mongodb start. When I do that, I get something like: mongodb start/running, process 23387 however no such process is ...
0
votes
2answers
752 views

run levels only at start up

I find the concept of runlevels very confusing. Currently, I'm trying to run a script only at start up. But configuring as shown below leads to it working also at halt time. I'm programming a daemon ...
2
votes
1answer
2k 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
2k 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
530 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 ...
4
votes
3answers
2k 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
159 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
876 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
13k 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
99 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
vote
0answers
81 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
974 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
1k 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 ...