• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Cannot connect to the task manager (plesk-task-manager service might not be running): No such file or directory

I can not add new a subdomain on plesk UI
Here my service status

command: systemctl status plesk-task-manager.service
● plesk-task-manager.service - Plesk Task Manager Service
Loaded: loaded (/lib/systemd/system/plesk-task-manager.service; enabled; vendor preset: enabled)
Drop-In: /lib/systemd/system/plesk-task-manager.service.d
└─respawn.conf
Active: activating (auto-restart) (Result: exit-code) since Wed 2021-12-29 04:23:58 UTC; 552ms ago
Process: 21281 ExecStart=/usr/lib/plesk-task-manager --config /opt/psa/admin/conf/task-manager.yml --data /var/lib/plesk/task-manager (code=exited, status=1/FAILURE)
Main PID: 21281 (code=exited, status=1/FAILURE)

plesk-task-manager.service: Main process exited, code=exited, status=1/FAILURE
plesk-task-manager.service: Failed with result 'exit-code'.
 

Attachments

  • Screen Shot 2021-12-29 at 11.26.32.png
    Screen Shot 2021-12-29 at 11.26.32.png
    87.3 KB · Views: 31
i have same problem, you have solved?
 

Attachments

  • Immagine.jpg
    Immagine.jpg
    207.3 KB · Views: 27
  • Immagine2.jpg
    Immagine2.jpg
    637 KB · Views: 27
I have the same problem, the error not just in that. In my case the error appeared when trying to starting cgroups.

Nothing happened when I try to start the task-manager
 
I solve my problem :

1. Check your plesk-task-manager error with:
Code:
journalctl -u plesk-task-manager.service | less

In my case, it because of the ownership of the log file is changing (probably deleted by me). It shows:
Code:
Oct 12 10:14:25 sg01.infinix.co.id plesk-task-manager[976457]: 2022/10/12 10:14:25 Cannot open '/var/log/plesk/task-manager.log' log for writing: open /var/log/plesk/task-manager.log: permission denied

2. I check for the said file for ownership and permission :

Code:
# ls -lash /var/log/plesk | grep task-manager.log
   0 -rw-r--r--  1 root   root      0 Oct  9 02:13 task-manager.log

3. Fix the file ownership by setting psaadm : psaadm as the owner and group for the task-manager.log file with the command below:
Code:
chown psaadm:psaadm /var/log/plesk/task-manager.log

4. Don't forget to enable and restart the plesk-task-manager service just to be sure:
Code:
systemctl enable plesk-task-manager && systemctl start plesk-task-manager

5. Check your plesk-task-manager, it should be running (I hope):

Code:
# systemctl status plesk-task-manager.service
● plesk-task-manager.service - Plesk Task Manager Service
     Loaded: loaded (/lib/systemd/system/plesk-task-manager.service; enabled; vendor preset: enabled)
    Drop-In: /usr/lib/systemd/system/plesk-task-manager.service.d
             └─respawn.conf
     Active: active (running) since Wed 2022-10-12 13:14:48 WIB; 9s ago
   Main PID: 1362147 (plesk-task-mana)
      Tasks: 13 (limit: 35141)

I hope this help if by anychance you have similar problem. Thanks for Violetta@Support Team for the prompt help.
 
I solve my problem :

1. Check your plesk-task-manager error with:
Code:
journalctl -u plesk-task-manager.service | less

In my case, it because of the ownership of the log file is changing (probably deleted by me). It shows:
Code:
Oct 12 10:14:25 sg01.infinix.co.id plesk-task-manager[976457]: 2022/10/12 10:14:25 Cannot open '/var/log/plesk/task-manager.log' log for writing: open /var/log/plesk/task-manager.log: permission denied

2. I check for the said file for ownership and permission :

Code:
# ls -lash /var/log/plesk | grep task-manager.log
   0 -rw-r--r--  1 root   root      0 Oct  9 02:13 task-manager.log

3. Fix the file ownership by setting psaadm : psaadm as the owner and group for the task-manager.log file with the command below:
Code:
chown psaadm:psaadm /var/log/plesk/task-manager.log

4. Don't forget to enable and restart the plesk-task-manager service just to be sure:
Code:
systemctl enable plesk-task-manager && systemctl start plesk-task-manager

5. Check your plesk-task-manager, it should be running (I hope):

Code:
# systemctl status plesk-task-manager.service
● plesk-task-manager.service - Plesk Task Manager Service
     Loaded: loaded (/lib/systemd/system/plesk-task-manager.service; enabled; vendor preset: enabled)
    Drop-In: /usr/lib/systemd/system/plesk-task-manager.service.d
             └─respawn.conf
     Active: active (running) since Wed 2022-10-12 13:14:48 WIB; 9s ago
   Main PID: 1362147 (plesk-task-mana)
      Tasks: 13 (limit: 35141)

I hope this help if by anychance you have similar problem. Thanks for Violetta@Support Team for the prompt help.
Where to run these codes, please?
 
Back
Top