Tagged Questions

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)

3
votes
1answer
3k 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
231 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
329 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
393 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
106 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
269 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
117 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
64 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
177 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
243 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
142 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
386 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
403 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
77 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 ...
21
votes
4answers
16k 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
98 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
128 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
148 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
78 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
404 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
224 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
225 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
752 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
689 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
495 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 ...
3
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
144 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
846 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
11k 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
96 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
76 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
882 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 ...
1
vote
1answer
4k 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 * ...
2
votes
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 ...
3
votes
1answer
7k 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
3k 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
410 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
1k 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
732 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
72 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
802 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 ...