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

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
0answers
5 views

cgroup manager daemon

Ubuntu 18.04.1. Cgroups is not installed. System jobs admin shows checked: Cgroup manager daemon (cgmanager) Cgroup manager daemon (cgproxy) I can not uncheck these items. How can I remove them?
0
votes
0answers
14 views

How to make Oracle database services not start when I turn on my laptop

How do I get Oracle Database Express Edition 11g Release 2 services to not start at boot until I manually activate them? As it is, I have to run sudo service oracle-xe stop to stop the services every ...
0
votes
0answers
12 views

How to Create a Node.js Service for System Boot

I am trying to run a Node.js application each time my computer boots. To start the application I need to run sudo pm2 start /path/to/app.js. I have created a pm2.service file in /etc/systemd/system/ ...
0
votes
0answers
58 views

My Ubuntu 18.04 Laptop takes minutes to boot (used to be 5-7 seconds)

here is the systemd-analyze blame output > 44.332s systemd-journal-flush.service > 42.524s dev-sda2.device > 35.956s keyboard-setup.service > 33.734s ...
0
votes
0answers
12 views

Running a service with an integrated chromium browser instance

I'm developing an application which is meant to run in kiosk mode. That means, when the machine is switched on, the OS (Xubuntu 18.04) is launched and it starts the application, which has these parts: ...
0
votes
1answer
32 views

Why is apache2 failing to start the service?

Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details. root@rick-hp:/home/rick# systemctl status ...
0
votes
0answers
17 views

Slow boot on SSD [duplicate]

I use Ubuntu 16.04 LTS with new SSD (4 months old), I had boot time like 5-8 seconds. But some time ago my boot time increased to around 1 minute. Can you help me please what is the problem and how ...
0
votes
2answers
30 views

How do I pass flags when starting a systemd service?

Note a similar question has been asked: How to pass flags when starting 'service'? But I read a while back that Linux switched from init.d to systemd, and since that Q&A are 6 years old ...
0
votes
0answers
12 views

how to check & change the sequence of service getting started?

I think the sequence can be found in /etc/init.d directory based on starting letter and priority number....is that true? I created two service with different priority to print messages but it was not ...
0
votes
0answers
100 views

avahi-daemon not setting up

For the last week or two I've been getting a package installation failure when I update Ubuntu 18.04. The following text appears in the Details window: Setting up gnome-session-flashback (1:3.28.0-...
0
votes
1answer
41 views

Ubuntu 16.04 - Using watch command to check file for output and stopping service

Is it possible to use the watch command to see if a file exists, and if it does then stop a service? Or possibly, as a workaround, check the content of the file and then stop a service? I was looking ...
1
vote
0answers
25 views

Why is VSZ so huge for the Gnome goa-daemon?

Trying to track down memory usage on my Ubuntu Bionic Beaver system. Why does ps report such a huge VSZ for Gnome's goa-daemon? $ ps -eo pid,vsz,sz,rss,comm --sort -vsz| head PID VSZ SZ ...
1
vote
1answer
34 views

How to run a unit-file as service for all users

I am trying to run ssh-agent by each ssh-session for each user (let's say I have userA with root privilege and userB withOut these privilage ). To do so, I've created a unit-file based on this stack-...
0
votes
1answer
34 views

How to disable services when Ubuntu loads? [duplicate]

I need to disable docker services when Ubuntu 18.04 starts. I tried with: update-rc.d -f <service> remove but this doesn't work.
0
votes
1answer
41 views

Setup Kiosk—convert Upstart to Systemd

Following this great tutorial https://thepcspy.com/read/building-a-kiosk-computer-ubuntu-1404-chrome/ which unfortunately is for ubuntu 14.04, I have started out to do that using ubuntu 18.04 LTS. ...
3
votes
2answers
64 views

When we enable any service using systemctl, in which runlevel would that service run?

As far as I know when we boot Linux system the services mentioned in runlevels (rcX.d) would be started. If we enable any service to start during boot-up using systemctl command then will that ...
0
votes
2answers
32 views

Using watch command (or other method) to stop service when a file changes

I need a service stopped when a change happens in a failed.log file. I was looking at the watch command to do this: watch -d -g -t 'ls -l /home/username/*failed.log' This command will check if the ...
0
votes
1answer
39 views

Permission denied in opening device file at service in boot time

I change the ntp.conf file to read time from a device: server 127.127.8.0 mode 2 # standard time from device server 127.127.1.0 # local clock fudge 127.127.1.0 stratum 12 The device file is /dev/...
1
vote
1answer
58 views

Service uuidd won't start automatically after reboot

I'm not proficient in Ubuntu or Linux in general, so I can't figure out this issue I'm experiencing. I'm setting up a new Ubuntu 16.04 machine with an image from one of our customers. For some reason,...
0
votes
0answers
65 views

Service command in Linux

service command working properly for services in /etc/init.d but unable to start,stop, restart other services which graphically exist and can run by clicking them like firefox, tor. I use to run these ...
0
votes
0answers
17 views

Creating a new daemon in vyatta-quagga

I am trying to create a new daemon in the parallel to rip, ospf and other protocols and connect it to zebra. I have tried to follow the steps in this link: https://www.nongnu.org/quagga/zhh.html but ...
0
votes
0answers
36 views

unable to update or upgrade using apt-get

When I run sudo apt-get upgrade, I get the following error, Extracting templates from packages: 100% Preconfiguring packages ... (Reading database ... 331810 files and directories currently installed....
1
vote
0answers
15 views

How to control whether the initd script or the systemd unit file is used to start/stop/control the service?

Some packages, like apt-cacher-ng provide both a /etc/init.d/apt-cacher-ng and /lib/systemd/system/apt-cacher-ng.service. That might be a good or bad idea (in comparison to providing an apt-cacher-ng-...
0
votes
0answers
31 views

feh can't open display

I have written a python script that displays the image from the URL. def image_func(link_image): img_cmd = "feh -F %s" %(link_image) os.system(img_cmd) os.system("pkill feh") If I ...
0
votes
1answer
179 views

Apache2, MySql not able to start in ubuntu 18.04

Trying to start Apache from terminal using following command: systemctl start apache2.service when executing that command getting below error: Job for apache2.service failed because the control ...
1
vote
1answer
81 views

I can't restart the apace2 if I open the SSL port 443 in file of `/etc/apache2/ports.conf ` in ubuntu 18.04LTS

I get a problem in 18.04.I want to configure the SSL for my website, so I edit the profile in etc/apache2/ports.conf and add the line like Listen 443, but when I do service apache2 restart the apahce ...
0
votes
0answers
50 views

bluetoothd fails to start Ubuntu 16.04 LTS

The bluetooth daemon is not running. Previous answers to similar questions have blamed some sort malfunction related to apparmor but I have completely uninstalled apparmor and the problem is still ...
0
votes
0answers
262 views

sysv-rc-conf AND rcconf

it seems that sysv-rc-conf and rcconf is not available in 18.04. Is there any alternatives for user, who connects into Ubuntu 18 system remotelly via Putty? Thank you.
0
votes
1answer
29 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
87 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
57 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
372 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
16 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
147 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
10 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 ...
2
votes
1answer
578 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
1answer
258 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
38 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 ...
1
vote
1answer
276 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
1k 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
42 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
43 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
16 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
132 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
59 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
81 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
25 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
215 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
280 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: ...