Questions tagged [systemctl]

systemctl is the main command to control and introspect the systemd Linux init system.

Filter by
Sorted by
Tagged with
1
vote
3answers
80 views

systemctl --user cannot start docker containers on Ubuntu 20.04

I am in the process of migrating some services from Ubuntu 18.04 to 20.04. In 18.04 I run these services under a non-root user. All these services start a docker container, and they're working just ...
0
votes
1answer
38 views

listing Systemd target unit's dependencies in a machine readable format

I have a complex systemd target unit with a number of dependency units. I would like to list and parse the status of these without falling back to a loop. the 'list-dependencies' sub-command only ...
0
votes
1answer
27 views

Cannot start services on CentOS 7

Suddenly, I cannot start services on my VPS(CentOS 7). For example, service httpd start Redirecting to /bin/systemctl start httpd.service Authorization not available. Check if polkit service is ...
0
votes
0answers
16 views

Prevent to use systemctl poweroff and systemctl reboot for non-root users in CentOS

I have CentOS 7 server and there is one non-root level user named user1. That user1 only has the permissions to start, stop, enable and disable for Zabbix Services (allow these service in sudoers file)...
0
votes
1answer
46 views

On Fexora Server 32, new cron jobs aren't showing up with systemctl list-timers --all

I've just brought a new server online and configured it the way the old one was regarding cron, but the jobs aren't running. So, I went through the configuration carefully and checked that the current ...
0
votes
0answers
62 views

Postgresql: can't start service database system was shut down

I install Postgresql using sudo apt install postgresql postgresql-contrib then I run sudo systemctl restart postgresql then I run sudo systemctl status postgresql It says Active: active (exited) ...
0
votes
1answer
50 views

Fedora28 - firewalld stopped working as it unable to communicate with ABRT daemon

We are currently running a Fedora 28 server. Due to the server being restarting multiple times, FirewallD has stopped working. Based on the error messages presented when we run the command systemctl ...
0
votes
0answers
25 views

Spring Boot and stop by systemctl not working

My application uses Spring Boot 2.3.1.RELEASE, it is an executable jar that uses an Embedded Tomcat and is listening on port 10605. I deployed on CentOS Linux release 7.6.1810 (Core). I took the ...
0
votes
1answer
32 views

systemctl service + how to configure service for boot priority

we have rhel 7.2 machine server have the following service [[email protected] system]# more rc_build_infra.service [Unit] Description=infra Manager Server Requires=network.target remote-fs.target After=...
0
votes
0answers
258 views

Automatic restart of isc-dhcp-server

I'm a Debian and Raspbian newbie, and have a question about automatically restarting the ISC DHCP server. I have a Pi running Raspbian and the ISC DHCP server at a remote site with flaky power. ...
0
votes
1answer
46 views

systemctl enable seems to succeed, but unit not intalled as a want per [Install] WantedBy

Pretty new to systemd, so likely (and hopefully) missing something trivial. Thanks in advance. I'm trying to enable a service (bees btrfs dedup; unit file below), but the enable/[Install] doesn't ...
1
vote
0answers
49 views

View systemctl service process

I have a minecraft server running as a system service and wish to check up on it. I know I can do systemctl status minecraft.service but that doesn't let me see the java process's output and/or input ...
0
votes
0answers
26 views

Systemctl cannot run Script command on openvpn

It is weird that the /usr/lib/systemd/system/[email protected] is a simple task: [Unit] Description=OpenVPN Robust And Highly Flexible Tunneling Application On %I After=network.target [Service] Type=...
0
votes
0answers
16 views

Cannot access VM after running “systemctl isolate rescue.target”

I have a VM running on VMWare. OS is RHEL 7. I ran the following command and the ssh session also terminated. systemctl isolate rescue.target Now I cannot access the server. Even ping doesn't work. ...
0
votes
0answers
45 views

systemctl is-enabled ghost Failed to get unit file state for ghost.service: Access denied CentOS 8

I'm trying to run a service I created but something is wrong and I don't get why. The service is located in /usr/lib/systemd/system and looks like this: [Unit] Description=Ghost systemd service for ...

15 30 50 per page
1
2 3 4 5
11