Questions tagged [systemctl]

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

Filter by
Sorted by
Tagged with
74 votes
4 answers
241k views

failed to get D-Bus connection: Operation not permitted

I'm trying to list services on my CentOS image running in Docker using systemctl list-units but I get this error message: Failed to get D-Bus connection: Operation not permitted Any suggestions ...
Snowcrash's user avatar
  • 1,157
21 votes
6 answers
107k views

Redis not starting with systemctl

I have installed redis on an ubuntu 16.04 machine and if I run /usr/local/bin/redis-server /etc/redis/cluster/7000/redis.conf it starts up and I can connect to it without issues. However I want to ...
munHunger's user avatar
  • 383
17 votes
1 answer
53k views

What is the meaning of holdoff time over in systemd services?

I have installed Puppet Enterprise on CentOS 7. I can see that several Puppet services fail to start saying holdoff time over. What does this mean? Sep 03 20:50:16 l-pm1 systemd[1]: pe-puppetdb....
Priya R's user avatar
  • 273
6 votes
2 answers
7k views

Weird interaction with systemctl with Haproxy on CentOS 7

Running haproxy through systemctl is different than running it manually. on manual start, everything works. starting through systemctl, haproxy is not able to find the service it proxies, and answers ...
Magnar's user avatar
  • 1,047
0 votes
1 answer
295 views

Postfix service WAS working, after reboot says "Failed to start postfix.service: Unit var.mount is masked."

On this server system we have been offloading the ssd system "disk" of high-write loads for reliability / longevity reasons and following one strategy, we went to a new one and everything ...
Richard T's user avatar
  • 1,242
105 votes
3 answers
66k views

What is the difference between service and systemctl?

Maybe this is a trivial question, but it is not totally clear to me. On one of our servers we have some background processes running which were started with service and some others which were started ...
Aidas Bendoraitis's user avatar
21 votes
4 answers
68k views

Cannot use `systemctl --user` due to "Failed to get D-bus connection: permission denied"

I'm trying to set up user-level services, using this answer to a similar question. I have create the required files and rebooted. I'm making progress because I now get "Failed to get D-bus connection:...
xenoid's user avatar
  • 393
9 votes
4 answers
38k views

How do I know if systemctl daemon-reload needs to be run

Is there a way to know the current running config is outdated? Is there a way to view the current running config and compare it to the file? It would be valuable for troubleshooting to know what the ...
red888's user avatar
  • 4,243
5 votes
2 answers
4k views

Parsable output from systemctl (for example list all units)

I am not happy with the output of systemctl I have a script which parses the output of systemctl list-units -t service --full --all The beginning of the output look like this: UNIT ...
guettli's user avatar
  • 3,823
3 votes
1 answer
8k views

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 ...
Amati's user avatar
  • 171
2 votes
1 answer
2k views

Truncated/missing logs with systemd on Ubuntu 16.04

I am using Ubuntu 16.04 server, have created a basic nodejs script and packaged it in a simple systemd service. Content of api.service at /lib/systemd/system/api.service: [Unit] Description=api ...
quentinadam's user avatar
1 vote
1 answer
827 views

How to install gmod server as system service on Ubuntu?

I have a GMod server on Ubuntu 18.04, and it runs fine when I run it via ./run_gmod.sh (as the "steam" user, who owns the folder/files), whose contents are #!/bin/sh /datadrive/srcds/gmod/...
ROODAY's user avatar
  • 215
1 vote
1 answer
6k views

Suddenly mysql/mariadb won't start

Suddenly, after simply adding a few tables to database within the install... the service won't start. Any help welcome. systemctl start mariadb Job for mariadb.service failed. See 'systemctl status ...
Ryan Prentiss's user avatar
0 votes
1 answer
3k views

How to fix error in catalina.out "libjli.so: cannot open shared object file: No such file or directory"

I was getting this error when running systemctl restart tomcat in my $CATALINA_HOME/logs/catalina.out log file: https://pastebin.com/Cpfs9xCk So I followed this post online: https://confluence....
Philip Rego's user avatar
0 votes
2 answers
8k views

fprintd: ** Message: No devices in use, exit

I keep getting following messages inside of /var/log/messages: 4/7/2016, 11:03:49 AM fprintd[3277] Launching FprintObject 4/7/2016, 11:03:49 AM fprintd[3277] ** Message: D-Bus service ...
alexus's user avatar
  • 13.4k