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
0
votes
0 answers

Can't restart MySQL, Start request repeated too quickly

I can't restart my MySQL server with systemctl or any other ways. On journalectl it says mysql.service: Start request repeated too quickly. mysql.service: Failed with result 'exit-code' Here the output screenshot
Aren Hovsepyan
  • 101
  • 1
  • 2
0
votes
2 answers

How can I debug firewalld on CentOS 7 stopping running unexpectedly?

I have a brand new CentOS 7 server and am just performing the initial setup. I have started firewalld with sudo systemctl enable firewalld sudo systemctl start firewalld both commands appeared to run successfully Created symlink…
Ambulare
  • 141
  • 4
0
votes
0 answers

Docker systemctl Failed to get D-Bus connection bug

When I execute any systemctl command inside a CentOS 7 container I get the Failed to get D-Bus connection: Operation not permitted error message. The container is started with docker container run --privileged -d -t -p 80:80 09fc90b6865e command.…
Philipp
  • 123
  • 1
  • 4
  • 13
0
votes
1 answer

Cron jobs stopped working

I have an issue almost identical to what is here: Cron jobs not working anymore However I can't seem to find any memory-related problems as per the accepted answer, so I thought I should open a new question instead of answering on that…
Gábor Major
  • 113
  • 4
0
votes
2 answers

gammu 1.42, gammu-smsd service error, LD_LIBRARY_PATH not found

I'm trying install Gammu 1.42 to serve my SMS gateway on Centos 8. make, make test, make install works fine. LD_LIBRARY_PATH configured in /etc/profile as: ...... LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:.:/usr/local/lib64 export PATH USER…
cidy.long
  • 101
  • 3
0
votes
1 answer

Enabling systemctl service does not load at boot

I have set up gunicorn to server two Django sites, as per this setup. This works well. If I run: # systemctl start gunicorn@my_website.service Then all is well and my website is being served as expected. So I move to enable this on boot: #…
user107836
0
votes
0 answers

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). But that user1 can use 'systemctl poweroff'…
Mg Nyi Naing
  • 103
  • 3
  • 12
0
votes
1 answer

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 cron works the way the old one did. Yes, it…
Richard T
  • 1,206
  • 12
  • 29
0
votes
1 answer

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 status firewalld, it appears as though the ABRT…
0
votes
0 answers

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 following steps: SPEEDYF.service…
0
votes
1 answer

systemctl service + how to configure service for boot priority

we have rhel 7.2 machine server have the following service [root@server1 system]# more rc_build_infra.service [Unit] Description=infra Manager Server Requires=network.target remote-fs.target After=network.target…
King David
  • 549
  • 6
  • 20
0
votes
0 answers

Systemctl cannot run Script command on openvpn

It is weird that the /usr/lib/systemd/system/openvpn@.service is a simple task: [Unit] Description=OpenVPN Robust And Highly Flexible Tunneling Application On %I After=network.target [Service] Type=notify PrivateTmp=true ExecStart=/usr/sbin/openvpn…
George Y
  • 528
  • 6
  • 16
0
votes
0 answers

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. How can I log into the server?
0
votes
1 answer

systemctl enable sidekiq: Failed to issue method call: Access denied

I am trying to implement Sidekiq using Systemd on Ubuntu 16. I am logged in as deployer. I navigated to the /lib/systemd/system directory and wanted there to create a file: nano sidekiq.service. However, I received an error message because of…
user984621
  • 135
  • 1
  • 1
  • 7
0
votes
1 answer

Why is Docker services keep running without my consent

These docker services keep running without my consent, how to stop them: /usr/bin/docker-containerd-current /usr/bin/dockerd-current I don't want to uninstall Docker, just want to stop services to reduce used RAM. I'm on CentOS. Done all these,…
Dee
  • 125
  • 1
  • 6
1 2 3
15
16