• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

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: 25
i have same problem, you have solved?
 

Attachments

  • Immagine.jpg
    Immagine.jpg
    207.3 KB · Views: 26
  • Immagine2.jpg
    Immagine2.jpg
    637 KB · Views: 26
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