SOLVED Mailperm error Can't locate object method

Bruno Mendes

Registered
Dec 21, 2016
2
1
3
Brasil
cPanel Access Level
Root Administrator
Hi,

I tried use /scripts/mailperm but received this error:


Can't locate object method "to_string" via package "Can't locate Cpanel/Exception/CORE.pm: /home/userloginxxx/perl5/lib/perl5/Cpanel/Exception/CORE.pm: Permission denied at /home/userloginxxx/perl5/lib/perl5/Cpanel/Exception.pm line 27.
" (perhaps you forgot to load "Can't locate Cpanel/Exception/CORE.pm: /home/userloginxxx/perl5/lib/perl5/Cpanel/Exception/CORE.pm: Permission denied at /home/userloginxxx/perl5/lib/perl5/Cpanel/Exception.pm line 27.
"?) at /home/userloginxxx/perl5/lib/perl5/Cpanel/Email/Perms/User.pm line 274.



Can someone help?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,216
463
Hello,

Are you logged in as "root" when running this command?

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,216
463
I'm happy to see the issue is now resolved. Thank you for updating us with the outcome.