Usually you need to check perlmodules installed in the server /scripts/checkperlmodules
Then /scripts/upcp should fix the issue.
If this does not fix the issue, it may be issue with the perl.
Check whether there are two perl binaries in the server.
For eg :
/usr/bin/perl
/usr/local/bin/perl
Solution :
You need to remove /usr/bin/perl, and created a symlink for it to /usr/local/bin/perl via:
ln -s /usr/local/bin/perl /usr/bin/perl
This is the proper setup to allow for Perl to function properly with cPanel. Once this was fixed, You need to run the following command:
/scripts/checkperlmodules --full
Upon testing, you can see all Perl modules are now properly installed, and Queueprocd is up well.