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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
7k views

How to setup my systemd service ExecStart correctly?

I'm trying to setup a service with systemd services but I'm getting an error and I can't understand what's wrong with it. [Unit] Description=Vinematik Service After=network.target ...
Önder Sümer's user avatar
0 votes
0 answers
12k views

Loaded: Bad-setting ( Reason unit tomcat.service has bad unit file setting.) am using ubuntu20.04

[that is the error coming out after trying to run tomcat with sudo systemctl status tomcat] [output] tunji@tunji-HP-EliteBook-840-G4:~$ sudo nano /etc/systemd/system/tomcat.service tunji@tunji-HP-...
shola Jolaosho's user avatar
1 vote
0 answers
821 views

Isn't a status of active (exited) an oxymoron?

How is one supposed to interpret a status of "active (exited)" on a service such as SSH or SSHD? (This is the results of the command: sudo systemctl status sshd How can it be active if it exited? ...
NealWalters's user avatar
0 votes
0 answers
2k views

starting and running plex media server?

How do I start plex and navigate to its configuration page? thufir@dur:~$ thufir@dur:~$ sudo systemctl status plexmediaserver ● plexmediaserver.service - Plex Media Server Loaded: loaded (/lib/...
Thufir's user avatar
  • 4,551
2 votes
1 answer
5k views

Snapd service error: cannot communicate with server [duplicate]

If I run any snap command it fails. I found out that snapd service is not running. I tried to start it but this error showed up Job for snapd.service failed because the control process exited with ...
RYOK's user avatar
  • 151
1 vote
1 answer
562 views

How to prevent systemd from starting services that have RequriedBy on a particular service and/or target

I am trying to write a simple service that just checks if a USB device is connected. Below,is the unit file's content for the service: cat /etc/systemd/system/check-usb.service [Unit] Description=...
g.geo's user avatar
  • 11
1 vote
1 answer
132 views

Creating a deamon to run .sh

I have been playing around with it for a little while but am pretty stuck with creating a service to run a script. The script I am trying to run is as follows. #!/bin/sh while true do sudo bbb-...
Robb Webb's user avatar
2 votes
0 answers
2k views

Redis service won't restart after reboot

After an upgrade of my server (Ubuntu 18.04.4 LTS). The Redis service refused to start: ● redis.service - Redis In-Memory Data Store Loaded: loaded (/etc/systemd/system/redis.service; enabled; ...
COil's user avatar
  • 900
0 votes
1 answer
258 views

How can I reload the Ethernet service (without stopping the current connection)?

I'm working on Ubuntu 18.04, and I need to reload the Ethernet service (only the Ethernet one) without stopping the current Internet Connection (download/upload). I need to use only then the Bash ...
maxwatt's user avatar
  • 488
1 vote
0 answers
2k views

Systemd service cannot open display

I am using systemd service to auto-run a shell script when the system boots.the shell script is used to run a python code that code includes cv2 to use the camera and it works fine when the system ...
Ahmed M.B's user avatar
0 votes
2 answers
490 views

Running rclone sync on shutdown

I wanted my cloud storage sync to be performed during system shutdown. For this purpose I use rclone with MEGA cloud storage. So, thanks for guide-writers I got the next: run_on_shutdown.service: [...
Yevhenii Nadtochii's user avatar
0 votes
0 answers
229 views

KDE plasma startup time on Xubuntu

Thanks for stopping by to read this and many thanks in advance. Im running Plasma KDE as an second DE on Xubuntu 18.04.The laptop is an old one with relatively good specs and the root partition is on ...
Kaushik's user avatar
  • 33
2 votes
0 answers
588 views

Disable checking nonexistent partition

I use Ubuntu 18.04.4 LTS and recently I replace my hard disk with another and change /etc/fstab file: # <file system> <mount point> <type> <options> <dump> <...
Dili Dup's user avatar
1 vote
1 answer
15k views

Why wont the docker service start?

When I type sudo service docker start I get this error: Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" ...
TheRealTengri's user avatar
0 votes
1 answer
231 views

Mysterious __dummy__ file appeared in my Downloads folder

While unpacking the zip file I got from the Internet (which I had prepared myself before on the other machine I owe) a Mysterious __dummy__ file appeared in my Download folder for a brief moment. It ...
MTP's user avatar
  • 1
0 votes
1 answer
485 views

Find out which services are safe to stop from starting up on system boot

I have an ubuntu 18.04 and I've installed some applications like mongodb, kubernetes, docker, etc. Now my system is really slow when booting up and sometimes it freezes when I'm working. I don't use ...
Farzin's user avatar
  • 101
0 votes
1 answer
5k views

Permissions problem with Sonarr move

I am having a problem getting Sonarr to post-process downloaded files, then move them to my Plex media folder. Sonarr runs as myuser and Sabnzbd runs as sabnzbd. Sabnzbd downloads to /home/sabnzbd/...
StackExchangeGuy's user avatar
2 votes
2 answers
15k views

How to disable unnecessary services starting at boot in Ubuntu 18.04?

I have disables the boot animation in my Ubuntu 18.04 machine, now I can see all the services(such as snap, postgresql, mongodb etc.) that are loaded during the boot process. Some of the them are ...
Rumesh Madhusanka's user avatar
1 vote
0 answers
361 views

How to turn on vlc background play?

I want to play song in background. But when I click cross button on window title-bar vlc stop. I already tried systray icon and run as daemon process. Not working. Maybe I am doing wrong. But is there ...
Bapi's user avatar
  • 359
0 votes
1 answer
52 views

Is it possible for a bug in the source code ports of the network(TCP/IP)?

That may not be a logical question. But I would like to understand this. Any service that provides services on the Internet Has a set of specifications and ports based on standards and tasks. To ...
hami zahedi's user avatar
1 vote
0 answers
877 views

saned.socket vs saned

I'm running Ubuntu 19.10 and I've successfully managed to configure an Epson network scanner in my LAN using sane utility. Although the scanner works fine, command sudo systemctl status saned shows ...
dcfg's user avatar
  • 113
0 votes
1 answer
296 views

How to show service notifications on the desktop

I want to show sshd.service notifications on the desktop to know if someone is connected to my PC using ssh. I could track changes by using terminal and running journalctl -t sshd -f, but it requires ...
Gryu's user avatar
  • 7,559
1 vote
1 answer
730 views

Ubuntu how to add deamon to start

I have Ubuntu 18.04 I have bitcoinz node installed on my Ubuntu. Generally I start it with this command: /home/user1/bitcoinz/src/bitcoinzd -datadir=/home/user1/bitcoinz/data > /dev/null 2> /...
Robert's user avatar
  • 125
1 vote
1 answer
285 views

Running multiple web services on one website

I want to run two different services at two different ports at a Ubuntu VPS. For this purpose I created two different service files /etc/systemd/system/myfirst-server.service and /etc/systemd/system/...
Zeb's user avatar
  • 11
3 votes
0 answers
2k views

How can I ensure existence of the WorkingDirectory path within a systemd service file?

I am using systemd services to keep my NodeJS packages running. [Unit] Description=MyNodePackage After=network.target [Service] WorkingDirectory= /home/me/.config/MyNodePackage ...
Jaid's user avatar
  • 31
1 vote
1 answer
885 views

How to remove sabnzbdplus service?

I recently removed Sabnzbdplus from my ubuntu 18.04 install via the software centre but on startup I still get the message: starting LSB:sabnzbd+ (and then a description of the program) How do I get ...
Simon Tinsley's user avatar
2 votes
0 answers
849 views

update or upgrade ubuntu pc from another computer on the local workgroup network

How to share updates between ubuntu computers on the local workgroup network Any option like windows 10 os?
worldopendirectory's user avatar
0 votes
0 answers
108 views

showing error while starting ubuntu

I have facing some errors while starting ubuntu desktop. I can't starting ubuntu. See below screenshot: How to start my OS. Anyone please fix this issus?
Sabbir's user avatar
  • 181
0 votes
1 answer
3k views

systemctl enable fprintd.service fails

Ubuntu 19.10 The fprintd.service file exists in /usr/lib/systemd/system. sudo systemctl start fprintd.service works - starts the daemon I want the fprintd.service to start on boot before login sudo ...
Randy Broman's user avatar
-1 votes
1 answer
102 views

Error in restarting my mysql services using xampp in ubuntu 18.04 LTS

I installed xampp and for that period of time it worked but after i restarted my system the localhost was not running my php file i tried: $ sudo /etc/init.d/mysql start but there is no mysql in /...
vagdonic's user avatar
9 votes
1 answer
10k views

Boot stalls due to "Dependency failed for Hyper-V KVP Protokol Daemon."

I'm using Proxmox and ubuntu-18.04.3-live-server-amd64.iso. After every restart I get this: A start Job is running for sys-devices-virtual-mis-vmbus\x21hv_kvp.devices After 1m.30s, it prints ...
Noxxic's user avatar
  • 91
0 votes
0 answers
383 views

Error while running jar as a service on ubuntu

I am trying to run a simple jar file as a service in Ubuntu. Below is the content of my bash script (/opt/ashish/ser/my-webapp.sh) which runs jar #!/bin/sh sudo /usr/bin/java -jar Main.jar and ...
yetanothercoder's user avatar
0 votes
1 answer
907 views

Cannot see process of service in top or ps

Status of my Postfix service is systemctl status postfix: ● postfix.service - Postfix Mail Transport Agent Loaded: loaded (/lib/systemd/system/postfix.service; enabled; vendor preset: enabled) ...
MrCalvin's user avatar
  • 413
1 vote
1 answer
112 views

service --status-all | grep <anything> always returns [ ? ] entries [duplicate]

Trying to get the state of a service that is running (or not). I use service --status-all | grep <service> and no matter what I enter for <service>, I always get: [ + ] <service I ...
chow's user avatar
  • 225
6 votes
1 answer
3k views

Command to list systemd services that run on startup in the order in which they run?

Is there a command to list systemd services that run on startup in the order in which they run? I'm using 18.04
John's user avatar
  • 73
0 votes
0 answers
366 views

Fix slow boot on Ubuntu Desktop 18.04

It's been a few days since I've installed Ubuntu for the first time and the boot time is quite slow. I read many threads about it and tried different ways to solve the problem but nothing worked, I ...
user avatar
1 vote
0 answers
1k views

rsyslog suspending while creating directories and files

I'm using Ubuntu 18.04.3 LTS (Bionic Beaver) for details click here. rsyslog version used rsyslogd 8.2001.0.aeabf0e9703b for details click here. /etc/rsyslog.conf file click here. I copied the ...
Hrish's user avatar
  • 2,343
1 vote
0 answers
172 views

Should these services, including Tor, be starting at shutdown?

Lately when I shutdown my computer it takes a long time to power down, and on at least two occasions it has actually stayed on after the screen goes black (LEDs and fans still operating). So I started ...
Matthew Watson's user avatar
1 vote
0 answers
8k views

Why this systemd service get failed?

I'm using Ubuntu 18.04 server I created systemd file called socket-io.service with the location like this Created Systemd Service vim /etc/systemd/system/socket-io.service [Unit] Description=...
soldier's user avatar
  • 479
0 votes
0 answers
375 views

bluetooth refusing to restart

i have been trying to use some development blue low energy library that require some pyhton modules and experimental ble mode library requirements: https://github.com/NordicPlayground/fw-nrfconnect-...
Ramy Ezzat's user avatar
1 vote
1 answer
1k views

Freeze when using notify-send from systemd service

I have the following Python script: # /path/to/__main.py__ [..] subprocess.call("DISPLAY=:0 dbus-launch /usr/bin/notify-send -i dialog-information \'foo\' \'bar\'", shell=True) [..] and the ...
SilverJan's user avatar
  • 111
4 votes
3 answers
2k views

Taking an action after connecting a USB-to-Ethernet adapter

When I connect a USB-to-Ethernet adapter (that has been previously used), I receive a MAC address, and then if there's something connected on the other end I receive also an IP address (192.168.1.1 in ...
dargaud's user avatar
  • 948
1 vote
1 answer
3k views

systemctl list-unit-files does not show my service

When I execute systemctl list-unit-files does not show my service command it does not show my service (called example). What can be the reason of that? init.d file location: /etc/rc.d/init.d/...
user2695543's user avatar
0 votes
1 answer
11k views

Restart service from bash script

I'm trying to restart a service myservice from a service that is run as a daemon. I've created a file called myapprestart in /etc/sudoers.d/ that looks like this %myuser ALL=NOPASSWD: /bin/...
jidexl21's user avatar
  • 103
0 votes
1 answer
940 views

Why can't I unmask mongod.service?

Running sudo service mongod start yields Failed to start mongod.service: Unit mongod.service is masked. Running systemctl list-unit-files indeed shows mongod.service ...
Teresa's user avatar
  • 103
8 votes
1 answer
4k views

Unit -.mount is masked

I have this message while running apt update Unit -.mount is masked. I don't see any file or link to a service like -.mount.service in /etc/systemd/system or /etc/systemd/user or ~/.config/systemd/...
Stephen Boston's user avatar
1 vote
0 answers
207 views

systemd service: wait for VirtualBox host mount

I have a service set on a VirtualBox VM that needs the host share to be mounted. Here is what I have tried: I have tried each of the preconditions one at a time -- and all together as I have posted ...
Stephen Boston's user avatar
0 votes
1 answer
1k views

Failure to restart the OS through Python program which is running through services

I have written a Python program to restart the server running on Ubuntu 18.04 using: os.system("shutdown -r -t 1"). When the service is loaded the program OS is not restarting, but on the independent ...
Gopal Kalpande's user avatar
1 vote
0 answers
1k views

Cannot boot Ubuntu (failed to start mysql community server)

I could not boot my Ubuntu today (the version is 18.04). It shows: [OK] Started hold until boot process finishes up. [Failed] Failed to start mysql community server. See 'systemctl status mysql....
Shijing Liu's user avatar
49 votes
7 answers
12k views

What does this docker log entry mean?

Some minutes ago my computer crashed because apparently my hard drive was full. After booting in recovery mode I then found out that my syslog file in /var/log was 64GB large. I saved the end of the ...
Philip Z.'s user avatar
  • 760

1
5 6
7
8 9
25