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.
1,229
questions
1
vote
1
answer
890
views
BootUp-Manager no longer available?
As I was looking for a simple GUI-based application to manage services (start, stop, enable or disable at startup), I saw Bum (BootUp Manager) as the most common recommendation.
However, it seems that ...
0
votes
1
answer
376
views
remote stop modem_manager, enable remotely...?
If you stop modem_manager.service, will a power cycle on the unit restart it? or does it need enable modem_manager.service entered?
0
votes
1
answer
19k
views
Failed to start Snap Daemon
I am trying to install Lubuntu on a machine that has Ubuntu on it (BOTH LATEST VERSION)
When I boot with ISO disk it says loading Lubuntu for a long then it says:
OK Finished Plymouth boot
OK Finished ...
0
votes
1
answer
20k
views
Fail to start a process as a service? (code=exited, status=203/EXEC)
I'm new to this forum and to Ubuntu/Linux in general so forgive me if this question isn't up to the community standards.
I need to start a Discord bot java executable process as a service. To do that ...
0
votes
0
answers
117
views
Mic Blue Yeti not recognized after Lock
I'm having an issue: when my Ubuntu 20.4 returns from Lock or Suspend, the Blue Yeti microphone is not being recognized. I am wondering if there is a way to refresh the audio/USB via restart service ...
-1
votes
2
answers
739
views
running systemctl via ssh without asking for password
I want to run ssh without asking for password and invoke systemctl without password
i tried doing the following:
ssh -t <user>@<host> "echo <password> | sudo -S systemctl status ...
4
votes
1
answer
2k
views
How can I create a service in WSL2?
In WSL2, since there's no systemd, it's necessary to use service to monitor and deal with services. I can list all the services with: sudo service --status-all
My question is simple: How can I add a ...
0
votes
1
answer
535
views
OpenResty service hangs though the ExecStart works fine
I'm using the default openresty from the standard package install on Ubuntu on GCP.
Linux bacalhau-vm-0 5.15.0-1010-gcp #15-Ubuntu SMP Fri Jun 10 11:30:24 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
The ...
0
votes
0
answers
204
views
what is the solution to connect with mongoDB?
● mongodb.service - LSB: An object/document-oriented database
Loaded: loaded (/etc/init.d/mongodb; generated)
Active: failed (Result: exit-code) since Sat 2022-06-18 10:38:30 +0545; 49s ago
...
2
votes
1
answer
197
views
Can you paste the original Ubuntu 20.04 syslog.service file content for me?
While adding a new service to the /etc/systemd/system/ folder, I have accidentally edited the syslog.service file and lost its original content.
Can someone paste the original file content here for me?...
1
vote
1
answer
3k
views
Unable to auto start service (SoftEther VPN) on Ubuntu Server 22.04
I am running Ubuntu Server 22.04 in a VMware Workstation VM (Host OS is Windows 11 Pro).
I find that I have to manually start the Softether VPN by running "/etc/init.d/vpnserver start". So ...
3
votes
2
answers
597
views
Disabling fprintd.service prevents boot; How to restore boot?
I've discovered that disabling fprintd.service prevents Ubuntu Desktop 22.04 from booting.
Specifically, a number of [DEPEND] dependency failures scroll rapidly past the screen in tty1, too fast to ...
0
votes
0
answers
926
views
How to start manually-installed OpenSSH, and run at boot
I've manually built an older version of OpenSSH with make + make install, for educational purposes.
Is it possible to start it with sudo systemctl restart ssh, as when we install OpenSSH from apt-get?
...
0
votes
1
answer
691
views
Unable to get service rate limiting to work with systemd 237
I have read the systemd man pages and also some Q&A here related to StartLimit*
I tried what is recommended for newer versions:
[Unit]
StartLimitBurst=5
StartLimitIntervalSec=90
[Service]
...
1
vote
0
answers
3k
views
How to clean up Ubuntu 22.04 active services that are not needed when used as a virtual machine and only for light predominantly non-GUI usage?
I'm using Ubuntu 22.04 in a relatively light fashion. My use case is in a virtual machine that runs all of the time, but very occasionally I need to use the graphical user interface. I did this on ...
0
votes
0
answers
855
views
apt-daily.service timer-activated. Still need to "enable" apt-update in 20auto-upgrades?
Question summary: Why do I have to configure 20auto-upgrades to do an update of the package lists, although I am already running apt-daily.service systemd-timer-based?
If I don't, then unattended-...
0
votes
1
answer
768
views
Log coredump file from systemd service?
I'm running a mosquitto broker (2.0.14 from the dev ppa) on Ubuntu 20.04.4. Periodically, I'm seeing messages like the following:
Apr 18 07:44:19 mittServer systemd[1]: mosquitto.service: Main process ...
1
vote
2
answers
628
views
How to stop a service when a CIFS share becomes unavailable?
I have a service that is started by a script /etc/init.d/foo. When a certain CIFS share (//fileserver/multimedia on /home/username/multimedia type cifs) becomes unavailable for any reason (unmounted, ...
0
votes
1
answer
497
views
To disable and remove the ping service
Does it just possible to use only firewalls or software restrictions on operating systems to do it?
Can the service itself be disabled without the need for other software? (Example systemctl disable ...
0
votes
0
answers
2k
views
upower.service fails to start ubuntu 20.04
I just upgraded from Ubuntu lxde 18.04 to Ubuntu lxqt 20.04, and I encounter some problems with upower.service not starting properly (at boot-up and when I try to launch the service with sudo service ...
0
votes
1
answer
286
views
Create a systemd service for starting LAMP &c
I have a Linux-box with Ubuntu that I use for development. I have disabled Apache, MySQL (well, MariaDB) and PostgreSQL (and a couple of other services), and would like to write a systemd service ...
1
vote
2
answers
2k
views
how to have regular user to use port 80 on ubuntu?
I am login as a regular user on ubuntu server, and I need to start up a service at port 80. As of now, it does not allow me to do that, as it is reserved for admin users.
But I do see a same type of ...
0
votes
1
answer
5k
views
systemd drop-in unit, ExecStartPre as root user, ExecStart as custom user
I have a web service running using systemd, this service runs by its own user, and I would like to execute some ExecStartPre commands but running as root user. So more in detail:
i.e /lib/systemd/...
0
votes
0
answers
2k
views
Can't start mongod from systemctl
I've tried to install MongoDB 5.0 Community edition on Ubuntu 18.04 from the Official doc: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/
Everything went fine until I tried to run ...
1
vote
2
answers
542
views
Issue with sleep mode: device gets stuck and needs restart (will not wake)
When I activate sleep mode, my laptop gets stuck and hangs. I have to switch it off and it takes a long time to open with the power switch.
I'm using kubuntu 21.10 my kernel ver:-5.13.0-28-generic
...
0
votes
1
answer
2k
views
Create a Systemd service in Ubuntu to run MKDocs
I am running a server with MKDocs for documentation.
In order to use the MKDocs from the directory where the project is you need to run mkdocs serve -a 192.168.3.107:8080 in order to get it to start.
...
0
votes
1
answer
3k
views
nscd as a system service: how do I get that?
Installing Guix (the package manager) in my Ubuntu 21.10
The Guix manual says, among other things, that the system should be running a service called "nscd"
How do I get such a service ?
...
0
votes
1
answer
1k
views
Permission denied when attempting to run the binary from /usr/bin on bootup
I am writing a service that shall run a binary sitting in /usr/bin however on bootup, I see the service kicks in however the binary fails to run due to permission issues.
/etc/rc5.d/S99_ServiceFile: ...
0
votes
1
answer
120
views
Transfer an Ubuntu Server 32bit that runs on a Raspberry Pi, to a normal 64bit server
I have an Ubuntu Server (32-bit) running on a Raspberry Pi. Is it possible to transfer this OS to a normal 64-bit server so that I do not have to install all the running services from the beginning? ...
0
votes
0
answers
3k
views
Failed to start Celery Service
I am trying to daemonize celery on Linux. And after ironing out a lot of errors and reading through tons of configuration. I am unable to run Celery. I am running Ubuntu 20.04 and Celery 5.2+. ...
0
votes
0
answers
1k
views
Execute script every time a user login/logout using a service (gdm)
I'm a newbie in linux and I'll be glad for any help.
I'm using gdm and I want to execute a script **every time** a user login/logout .
To see that the mechanism works, I tried at first to execute the ...
0
votes
0
answers
1k
views
Using a non absulte path for Exec on a systemd user service
I've created a unit to run at user login, but when trying to start it, I get the following error:
/home/myUser/.config/systemd/user/myUnit.service:5: Neither a valid executable name nor an absolute ...
0
votes
1
answer
89
views
Old LEMP stack WordPress site won't deploy any more
I've inherited a WordPress 5.7 site running on an Ubuntu 16.04.3 x64 droplet, which uses a separate DigitalOcean managed MySQL 8 database.
The WordPress site is a Trellis LEMP stack site. PHP version ...
0
votes
1
answer
152
views
usbip service setup PID file
I have this config in my /lib/systemd/system/usbip.service file, but I want the service to write a PID file to /var/run/usbipd.pid.
[Unit]
Description=usbip client
After=network.target
[Service]
Type=...
1
vote
2
answers
5k
views
Is it possible to start snapd.service after boot finishes?
snapd.service takes a relatively long time to run at boot, so to speed up booting can I instead start the service after booting is finished?
here is the result of systemd-analyze blame:
> systemd-...
0
votes
1
answer
11k
views
docker: unrecognized service when installing CUDA
WSL2 Ubuntu 20.04.3 LTS
kernel image: 5.10.60.1-microsoft-standard-WSL2
I am trying to install CUDA according to the instructions here: https://ubuntu.com/blog/getting-started-with-cuda-on-ubuntu-on-...
3
votes
1
answer
2k
views
How to start a systemd service after completion of another systemd service of type "simple"
I have seen similar questions but none of them address the situation I am facing. My service A is defined as follows (Note Type=simple).
[Unit]
Description=Sample service A
Before=shutdown.target
...
0
votes
2
answers
541
views
No Error with Cron but does not work
I have written a simple python script that sends notifications using Pushbullet. The command works perfectly in the terminal but does not work automatically. The syslog for Cron:
Nov 29 18:33:01 ...
0
votes
0
answers
369
views
Quagga, Zebra routing manager daemon does not start
When I run zebra.service start I get an error saying the unit file changed and it does not start:
0
votes
0
answers
200
views
How to access HTTP service by typing IP address in Firefox?
My ip is 192.168.142.128. But I can't access it.
I'm running Ubuntu in Virtualbox.
How can I fix this?
0
votes
0
answers
43
views
How to harden security on services in ubuntu? [duplicate]
I was auditing my computer (with lynis) and then I saw that I have bad security on almost all of my services when I run "sudo systemd-analyze security SERVICE". I was wondering if there was ...
0
votes
1
answer
1k
views
error: sudo service apache2 start Job for apache2.service failed because the control process exited with error code
after editing the file "/etc/apache2/sites-available/default-ssl.conf", I noticed that my site was running much slower, so I rewrote the file from 0 with this (htps:/gist.github.com/...
12
votes
4
answers
26k
views
Error running systemd as user - Failed to connect to bus: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined
I have a script that is running as root and am trying to have it setup a user service to run an IPFS daemon. The problem is that I need to enable the service as the user rather than as root. It ...
1
vote
1
answer
872
views
Using rTorrent UI while running as daemon
I have rTorrent running as a daemon on my headless server, but I can't access the UI in any obvious way per the config or instructions online. I'd like to be able to pass in magnet links and manage ...
2
votes
0
answers
594
views
How to make service A stop if service B crashes or stops
Using system-d:
I have 2 services (Service A and Service B). Service B needs Service A to always be running. If service A ever crashes or is stopped, Service B should also be immediately stopped ...
0
votes
1
answer
451
views
SoftEther service is not starting
I've followed this guide 3 times and every time I've destroyed the VM and started fresh.
SoftEther service is not starting automatically after reboot. Manual start works fine.
I'm not a seasoned ...
0
votes
1
answer
433
views
Minimal system services(units) and default targets
Please forgive what may seem like a naive question. I have 30+ years in windows development and IT management, but rarely use Linux. I have an elderly laptop with only 4Gb mem and 4 core @ 2.53Ghz... ...
0
votes
1
answer
136
views
See what services were restarted during apt installation
When installing packages with dpkg, I'm getting the following warning:
I don't mind restarting the services, but I would like to know what services were restarted. Is there a way of knowing?
# cat /...
0
votes
1
answer
586
views
Can I make Apache only start once the system got its address from DHCP?
I am running Ubuntu in a VM for the purpose of having a local Wordpress installation, needed to do some local testing.
To this end I configured this machine's networking mode in VirtualBox to bridged, ...
0
votes
1
answer
532
views
Service file don't see /home/user files and folders - ubuntu 20.04
I make service file, vaultwarden.service to look like this (here showing just part of it):
# The user/group vaultwarden is run under. the working directory (see below) should allow write and read ...