HereWeFix

Easy and Simple Solution

Wednesday, January 17, 2018

No Valid CloudLinux License Found

You will get an error while open LVE Manager option on whm panel.
Error:
No Valid CloudLinux License Found
We couldn't validate your CloudLinux License since Aug 22, 17. Please, make sure your license correct.
If your server is licensed by IP, please check if your IP license valid here.
check again If you need help with your license - please, contact our support department at https://cloudlinux.zendesk.com/hc/requests/new
If you need to purchase a license, you can buy it from http://www.cloudlinux.com or contact sales@cloudlinux.com
Solution:
1.Login your server using SSH and run the following command.
/usr/sbin/clnreg_ks --force
2.Once you completed your LVE (cloudlinux) re-licensed successfully.

Monday, January 15, 2018

dpkg: error processing package teamviewer:i386

Below error occurs while install teamviewer on ubuntu.
Error:
root@demo:/download# dpkg -i teamviewer_12.0.76279_i386.deb 
Selecting previously unselected package teamviewer:i386.
(Reading database ... 247287 files and directories currently installed.)
Preparing to unpack teamviewer_12.0.76279_i386.deb ...
Unpacking teamviewer:i386 (12.0.76279) ...
dpkg: dependency problems prevent configuration of teamviewer:i386:
teamviewer:i386 depends on libc6 (>= 2.11).
teamviewer:i386 depends on libgcc1.
teamviewer:i386 depends on libasound2.
teamviewer:i386 depends on libdbus-1-3.
teamviewer:i386 depends on libexpat1.
teamviewer:i386 depends on libfontconfig1.
teamviewer:i386 depends on libfreetype6.
teamviewer:i386 depends on libjpeg62.
teamviewer:i386 depends on libsm6.
teamviewer:i386 depends on libxdamage1.
teamviewer:i386 depends on libxext6.
teamviewer:i386 depends on libxfixes3.
teamviewer:i386 depends on libxinerama1.
teamviewer:i386 depends on libxrandr2.
teamviewer:i386 depends on libxrender1.
teamviewer:i386 depends on libxtst6.
teamviewer:i386 depends on zlib1g.
dpkg: error processing package teamviewer:i386 (--install):
dependency problems - leaving unconfigured
Processing triggers for bamfdaemon (0.5.3+17.04.20170406-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu5) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Errors were encountered while processing:
teamviewer:i386
Solution:
apt --fix-broken install -y

Friday, January 12, 2018

cURL cannot communicate with license server

While you install the license in your plesk panel you will encounter an error like below.
Error: 
cURL cannot communicate with license server https://id-00.kaid.plesk.com:5224/ (195.214.233.80): transfer closed with outstanding read data remaining(18)
Solution:
1.Ping the license server URL id-00.kaid.plesk.com and add the IP and license server in hosts file.
2.Open host file and add the line C:\Windows\System32\drivers\etc\hosts
   195.214.233.80 id-00.kaid.plesk.com
3.Allow the port 5224 in your windows firewall.

Wednesday, January 10, 2018

Enter the security code for root

Due to security policies enabled in your whm panel , it asks you to enter the code.
Error:
Enter the security code for “root” 
Solution:
1.Open your /var/cpanel/cpanel.config file and add the below line
SecurityPolicy::TwoFactorAuth=1
               change to
SecurityPolicy::TwoFactorAuth=0
2.Once saved the file restart cpanel service.
service cpanel restart

Monday, January 8, 2018

disable cphulkd in cpanel

To disable cphulkd on cpanel server from cpanel and command line.
From browser:
https://www.domain.com:2087/scripts2/doautofixer?autofix=disable_cphulkd
Replace domain.com instead of your server hostname  or ip address
From SSH:
/usr/local/cpanel/bin/cphulk_pam_ctl --disable
/usr/local/cpanel/etc/init/stopcphulkd

Sunday, January 7, 2018

The test connection to the database server has failed because of network problems

Error: 
The test connection to the database server has failed because of network problems:
Try to establish connection failed
Solution:
1.Login into your server through RDP.
2.Open SQL SERVER CONFIGURATION MANAGER >> SQL Server Network Configuration >>
Protocols for MSSQLSERVER.
3.Enable TCP/IP and Named Pipes.

Could not resolve host: apt.sw.be; Name or service not known

Error:
failure: repodata/repomd.xml from rpmforge: [Errno 256] No more mirrors to try.
http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: apt.sw.be; Name or service not known"

Solution:
yum --disablerepo=rpmforge
yum-config-manager --disable rpmforge
yum-config-manager --save --setopt=rpmforge.skip_if_unavailable=true
Real Time Analytics