Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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
2 votes
1 answer
88 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?...
user avatar
0 votes
0 answers
6 views

Service-Daemon Question

i need help with a service that has to run on my default user for a bar script on dwm (im on arch linux) [Unit] Description=bar service [Service] ExecStart=/bin/barfolder/bardaemon.sh Restart=always ...
user avatar
0 votes
0 answers
11 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 ...
user avatar
3 votes
2 answers
85 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 ...
user avatar
  • 197
0 votes
0 answers
13 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? ...
user avatar
0 votes
1 answer
24 views
+50

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] ...
user avatar
  • 49
1 vote
0 answers
65 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 ...
user avatar
0 votes
0 answers
27 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-...
user avatar
  • 3
0 votes
0 answers
48 views

cant re enable lightdm

I ran sudo systemctl disable lightdm.service and now i cant find a way to enable it. Using xubuntu22 LTS What I already tried with output: sudo systemctl enable lightdm.service Synchronizing state of ...
user avatar
0 votes
0 answers
29 views

strongSwan VPN service doesn't autostart until I connect with TeamViewer

I have a remote site with headless NUC (Ubuntu + TeamViewer for remote access), which is running a strongSwan IPSec VPN service (VPN tunnel to my home site). NUC automatically restarts every day (...
user avatar
  • 1
0 votes
1 answer
26 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 ...
user avatar
0 votes
0 answers
103 views

Service Mongodb and Rockerchat can't start

Ubuntu: 18.04, Mongodb version: 5.0.7, Nodejs version: 14.19.1 I have installed Rocket.Chat Server following the steps https://docs.rocket.chat/quick-start/installing-and-updating/other-deployment-...
user avatar
  • 1
1 vote
2 answers
133 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, ...
user avatar
0 votes
1 answer
68 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 ...
user avatar
0 votes
0 answers
20 views

iptables.service active on startup

I've apt installed iptables-persistent and my tables boot on startup as intended. However, the service that is loaded on start up is netfilter-persistent. My compliance script requires the actual ...
user avatar
  • 13
0 votes
0 answers
22 views

How to list services that use the tcp protocol

What command to list services using TCP protocol in Ubuntu? Is this command correct? cat /etc/services | grep tcp Thank you!
user avatar
0 votes
0 answers
87 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 ...
user avatar
0 votes
1 answer
29 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 ...
user avatar
0 votes
2 answers
62 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 ...
user avatar
0 votes
0 answers
10 views

VSFTPD - how to give another user perison to dir

I have ftp_user1 with rwx privilege to /home/user1/ftp/files. I runned python`s program which save file in /home/user1/ftp/files/prog1/dir1. I want to create ftp_another_user, which will have attempt ...
user avatar
  • 37
0 votes
0 answers
37 views

How to start a service on Ubuntu 20.04 via systemctl?

I have an instance running ubuntu 20.04. I've logged into the console via the online GUI 'connect' tool. On the ubuntu instance I've added a service file with below contents: linux_setup: [Unit] ...
user avatar
  • 1
0 votes
1 answer
174 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/...
user avatar
  • 101
0 votes
0 answers
125 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 ...
user avatar
0 votes
0 answers
26 views

How do I create a systemd timer job to edit a file in /etc?

I have a Python script that writes to a file in /etc/software. In order to write to that file you need sudo. I tested the script and it works / writes to the file when using sudo. I want to create a ...
user avatar
  • 1
0 votes
2 answers
102 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 ...
user avatar
0 votes
1 answer
641 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. ...
user avatar
0 votes
1 answer
79 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 ? ...
user avatar
0 votes
1 answer
132 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: ...
user avatar
  • 1
0 votes
1 answer
47 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? ...
user avatar
  • 103
0 votes
0 answers
433 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+. ...
user avatar
0 votes
0 answers
223 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 ...
user avatar
0 votes
0 answers
40 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 ...
user avatar
  • 932
0 votes
1 answer
36 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 ...
user avatar
0 votes
1 answer
54 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=...
user avatar
0 votes
0 answers
33 views

Can I do a mount /a in a custom systemd startup service

I want to do a mount /a or mount /directory in a custom systemd service, is it even possible? my service is my-service.service It currently does not mount on bootup, but if I stop and start the ...
user avatar
0 votes
2 answers
590 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-...
user avatar
  • 206
0 votes
1 answer
3k 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-...
user avatar
2 votes
0 answers
143 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 ...
user avatar
  • 131
0 votes
2 answers
61 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 ...
user avatar
0 votes
0 answers
82 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:
user avatar
0 votes
0 answers
53 views

Linux systemd service not restarting automatically?

I have below systemd service: [Unit] Description=Python Code Requisite=mosquitto.service BindsTo=mosquitto.service [Service] Type=simple User=andrew ExecStart=/usr/bin/python3 /home/andrew/Documents/...
user avatar
  • 414
0 votes
0 answers
45 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?
user avatar
0 votes
0 answers
22 views

Does "service" command use "systemctl" command in core? [duplicate]

Man page of service command: For systemd units, start, stop, status, and reload are passed through to their systemctl/initctl equivalents. Does this mean for systemd units the service command use ...
user avatar
  • 13
0 votes
0 answers
24 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 ...
user avatar
0 votes
1 answer
242 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/...
user avatar
  • 1
2 votes
1 answer
2k 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 ...
user avatar
1 vote
1 answer
249 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 ...
user avatar
  • 13
3 votes
0 answers
48 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 ...
user avatar
0 votes
0 answers
64 views

Set Gsetting proxy setting in golang

I have my golang program running as root service and I am trying to set the proxy setting using the gsettings command in my program. I am able to read these settings in my golang program using the ...
user avatar
0 votes
1 answer
82 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 ...
user avatar

1
2 3 4 5
23