Announcement

Collapse
No announcement yet.

Systemctl commands timeout and Failed to execute operation: Connection reset by peer

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Systemctl commands timeout and Failed to execute operation: Connection reset by peer

    i have virtualmin installed with centos 7 and today weird thing was happening, when every i try to restart any service say httpd, mysql or webmin

    Command:
    systemctl restart httpd or systemctl status named

    i get the following message:

    Failed to execute operation: Connection reset by peer

    or somtime when I try to execute systemctl using the root account they fail with a Connection timed out error:

    The same thing occurs with systemctl start or systemctl stop when ran as root.

    Any help how to resolve the issue?

  • #2
    try rebooting the server.....

    Comment


    • #3
      hi, i had the same issue, some time ago.

      There are two alternative solutions to the problem:

      1- rebooting with
      Code:
       
       systemctl --force --force reboot
      or

      2- without reboot, just moving session files
      Code:
       
       mv /run/systemd/system/session-*.scope /tmp/

      Comment

      Working...
      X