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

How to install custom service in ubuntu 18 and windows both via bash file for both OS [on hold]

i have to deploy a custom service on cloud which they need to install and start i have to create script for start them and stop them as well and install them too
1
vote
1answer
59 views

How to fix system upgrade failure?

$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages were automatically installed ...
0
votes
0answers
24 views

Service telnet failed to start and is deactivated

I want to use telnet so i followed the instructions on internet and did following :- Installed xinetd & telnetd sudo apt-get install xinetd telnetd Created a File named telnet in /etc/xinetd.d/ ...
0
votes
0answers
23 views

Systemd cant find my 'start.sh' file?

so i am trying to get a minecraft server running as a service of systemd my minecraft.service has this content: [Unit] Description=Minecraft Server After=network.target [Service] WorkingDirectory=/...
2
votes
2answers
252 views

What is the use of systemd-journal-flush.service?

It slows my system boot time. Can i disable it? What will happen if i disable it on boot? I am using Ubuntu version 18.04.
1
vote
1answer
182 views

Install Redis-Server on Ubuntu 16.04 LTS minimal

I have got a question and hope that somebody can help me. I own a vServer on a OpenVZ basis (I hate the kernel limitation) and can't install Redis. What do I do: Clean install Ubuntu 16.04. LTS ...
1
vote
1answer
66 views

How to setup a systemd service with root access?

Description I am trying to make a systemd service file to run a python script to print something using thermal printer. escpos is the library I am using to access the control of thermal printer. ...
0
votes
0answers
11 views

Snappy daemon failed but goes to login window and then goes to infinite login loop

I am using VMware workstation 12 pro. Now I restarted the machine after updating the path. PATH=/usr/local/systemc/lib-linux64$PATH (did that cause the problem??) Now at starting it says "Snappy ...
0
votes
0answers
72 views

Can't start mariadb after reboot in Ubuntu 18.10?

status systemctl status mariadb.service ● mariadb.service - MariaDB 10.3.10 database server Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled) Drop-In: /...
0
votes
1answer
117 views

ERROR: Couldn't connect to Docker daemon at http+docker://localhost + Segmentation Fault on docker daemon

I installed docker at my raspberry pi zero w running the latest raspbian with curl -sSL https://get.docker.com | sh and docker-compose with sudo pip install docker-compose When I run docker-...
0
votes
0answers
182 views

update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults

I have recently installed snmpd on my Ubuntu 16.04 VM. I was trying out few things and at some point I wanted to restart the application using service snmpd restart It did not work, giving the ...
0
votes
1answer
372 views

How to resolve “service start-limit-hit”

I am trying to run a Node.js API as a service, but am running into problems. When running systemctl status servicename.service I get the following error: servicename.service - [Service description] ...
0
votes
1answer
82 views

Start Service with Sudo

I am trying to run an Express API server with sudo permissions and have it automatically start on boot. The API needs access to bcm2835 library, and I get the following when trying to run node server....
1
vote
1answer
67 views

Change PostgreSQL PGDATA variable with systemctl

I want to change the postgres' data directory to /home/postgres/data editing th postgresql.service instead of change the file /etc/postgresql/10/main/postgresql.conf. So, I edited the service with ...
0
votes
1answer
64 views

How to permanently close a port?

I tried first adding a firewall rule sudo ufw deny 22 $ sudo ufw status To Action From -- ------ ---- 22 DENY ...
0
votes
0answers
17 views

What are daemon processes used for? [duplicate]

I made some researches on the internet, but I could not find a detailed explanation which clarifies what daemon processes are used for and what their tasks are in the system. Is there anyone who can ...
0
votes
0answers
45 views

Ubunto 18 Boot time is too long

My Ubuntu is taking too much boot time. Below is details systemd-analyze critical-chain The time after the unit is active or started is printed after the "@" character. The time the unit takes to ...
0
votes
0answers
51 views

I can't get SpamAssassin to start

When I try to start SpamAssassin I get an error message saying: Job for spamassassin.service failed because the control process exited with error code. See "systemctl status spamassassin.service" and ...
1
vote
0answers
29 views

Dead references in services list

This question is a follow up to Strange symbols in front of suspicious services I have the following are dead service references om my AWS EC2 instance that is running as an email exchange for my ...
2
votes
2answers
120 views

lsyncd enabled service is not autostarting on PC restart - Active: inactive (dead)

I have super simplified the question by merging all the previous edits lsyncd config file /etc/lsyncd/lsyncd.conf.lua settings { logfile = "/media/blueray/WDRed/_LsyncLog/lsyncd.log", ...
0
votes
1answer
119 views

How can I start a Qt GUI application on boot without a display connected?

I need to run a Qt GUI App on every system start and run it forever. I have created a system service for it. Here is the service file content: QtGUIAPP.service [Unit] Description=QtGUIAPP [Service]...
0
votes
0answers
77 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? to ...
0
votes
0answers
17 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
26 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
28 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
46 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
91 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
13 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
296 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
55 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
63 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
69 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
37 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
67 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
94 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
33 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
81 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
69 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
167 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
66 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
20 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
36 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
439 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
145 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
113 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
521 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
36 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
172 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
137 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. ...