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
261 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
1k 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] ...
38
votes
4answers
137k 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
1answer
661 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
13k 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
53 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
2k 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
958 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
202 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
124 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 ...
4
votes
2answers
18k 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
301 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
179 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
186 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
180 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
34 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
439 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
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
187 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
7k 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
462 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
172 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, ...
11
votes
1answer
6k 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
316 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
17k 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
985 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
13k 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
11k 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
445 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> ...
0
votes
1answer
3k views

Start/Stop Services in Linux Ubuntu 13.10

I just installed PRTG Network Monitor on Linux Ubuntu 13.10 and I can't get it to start. How can I start/stop services in linux? like how you do in windows?
0
votes
1answer
307 views

What makes specific services (apache2, mysql) autostart?

Where can I set services apache2 and mysql to do not start automatically? Or start when asked for it instead? EDIT BootUp-Manager worked for me very well disabling autostart of both services.
0
votes
1answer
882 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
271 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.
3
votes
1answer
1k 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
1answer
1k 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
906 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
290 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
135 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.
6
votes
1answer
8k 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
283 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
476 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
404 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
164 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 ...