Issue
- Errors appear under Node.js | Ruby Selectors
Environment
- cPanel
- CloudLinux
- Ruby
- Node.js Selector
- lvemanager < 7.10.15
Solution
Update lvemanager to 7.11.0-1 or higher
# yum update lvemanager --enablerepo=cloudlinux-updates-testing
If the package cannot be installed, the following workaround can be used:
# localectl set-locale LANG=en_US.UTF-8
# /usr/local/cpanel/scripts/perlinstaller Locale::Maketext
# /usr/local/cpanel/scripts/perlinstaller Locale::Maketext::Utils::MarkPhrase
Check that locale is set
# localectl
System Locale: LANG=en_US.UTF-8
VC Keymap: us
X11 Layout: us
Restart cPanel
# /scripts/restartsrv_cpsrvd
- In case the above does not help, check if the file
/usr/local/cpanel/Cpanel/CPAN/Locale/Maketext/Utils/MarkPhrase.pm
is missing, if so, please recreate and paste the following contents:package Cpanel::CPAN::Locale::Maketext::Utils::MarkPhrase;
sub import {
no strict 'refs';
*{ caller() . '::translatable' } = \&translatable;
}
sub translatable {
return $_[0];
}
1;
Cause
Broken Perl libraries and the wrong system language registered as CLOS-2483
Comments
0 comments
Please sign in to leave a comment.