azadhussnain

Well-Known Member
May 28, 2020
48
0
6
India
cPanel Access Level
Root Administrator
i mistakenly deleted cpkeyclt file, anyway to restore it ?
Actually i was trying to run /usr/local/cpanel/cpkeyclt file but i have forget to remove 'rm -rf ' from terminal, so i mistakenly ran rm -rf /usr/local/cpanel/cpkeyclt
i'm using trial license, anyway to restore this file?
 

azadhussnain

Well-Known Member
May 28, 2020
48
0
6
India
cPanel Access Level
Root Administrator
Hello azadhussnain! I've tested this myself on an internal testing environment, and you can actually replace the file using the following script:

Code:
/scripts/upcp --sync
I hope that this helps! If you have any other questions or concerns, please let us know!
Not working for me sir.
I have copied cpkeyclt file from one of my friend server, but when running it it shows :
error while loading shared libraries: /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/auto/cPanel/BIOS/BIOS.so: cannot open shared object file: No such file or directory
Tried upcp , upcp sync , rpm check but it didn't helped.
 

cPJustinD

Administrator
Staff member
Jan 12, 2021
285
45
103
Houston
cPanel Access Level
Root Administrator
That's odd. In my testing environment, which consists of an installation of cPanel v11.94.0.4 on CloudLinux release 7.9, I deleted the file using rm and then replaced it with the upcp --sync. There may be something unique about your server environment that could be causing this.

I think it would be best to open a support ticket so that our analysts can review the issue more thoroughly and determine what exactly is occurring. You can submit a support request using the "Submit a ticket" link in my signature below.

Please be sure to link this thread when opening the ticket and provide the ticket number here so that we can track the issue appropriately. If possible, please post the resolution on this thread as it may help other community members with similar issues.