Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [services]

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.

0
votes
1answer
10 views

How would I install psensor-server as a service on Ubuntu 16.04 LTS

I am looking for the ability to create a service to run psensor-server on startup and be able to restart it using systemctl if possible?
0
votes
0answers
10 views

bind9 service fails to start citing permissions issues

I'm getting a fatal loading configuration: permission denied error when trying to start the bind9 service. root@dns:~# sudo service bind9 stop root@dns:~# sudo service bind9 start root@dns:~# sudo ...
1
vote
0answers
21 views

What is this daemon process using so much CPU?

As per the screengrab, this is puzzling, to me at least. I haven't noticed this running before, just the past few days. This is a workstation Ubuntu 18.04 current updates as of this morning. ...
-1
votes
1answer
13 views

Unit mysqld.service not found but exists

I'm following the code from this post, LeonanCarvalho's answer, in order to create a daemon with systemd. I used symlink. Everything is fine but when I tried to start it, it said that, or even ...
1
vote
0answers
13 views

Service file not playing video

I have written a Python script that receives an online link from the server and downloads it and plays it simultaneously. After that, it plays it from the device unless it receives a new video link. ...
1
vote
1answer
20 views

Setup Python program as systemd service

I've made a program to log certain system stats, and I would like to run that program as a Linux service so I can easily manage it (start, stop, etc). I've spent hours researching and trying things, ...
0
votes
0answers
6 views

Enable Mariadb, symlink to another script, skipped!

I diabled maraidb once on my computer (sudo systemctl disable mariadb). Now i want to enable it back. But i get en errormessage. $ sudo systemctl enable mariadb Synchronizing state of mariadb.service ...
0
votes
0answers
47 views

Ubuntu 18.04 LTS — Printing Service Not Available

My printer no longer shows up in my Settings -> Devices GUI menu. Instead it says "Sorry! The system printing service doesn't seem to be available." I tried searching the 'net for ideas and I ran ...
0
votes
0answers
40 views

Ubuntu 16.04 - Bluetooth service won't start [closed]

I just received my new Dell laptop with a preinstallled ubuntu 16.04. My bluetooth headset was working fine yesterday and this morning but now my bluetooth won't work anymore and I have no idea why. I ...
0
votes
1answer
47 views

Cannot connect XBOX 360 wireless controller on Ubuntu 16.04 ( xboxdrv cannot found controller )

Hello everyone I am trying to connect Xbox 360 wireless controller via Bluetooth on Ubuntu 16.04. First of all, I made sure that my pad was detected and paired by the system: img But these colored ...
0
votes
1answer
19 views

How do I start two programs in a certain order startup using systemd?

I am looking for guidance on the best way to achieve the following criteria using systemd. I would like to start two services Program_A and Program_B at boot up time. Program_B is dependent on ...
0
votes
1answer
35 views

Systemd service, Working Directory not change the directory

I created this script: [Unit] Description=test [Service] WorkingDirectory=/home/someuser ExecStart=/somescript.sh Restart=always RestartSec=10 StandardOutput=syslog StandardError=syslog ...
1
vote
0answers
58 views

Ubuntu 18.04 and systemctl service disappearing

I created and enabled a service: $ sudo systemctl enable /path/to/imaservice.service Created symlink /etc/systemd/system/multi-user.target.wants/imaservice.service → /path/to/imaservice.service. ...
0
votes
2answers
27 views

Is there a way to have one app.service in systemd start multiple independent app.service units?

For example if I had two service files that ran as type=forking that start two different java applications and then two service files that run as type=simple running different applications, is there a ...
0
votes
1answer
41 views

Start another lightdm service

There is one GUI already running using the lightdm service, is it possible to start another such GUI?
0
votes
0answers
14 views

Service Start/Stop

I have a Ubuntu 16.04 server in AWS. I have an app "myapp". I have checked /etc/init.d/myapp. It is there. But when I tried " sudo service myapp start" , it does not the process. What could be the ...
2
votes
1answer
61 views

Run a script as a service in Ubuntu

I have installed elasticsearch . This is how I am running it currently. cd /elasticsearch-6.3.1/bin ./elasticsearch It is working fine. But, I want to run this program as a service. Like, I want to ...
0
votes
0answers
26 views

No internet connection, “The system network services are not compatible with this version.”

I updated my software packages by typing: sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade After restarting my computer, I realized that neither my Ethernet nor WiFi connection was ...
0
votes
1answer
39 views

mysql service always crashes

I'm new with this, so sorry if this is a stupid question, but Mysql service keeps crashing. I found on Internet I should edit my.cnf file and add innodb_buffer_pool_size=64M, but when I try sudoedit /...
0
votes
0answers
20 views

Slow boot after communitheme deinstall 18.04 [duplicate]

I'm getting a seriously low boot speed. After an upgrade I had an issue with communitheme so I uninstalled it, using now the default one. Here's systemd-analyze output: > 1min 3.469s plymouth-...
0
votes
0answers
19 views

Services crashing

This question is a reprise of internet and login spontaneously crash (alas, my luck didn't last long :-( ). After about 2 hours or so after signing in, certain parts of the computer start crashing, ...
0
votes
0answers
68 views

.Net Core console app on Linux will not run as service

I have a continuously running .Net Core (2.1) console app that schedules a number of repeating background tasks using the Quartz.Net scheduler. I am attempting to run the app on a Linux server (16.04)....
0
votes
1answer
110 views

I stopped mDNS with “ sudo service avahi-daemon stop” but it keeps restarting

I want to stop avahi-daemon (mDNS) and have it stay stopped. It seems to restart a bit after midnight. Obviously some sort of periodic job is restarting it but I can't figure out what is. TANGENT: ...
0
votes
0answers
10 views

Is it worth to customize dockerized apps as if they were installed on a simple server system?

I am using Docker to set up some services (HTTP, FTP, ...) Until now, I used to install all of them on the same system as server, so I have been customizing them (default folders they use, users, ... ...
0
votes
0answers
24 views

notify-send ignores timeout if executed through /etc/init.d/service

notify-send ignores timeout if executed through /etc/init.d/service on Ubuntu 16.04 LTS and shows prompt only for 2 / 3 seconds. I have kept timeout to 10 Seconds.
1
vote
0answers
325 views

Every time I install or remove a package I get LVM2 error

I need help dealing with this error. I run Ubuntu Budgie 18.04LTS. anon@computer:~$ sudo dpkg --configure -a Setting up lvm2 (2.02.176-4.1ubuntu3) ... update-initramfs: deferring update (trigger ...
0
votes
1answer
365 views

Slow boot time (Ubuntu 18.04) on SSD

I've come back to Ubuntu; I'm on Dual boot (Windows 10/Ubuntu 18.04) on a SSD with no swap partition. I have a problem. While Windows boot time is just a matter of 3-5s, Ubuntu takes 30-40s. I've ...
1
vote
0answers
185 views

services failing to start - control process exited with error code

I recently upgraded to 18.04 Initially everything went smooth but now services are failing to start... Firslty snapd.service stopped working. Following was the error when i ran systemctl start snapd....
0
votes
1answer
147 views

Disable apache2 service

I'm experiencing a very weird behavior of the apache2 service in Ubuntu 18.04 . I am unable to disable the service, using either systemctl or update-rc.d. I ran both systemctl disable apache2 and ...
0
votes
0answers
103 views

Cron service fails to start

I have an Ubuntu 14.04 and I am trying to start cron service without success. I always get this after running service cron start: Job for cron.service failed because the control process exited with ...
0
votes
0answers
47 views

Connection timeout with rsync

I'm trying to connect to a machine that has rsync setup as a daemon, and I constantly receive: rsync: failed to connect to XXX.XXX.XXX.XXX (XXX.XXX.XXX.XXX): Connection timed out (110) rsync error: ...
2
votes
0answers
96 views

Running a Windows .exe service on Ubuntu (with Mono?) [closed]

I have a service that was coded that I need to move over to linux. Got the code and got it up and running as a .exe on windows to start using installutil. However quite unsure how to get it working ...
1
vote
0answers
370 views

Ubuntu 18.04 change startup service order

My problem is ics-dhcpserver starts before network services so dhcp cannot find interface i can swap/change order for startup services? Regards, Aki
0
votes
1answer
20 views

Upstart service says running but doesn't actually start

I have an upstart configuration file that's worked on my Ubuntu 16.04 VPS in the past (I reverted to upstart for 16.04 using this method here.) After reinstalling the server for a clean slate and ...
1
vote
0answers
28 views

How can I get the order of startup scripts - upstart and systemV

I have an upstart script that must start before a non-upstart (System V) script. I see that while booting, the systemV script starts before my upstart script. How can I check the boot order of these ...
0
votes
0answers
29 views

Set networking so as to turn Wi-Fi on/off when X process is started/interrupted

my aim is to set (through scripts/daemons/whatever piece of software might help) my laptop networking (Wi-Fi in my case) so as to turn on automatically when I start software X (Firefox in my case), ...
2
votes
1answer
124 views

Input command into background service

I have a custom service running in the background for a custom gmod game service. I wrote my own gmod.service file so now I can start it with service gmod start. You can see it below. Is it possible ...
0
votes
1answer
124 views

How to incorporate an environment variable into a systemd option assignment statement

Consider this [Service] option setting in a systemd ".service" unit file: WorkingDirectory=/var/www/my-working-dir Is there syntax for assigning an environment var to WorkingDirectory, something ...
0
votes
0answers
55 views

Start JDownloader2 during boot on Ubuntu 17.04

I know there are already plenty instructions on how to start jdowloader on boot but I tried them all and none did work for me. The easiest was like this I createt a bash file: #!/bin/bash java -jar /...
0
votes
0answers
317 views

How to get past this when starting up Ubuntu 18.04?

This happened to me twice, and ended up with me booting the system from a CD once more. When waiting for the login display to show it stops loading and it's just showing me a lot of "Started" text ...
0
votes
0answers
26 views

Allow specific user to specific service

Hello ubuntu Commutity, I'Ve made my search and ended up posting a question because i did not find a specific answer on how to allow one specific user access to one specific service on Ubuntu 16.04 (...
1
vote
1answer
38 views

Query Service Running as Other User

I've installed a service which runs as another user (for security reasons I don't want it to run as root) and this user account is locked (i.e. can't login). Obviously now when I run commands to query ...
1
vote
1answer
483 views

Ubuntu 18.04 boots slowly

after installing Ubuntu 18.04 with minimal installation, I noticed that it boots slowly here is the output of systemd-analyze blame. 21.048s systemd-journal-flush.service 19.300s dev-sda7....
0
votes
0answers
30 views

Ubuntu User Switch Dbus notification

When a user switches from one user to another without logging out(fast user switch), is there a way to get the notification and to which user the account has logged in currently. This notification ...
0
votes
1answer
32 views

Ubuntu program won't start as a service

Quite a newbie to Linux and servers. I have a program I like to start on boot. Executing the program in its folder works fine. Trying to execute the program from outside of the installation folder ...
4
votes
1answer
343 views

What's the difference between a Job and a Daemon?

I currently am a bit confused with all the terms Linux has for running software. Now these new term job has appeared. What is a job? It's also a process (running software)? Right? But especially: ...
1
vote
0answers
294 views

systemctl --user returns “Unit was not found” on Ubuntu 18.04

I just fresh installed Ubuntu 18.04. I am having an issue with systemd, which worked fine with 17.10. My service files are located in ~/.config/systemd/user. I tried a daemon-reload. didn't work. I ...
0
votes
1answer
679 views

Iptables: unrecognized service

Why below command works correctly: sudo iptables-save But below command has error: iptable: unrecognized service sudo service iptables start An also I install iptables and did below commands ...
-1
votes
1answer
128 views

How to set Service mssql-server to start on boot? [duplicate]

How can i set Service mssql-server to start on boot root@ubuntu-s-1vcpu-2gb-lon1-01:/etc/init.d# update-rc.d mssql-server enable update-rc.d: error: cannot find a LSB script for mssql-server ...
1
vote
0answers
268 views

Avahi daemon necessary? CPU load quiet high

While using htop for some other stuff I noticed a programm called 'avahi-daemon' which is using quiet a lot of my maximum CPU load and definitely more than all other programs. I read it is some kind ...