Skip to main content

manage ftp account in ssh

Comments

5 comments

  • cPRex Jurassic Moderator
    Hey there! We have an API command that would give you this information:
    0
  • smithveg
    The result return with a lot of error as below, this is a dedicated server. perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = "UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to a fallback locale ("en_US.UTF-8"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = "UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to a fallback locale ("en_US.UTF-8"). "/usr/local/cpanel/uapi" exited with status 1 (EPERM). at bin/apitool.pl line 261.
    0
  • cPRex Jurassic Moderator
    Thanks for the details. That's odd, and indicates a separate issue may be present on the system. Can you run the following to see if that resolves the problem? /scripts/check_cpanel_rpms
    0
  • smithveg
    Thank for your help, i'm new and try to search for the solution. perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = "UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). 2021-02-03 01:43:55 52 (ERROR): Core cpanel-perl modules have been found to be corrupt. Attempting to correct this. 2021-02-03 01:43:55 533 ( INFO): CentOS 7 (Linux) detected! 2021-02-03 01:43:55 428 ( INFO): Downloading GPG public key, cPanelPublicKey.asc 2021-02-03 01:43:55 303 (DEBUG): Retrieving https://securedownloads.cpanel.net/cPanelPublicKey.asc JSON::XS is missing the no_set_utf8 flag at /usr/local/cpanel/Cpanel/JSON.pm line 172. 2021-02-03 01:43:57 303 (DEBUG): Retrieving http://httpupdate.cpanel.net/RPM/11.86/centos/7/x86_64/rpm.sha512.asc 2021-02-03 01:43:57 303 (DEBUG): Retrieving http://httpupdate.cpanel.net/RPM/11.86/centos/7/x86_64/rpm.sha512 2021-02-03 01:44:00 350 ( INFO): FILE - /usr/local/cpanel/tmp/rpm_downloads/rpm.11.86.sha512 2021-02-03 01:44:00 351 ( INFO): SIG - /usr/local/cpanel/tmp/rpm_downloads/rpm.11.86.sha512.asc 2021-02-03 01:44:00 352 ( INFO): URL - /RPM/11.86/centos/7/x86_64/rpm.sha512 2021-02-03 01:44:00 397 ( INFO): Valid signature for /usr/local/cpanel/tmp/rpm_downloads/rpm.11.86.sha512 (/usr/local/cpanel/tmp/rpm_downloads/rpm.11.86.sha512) 2021-02-03 01:44:00 303 (DEBUG): Retrieving http://httpupdate.cpanel.net/RPM/11.86/centos/7/x86_64/cpanel-perl-530-common-sense-3.74-1.cp1186.noarch.rpm 2021-02-03 01:44:00 303 (DEBUG): Retrieving http://httpupdate.cpanel.net/RPM/11.86/centos/7/x86_64/cpanel-perl-530-5.30.0-5.cp1186.x86_64.rpm 2021-02-03 01:44:01 303 (DEBUG): Retrieving http://httpupdate.cpanel.net/RPM/11.86/centos/7/x86_64/cpanel-perl-530-CDB_File-0.99-1.cp1186.x86_64.rpm 2021-02-03 01:44:02 303 (DEBUG): Retrieving http://httpupdate.cpanel.net/RPM/11.86/centos/7/x86_64/cpanel-perl-530-IO-SigGuard-0.15-1.cp1186.noarch.rpm 2021-02-03 01:44:02 303 (DEBUG): Retrieving http://httpupdate.cpanel.net/RPM/11.86/centos/7/x86_64/cpanel-perl-530-JSON-XS-3.04-1.cp1186.x86_64.rpm 2021-02-03 01:44:03 303 (DEBUG): Retrieving http://httpupdate.cpanel.net/RPM/11.86/centos/7/x86_64/cpanel-perl-530-Compress-Raw-Lzma-2.087-1.cp1186.x86_64.rpm 2021-02-03 01:44:04 303 (DEBUG): Retrieving http://httpupdate.cpanel.net/RPM/11.86/centos/7/x86_64/cpanel-perl-530-Proc-FastSpawn-1.2-1.cp1186.x86_64.rpm 2021-02-03 01:44:05 303 (DEBUG): Retrieving http://httpupdate.cpanel.net/RPM/11.86/centos/7/x86_64/cpanel-perl-530-Try-Tiny-0.30-1.cp1186.noarch.rpm 2021-02-03 01:44:05 303 (DEBUG): Retrieving http://httpupdate.cpanel.net/RPM/11.86/centos/7/x86_64/cpanel-perl-530-Types-Serialiser-1.0-1.cp1186.noarch.rpm 2021-02-03 01:44:06 303 (DEBUG): Retrieving http://httpupdate.cpanel.net/RPM/11.86/centos/7/x86_64/cpanel-perl-530-YAML-Syck-1.31-1.cp1186.x86_64.rpm 2021-02-03 01:44:07 303 (DEBUG): Retrieving http://httpupdate.cpanel.net/RPM/11.86/centos/7/x86_64/cpanel-perl-530-Net-SSLeay-1.88-1.cp1186.x86_64.rpm 2021-02-03 01:44:09 303 (DEBUG): Retrieving http://httpupdate.cpanel.net/RPM/11.86/centos/7/x86_64/cpanel-perl-530-IO-Socket-SSL-2.066-4.cp1186.noarch.rpm
    0
  • cPRex Jurassic Moderator
    Thanks for the additional details. Did the output not scroll any further than that? It looks like it was trying to fix the issue with perl on the machine, but I would expect there to be more output after that. You could also try forcing a full update with the "/scripts/upcp --force" command if the check_cpanel_rpms command isn't fixing things for you.
    0

Please sign in to leave a comment.