Unable to create subdomain in Plesk: plesk-task-manager service might not be running

Follow

Comments

6 comments

  • Avatar
    Ahmad Khairun

    I solve my problem :

    1. Check your plesk-task-manager error with:

    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:

    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 :

    # 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:

    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:

    systemctl enable plesk-task-manager && systemctl start plesk-task-manager

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

    # 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.

    1
    Comment actions Permalink
  • Avatar
    Ahmad Khairun

    Nothing, it's empty

    0
    Comment actions Permalink
  • Avatar
    Manas Mohamed (Edited )


    I'm still having the issue, I get this when I check for the status

    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-10-20 10:10:01 HKT; 1s ago Process: 12233 ExecStart=/usr/lib/plesk-task-manager
    --config /opt/psa/admin/conf/task-manager.yml --data /var/li Main PID: 12233 (code=exited, status=1/FAILURE)

    and shows the same error even after trying to enable & start the plesk-task-manager service

    What I have tried so far:
    - The above solution
    - Tried to repair plesk "plesk repair all -y"

    - Restart server 

    Any help would be appreciated, Thanks in advance!

    0
    Comment actions Permalink
  • Avatar
    Stefan Yakubov

    @Ahmad Khairun

    Means the article isn't applicable in your case. I'd recommend filing a technical support request then:

    https://support.plesk.com/hc/en-us

    0
    Comment actions Permalink
  • Avatar
    Ahmad Khairun (Edited )

    Not Helpful at all.

    The service can't be activated at all. Many process can't be finished. A few features that became error after this service suddenly erorr:

    1. I can't start Cgroups
    2. Cannot scan WordPress with WP-Toolkit
    3. Monitoring keep getting error.
    4. Subscription monitoring keep dissappearing.
    5. I can't start couple of service.

    0
    Comment actions Permalink
  • Avatar
    Stefan Yakubov

    Hello, @Ahmad Khairun

    At this point I'd recommend checking the Plesk Task Manager's log file - /var/log/plesk/task-manager.log

    During the failure startup attempts a relevant error information should be logged.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request