Questions tagged [systemctl]

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

systemd is a system and service manager in Linux. More information about switches and arguments can be found here.

228 questions
3
votes
1 answer

Failed to get properties: Activation of org.freedesktop.systemd1 timed out

Getting the below error while running systemctl status commands in my RHEL 7 linux server. # systemctl status docker.service Failed to get properties: Activation of org.freedesktop.systemd1 timed out I see the login also is slow. What could be the…
3
votes
0 answers

Ubuntu 16.04 Systemd not possible to use systemctl

I have a Ubuntu 16.04 server, since the last restart, systemctl doesn't work anymore. For example if I want to start the nginx, I get the following error: root@SERVER:/# systemctl start nginx Failed to start nginx.service: Unknown unit:…
ghovat
  • 131
  • 5
3
votes
1 answer

Systemd causing multiple supervisor processes

I'm having a problem narrowing down where the issue is for my supervisor configuration that causes a program to be duplicated. I'm running a Python Tornado Web Server through an Nginx reverse proxy. I think the problem is more related to…
OneCricketeer
  • 170
  • 1
  • 10
3
votes
1 answer

Postfix doesn't start on reboot

I'm on CentOS 7 and as far as I understand, all that is needed for Postfix to start on reboot is to run systemctl enable postfix.service However, that doesn't work for me. After a reboot, systemctl status postfix produces the…
Amati
  • 171
  • 1
  • 8
3
votes
1 answer

systemd failing enable with "service is transient or generated". What's wrong with this configuration?

In General I've been scouring the web looking for actually helpful documentation about systemd and this error, but the majority of it has been troubleshooting niche cases or goes into such extreme detail that the information is useless. I'm trying…
noket
  • 31
  • 1
  • 1
  • 2
2
votes
1 answer

How does SystemMaxUse on journalctl work?

I'm using journalctl for system logging. I want to have a log file to check what is happening with the process I'm running at anytime. So I'm configuring the journald.conf file like this: [Journal] Storage=persistent As I don't want the log file to…
carlosabcs
  • 121
  • 4
2
votes
0 answers

systemd service in pacemaker for high availability

I came to know about the pacemaker for high availability. I have one simple service running on linux VM. I have started that using systemctl start command. I want to make this HA in case my linux host goes down. For that purpose, I…
ajay_t
  • 121
  • 1
  • 3
2
votes
1 answer

Clickhouse: Failed to get D-Bus connection: Operation not permitted - CentOS 7, no docker image

I am trying to set up a Clickhouse server on my WSL which is based on CentOS. After following instructions in this page, and installing the DB successfully, when I want to enable the service I get following: # systemctl enable…
Gmosy Gnaq
  • 121
  • 1
  • 3
2
votes
3 answers

Centos7 systemctl start unit not found

I look everywhere and just for the life of me figure out why systemctl would not start my unit. I am trying to start GCP's cloud-sql-proxy as a systemd service. This is what my cloud-sql-proxy.service looks…
Mickey
  • 143
  • 1
  • 1
  • 4
2
votes
1 answer

Nginx fails to start after boot, but works fine with a manual command

I've recently got an Ubuntu 18 server and I'm a little confused to say the least. First: If I run sudo service nginx start or sudo systemctl start nginx, everything appears to work. My site is loading, and both sudo service nginx status and sudo…
2
votes
0 answers

Failed to get properties: No such interface ''

i try to start my new service : /etc/systemd/system/myservice.service [Unit] Description=My Desc... After=network.target [Service] User=webXX Group=clientXX ExecStart=/var/www/xxx/xxx/xxx/golang-binay…
eclaude
  • 121
  • 5
2
votes
3 answers

"Failed to start Raise network interfaces" for bridge br0 even though br0 exists

I have setup two bridge devices on Debian 9.6 box and systemctl status networking.service claims that bridge br1 was not set up, even though after booting it's actually just fine: % systemctl status networking.service ● networking.service - Raise…
LetMeSOThat4U
  • 1,371
  • 2
  • 17
  • 35
2
votes
1 answer

How to run clamd by systemd as daemon on Centos 7

# rpm -q centos-release centos-release-7-5.1804.el7.centos.2.x86_64 # rpm -qa…
vczm
  • 121
  • 1
  • 1
  • 2
2
votes
1 answer

Tomcat restarts even after explicit shutdown

I needed to set up an Ubuntu server based Tomcat server and I followed this well written post. Everything works great. Ran into an odd behavior though; I needed to stop the Tomcat server, so I used the command: sudo…
Web User
  • 123
  • 1
  • 5
2
votes
1 answer

Permission denied to tor hidden service directory on CentOS after service restart

I have installed tor from EPEL on a fresh installed CentOS7 (minimal). After configuring a hidden service I check and validate that the service is up and running by browsing the URL generated in hostname file from the tor browser. At this point the…
To Ka
  • 135
  • 1
  • 9