perl-DBI package is required for installation but is not found

Bidhan

Member
Jan 31, 2018
5
1
3
Nepal
cPanel Access Level
Reseller Owner
I've installed CloudLinux 7.6 on my server. But while installing cpanel/whm I've been facing some issues. "perl-DBI" package is required for installation but is not found on cloudlinux 7.6 repo. I've verified through the web. There isn't any perl-DBI package here.
Index of /cloudlinux/7.6/os/x86_64/Packages
Here is the log which I've copied from file /var/log/cpanel-install.log.

Ensuring that the package “perl-DBI” is available.
333 [13454] (FATAL): The system failed to run the /usr/local/cpanel/scripts/cpanel_initial_install script.
427 (DEBUG): - ssystem [BEGIN]: /usr/local/cpanel/scripts/rdate
427 (DEBUG): - ssystem [END]

# ls /etc/yum.repos.d/
centos-extras.repo cloudlinux-imunify360.repo cloudlinux.repo epel.repo epel-testing.repo mysql-community.repo mysql-community-source.repo
 

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
7,940
630
263
Houston
cPanel Access Level
DataCenter Provider
Hi @Bidhan
Because this is happening on the install of the product I'd like to ensure this is resolved as effectively as possible. With that being said, can you please open a ticket using the link in my signature? Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved.


Thanks!
 

Bidhan

Member
Jan 31, 2018
5
1
3
Nepal
cPanel Access Level
Reseller Owner
Thank you cPanelLauren for your reply. Now the problem has been resolved. Though I've registered the license on the server. It was not activated before which cause the perl-DBI installation failure.

Code:
# /usr/sbin/rhnreg_ks --activationkey=91349-CLN-xxxxxxxxxxxxxxxxxx--force
It was showing an invalid license before.
Code:
# cloudlinux-license --json
    {"license": "invalid", "result": "success", "timestamp": 1338684138.063524}
I had to re-validate the license. And it's showing "valid" now.
Code:
# /usr/bin/cldetect –update-license

# cloudlinux-license --json
    {"license": "valid", "result": "success", "timestamp": 1338684138.063524}
 
Last edited:
  • Like
Reactions: cPanelLauren