- Plesk Onyx for Linux
Operating system on server is Debian or Ubuntu.
Cannot enable auto-start of some system service with systemctl tool. The following errors is shown in command line:
# systemctl enable ssh.service
Failed to execute operation: Too many levels of symbolic links
where ssh.service - name of the service.
Status message shows that auto-start option for the service is in enabled status:
# systemctl status ssh
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2018-06-12 01:24:53 +07; 1h 17min ago
Main PID: 337 (sshd)
└─337 /usr/sbin/sshd -D
It is not possible to enable auto-start of the same service twice. Operating system creates symlink for auto-start and does not allow to create symlink twice for the same service.
Since auto-start for service is enabled already no further actions are required.