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

How to run an executable file (web app) 24/7 and restart automatically when it breaks down?

I have an executable file on a server which is a full-fledged standalone web application. When I login to a server via ssh and run the file, the website become visible in the internet. Obviously, ...
1
vote
1answer
51 views

Mongod service doesn't start with enableEncryption: true option in mongod.conf

According to «Configuration File Options» manual, the MongoDB security options have a boolean parameter enableEncryption. I paid attention that the service mongod of MongoDB 3.2.4 is failed to start ...
1
vote
1answer
832 views

Can't start MongoDB, mongod is always stop/waiting

I try to run MongoDB 3.2.4 on Ubuntu 14.04: sudo service mongod start And get the result: mongod start/running, process 67725 But when I check the status I get: mongod stop/waiting I tried to ...
0
votes
1answer
37 views

What is a right way to find Ubuntu fixing service in your area? [closed]

Linux is free. Awesome. But time is money. Not so awesome. I've spent weeks customizing Ubuntu (e.i. installing wi-fi drivers). Askubuntu is a great place to network if you are a DIY type of guy. The ...
0
votes
1answer
72 views

i need to write a bash script to check a service status and restart

i need to write a bash script to check a service status. I need to look in the command output; /etc/init.d/ipsec status The line "1 tunnels up" indicates the service is up. If the line is not part ...
0
votes
1answer
141 views

How to change the order of execution of services at startup?

I have some services in my init.d folder for e.g. hdfs, zookeeper, elasticsearch, hbase and so on. Now, I have added all those services to startup by doing the update-rc.d 'service' defaults command. ...
2
votes
1answer
35 views

How to make a daemon which checks if a program is running (at regular intervals) and starts it if it is not? [duplicate]

I am on Ubuntu GNOME 15.10 with GNOME 3.18, but I don't like the normal applications launcher so I have installed Docky, however often Docky suddenly closes and I am forced to manually restart it, so ...
1
vote
2answers
97 views

How to execute PHP code in Linux every 500 milliseconds?

I have an http server on Linux. I have some PHP code that stores variables into the cache using memcache and I would like to execute this code every 500 milliseconds whenever the server is running, ...
1
vote
2answers
56 views

Moving from Amazon Linun to ubuntu, now my init script isn't working.

We are in the testing phase of moving from amazon linux to ubuntu for some of our servers. We have a mono app that is run as a service and on the amazon linux box it ran fine. I know that some ...
2
votes
1answer
761 views

Run MongoDB service as daemon of SystemD on Ubuntu 15.10

MongoDB just supports versions of Ubuntu Long Term Support (LTS). The last is Ubuntu 14.04 LTS, where the init process is managed by Upstart proprietary of Canonical. However I'm using Ubuntu 15.10 ...
0
votes
0answers
66 views

fso-deviced daemon not coming up. [ubuntu 14.04]

This issue came when I was trying to install gstreamer* libs. I am not sure whether this daemon was already installed in my system. I tried to reinstall it manually but it failed again. I am getting ...
0
votes
1answer
52 views

How to setup ds4drv as DAEMON on Ubuntu?

I have a Dualshock 4 controller, Kubuntu 15.10, and ds4drv installed. Everything is working fine, but I would like that ds4drv works as a daemon. How can be done?
1
vote
1answer
30 views

Unable to disable “mysq” service for autoboot

I'm trying to disable a service: $ sudo update-rc.d mysql disable update-rc.d: warning: start runlevel arguments (none) do not match mysql Default-Start values (2 3 4 5) update-rc.d: warning: stop ...
0
votes
0answers
304 views

Active: active (exited) Service plexconnect starts exited

I have installed a python script called "plexconnect" which is basicly a script to trick my apple tv3 in to looking elsewhere for its trailers. Source: https://github.com/iBaa/PlexConnect Then i made ...
0
votes
0answers
69 views

transmission-daemon missing all previous torrents

Ubuntu 14.04.4 LTS, transmission 2.92-0ubuntu0.15.04.1 Just started up an updated version of transmission, and replaced my old config file. Now all my old seeding torrents are gone. All the torrent ...
0
votes
0answers
236 views

Unable to disable a service in Ubuntu 15.10

I'm trying to disable apache2 $ sudo systemctl is-enabled apache2.service apache2.service is not a native service, redirecting to systemd-sysv-install Executing /lib/systemd/systemd-sysv-install is-...
0
votes
1answer
68 views

network aplications throwing “Servname not supported for ai_socktype”

Why are some network application failing with this mysterious error message? $ whois example.com getaddrinfo(whois.verisign-grs.com): Servname not supported for ai_socktype
2
votes
2answers
31 views

How many times will a cron job run when given asterisk (*) on all positions?

If we define a cron job with * * * * * /some/task/to/perform, how many times will the job be executed in 60 seconds?
1
vote
0answers
57 views

Is “oneconf-service” meant to be running?

I left my computer for a little while, and when I came back it told me that there was an internal error with oneconf-service, and though it (the process) is gone now, in the processes list in the ...
0
votes
0answers
43 views

How do I disable smartd permanently?

I installed smartmontools so that I can use smartctl occasionally. However, smartd is also part of smartmontools, and now it starts automatically but I don't need it. What's the proper way to disable ...
1
vote
0answers
506 views

Bluez 5.28 - 5.37 “Not enough free handles to register service” issue with GATT (gatt_example plugin) services

I have tried to run gatt_example plugin from Bluez package in Ubuntu environment (14.04 LTS and 15.10). For that I have rebuild from source 5.37 (Ubuntu 14.04) and 5.35 (Ubuntu 15.10) with: $ ./...
0
votes
0answers
59 views

oracle xe start service

I can't start the oracle-xe service but get the error message below. How can I fix it? sudo service oracle-xe start Starting Oracle Database 11g Express Edition instance. Failed to start Oracle Net ...
1
vote
0answers
137 views

How to run a golang restful api as service in ubuntu server

I need to run golang restful server that build using gin framework and mongodb as service in my ubuntu server.how can do this? (every time i run the go script i need to this also gvm use go1.4)
0
votes
1answer
53 views

Find the user under which a Ubuntu service runs?

I have a Cassandra service on my Ubuntu but I cannot figure under what user this service runs. I know how to find the owner and the permissions of files and directories. But how can I do this for a ...
0
votes
1answer
76 views

RedisLabs Enterprise Cluster stopping the service

I am running RedisLabs Enterprise Cluster in my Desktop and Laptop(both running Ubuntu Desktop 14.04.3 LTS). In my desktop - the RedisLabs Enterprise Cluster stops if i restart but in case of my ...
1
vote
1answer
140 views

start openvpn as a service ubuntu 15.10

I just installed ubuntu 15.10 and installed openvpn. I'm using the same .conf files as I had in 14.x however the service will not start on it's own. can someone provide assistance. when I attempt ...
0
votes
1answer
255 views

I can't unmask a service on Kubuntu Wily 15.10

I'm using Kubuntu Wily 15.10 (fully upgraded). It already had installed the cryptsetup package. I'm trying to start the cryptdisks service but I get this: $ sudo service cryptdisks start Failed to ...
0
votes
0answers
196 views

Unity Settings Daemon crash in 15.10

I keep getting an internal error notification, specifically, unity-settings-daemon crashed with signal 5 in _XReply().
2
votes
1answer
88 views

Allowing a systemd system unit to access/mount a disk required for that service to run

Preface: I am new to Ubuntu and Linux in general so bear with me. I have created a systemd system unit to run a program as a service. For added security, the service runs under its own group and user ...
0
votes
0answers
80 views

'Besclient' service gives an error when I try to start it manually

When I try to manually start the besclient service according to the directions posted here I get the error: /etc/init.d/besclient 54: /etc/init.d/besclient: failure: not found I was getting an ...
0
votes
0answers
82 views

Sudo service <argument> stop not working

While looking through the output of service --status-all to find some programs to kill and increase my battery life I ran into a problem. I run sudo service postgresql stop and I get the stopping ...
0
votes
0answers
119 views

Failed to connect to socket

When i run sudo start nxfilter, i get: start: Imposible conectar con Upstar: Failed to connect to socket /com/ubuntu/upstart: Conexión rehusada
2
votes
1answer
35 views

Finding and removing autorun applications or services

Whenever I start my Ubuntu, there will be a java process by user tomcat7 which eats up almost 200 MB of memory. I think a few months ago I was fiddling around with apache tomcat for some spring/...
1
vote
1answer
150 views

squid3 and no start process

In ubuntu 14.04, I have installed squid3, can start/stop it (working fine) via: service squid3 start|stop But i do not see any squid* file in /etc/init.d/ and /etc/rc.d/. How is that possible ? How ...
0
votes
1answer
22 views

Application is not starting at boot time which should do

I have a software named something.jar. I created a symbolic link of this software inside /etc/init.d with this command: sudo ln -s /etc/init.d/coc/coc.jar /etc/init.d/COC After this I run: sudo ...
0
votes
1answer
58 views

What's the difference between “service start foobar” and “foobar &”

What is the difference between running a program with service (or systemctl) and just running it with absolute path? My understanding is that service (or systemctl) run some additional scripts ...
1
vote
0answers
730 views

force pam to return success

I want to be able to login (without systemd-user-sessions.service running, is it possible?). I masked the systemd-user-sessions.service, rebooted, but PAM wont let me in (I can login in tty1 though): ...
0
votes
1answer
18 views

Stop some processes from autorunning

As the title, I'm trying to figure out a way to avoid the following processes from autorunning when the system starts: Virtualbox, Tomcat7, ntopng, tor. So, until now, I tried to simply create a ....
0
votes
0answers
16 views

VSFTPD will not start at all, despite a purge and fresh installation

I installed vsftpd sudo apt-get install ftpd Used a basic config file (the least amount of settings to just get it to start) listen=YES anonymous_enable=NO local_enable=YES write_enable=YES ...
0
votes
1answer
44 views

Why the “service --status-all | grep mysql” get many unrelated result?

It seems weird here while running service --status-all | grep mysql why I get so many wrong result? It works fine on Centos where i am getting: mysql is running xxxxxxx This is what i am ...
0
votes
1answer
75 views

Not sure how to change a line - Crontab script for Spamassassin update fails with the error: unexpected operator

A real newbie question. Not an experienced user at all, so please walk me through this I have a cron daemon error and have been told to +++ Symptoms Parallels Plesk Panel sends mail with the ...
0
votes
0answers
56 views

boot services were changed and therefore Ubuntu does not work

I was changing the boot services to make the boot faster and now I get a black screen (the screen is working but it is black) after I enter my password in the login page. I can't do anything to solve ...
1
vote
1answer
371 views

status: Unable to connect to Upstart:

When I want to check if a service is running, in my case if docker service is running, I typed: sudo status docker And as output I've got: status: Unable to connect to Upstart: Failed to connect ...
0
votes
0answers
44 views

Ubuntu Touch compile error

I'm having a few errors building the Touch images. Haven't found an answer to this yet. I've posted below the error during compiling the Ubuntu Touch source. Any help would be greatly appreciated as ...
1
vote
1answer
71 views

dpkg and systemd: unit file silently disappears

I try to package my self-made daemon into debian package. I wrote systemd's .service file for it. This file is present in the package. Package installs ok. But after install there is no .service file ...
1
vote
0answers
53 views

How to check if a service was started by upstart or sysvinit?

For some services (ex: bluetooth) I have entries in both /etc/init.d/ and in /etc/init/ directory. How do I know how this service is started ? By sysvinit or upstart ? I am using Ubuntu 14.04.
1
vote
2answers
192 views

How to stop Ubuntu tracking process?

As far as I know Ubuntu is using a process to track user usages and maybe personal information, some like google and other websites use cookies to provide you with "more suitable add". Can someone ...
0
votes
1answer
49 views

How to stop mongod after “unkown instance” error

After running two mongodb instance, I can't stop mongod service. After executing: $ sudo service mongod stop Stop: Unkown instance I know that this question have been asked but they are looking for ...
3
votes
1answer
219 views

How do I get service command to print output in 15.10?

I have installed Ubuntu 15.10. In my 14.04 version the system give me return messages when I run sudo service apache2 restart or other service commands. But I not getting this returns in the new ...
0
votes
1answer
199 views

How do I create a simple loop daemon bash script? [closed]

I want to create a simple daemon bash script that will run a command if my computer is inactive for more than 10 minutes. I created an alias to run a python script in the terminal, and I plan on using ...