Skip to main content

CWP : How to Fix Webmin is Excited on CentOS 7.6

After Installing Webmin 1.9 on CentOS 7.6 core , I want to start webmin but it is showing that webmin is excited and I am unable to start webmin manually .
I have check the log and found the error below :
# tail -f /var/webmin/miniserv.error

[05/Feb/2019:16:04:24 +0600] Using MD5 module Digest::MD5
[05/Feb/2019:16:04:24 +0600] Using SHA512 module Crypt::SHA
[05/Feb/2019:16:04:24 +0600] Perl module Authen::PAM needed for PAM is not installed : Can't locate Authen/ in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at (eval 9) line 1.
BEGIN failed--compilation aborted at (eval 9) line 1. 

And identified that some module needed for webmin. So now install the required module first :
# yum install pam-devel
# yum install perl-Authen-PAM
# yum install perl-CPAN

# perl -MCPAN -e shell
# install Module::Build
# install Perl4::CoreLibs
# install Authen::PAM

# install Bundle::CPAN
# cpan reload 
Now Install the required module:
# yum install tcp_wrappers-devel
# cpan JSON::PP
# cpan Test::Exception
# cpan Sub::Uplevel
# cpan Module::Build
# cpan PAR::Dist
# cpan Authen::Libwrap
# cpan User::Utmp

# cpan YAML
# cpan XML::Simple 
Now Restart the Webmin & check the log again
# systemctl enable webmin 

# systemctl restart webmin
# systemctl status webmin 
# systemctl status webmin  -l  

Now check your Network status
# systemctl status network

First let us find out, which package provides the ‘lsb_release’ command. To do that, enter the following command from your Terminal.
# yum provides */lsb_release
As you see in the above output, redhat-lsb-core-4.1-24.el7.x86_64 package provides the lsb_release command. So let us install it to use the lsb_release command:
# yum install redhat-lsb-core
# yum install redhat-lsb
That’s it. Lsb_release command should work now. Now Check your Network status again


Most Popular

CWP DNS Part 1 : How to Configure DNS properly for CentOS WebPanel on CentOS 7.6

After hosting my parent domain on CWP7.admin, I am getting dns error and i'm not able access my server using my server FQDN but i can access using my server IP.
So what can i do for that problem ?

Yes, you have to fix the error .

Environment Details:
Distro Name: CentOS Linux release 7.6.1810 (Core)
CentOS-Web Panel version: CWP7.admin
CWP version:
WebServer: Apache Only

1.Change Hostname Permanently:
# hostnamectl set-hostname hostnamectl Static hostname: Icon name: computer-vm Chassis: vm Machine ID: 7400071490ea4f7d931374824ad4b52c Boot ID: 6e1f2d76495d4b318c25c4a1195aa130 Virtualization: vmware Operating System: CentOS Linux 7 (Core) CPE OS Name: cpe:/o:centos:centos:7 Kernel: Linux 3.10.0-862.14.4.el7.x86_64 Architecture: x86-64 It also writes this information to the /etc/hostname file as well.
# cat /etc/hostname host.d…

CWP: How to Configure Let's Encrypt SSL Certificate for your server Hostname/FQDN on CWP7.admin

I wrote a blog on regarding Let's Encrypt SSL Certificate for CentOS Web Panel when "Letsencrypt Manager"  option was exist under Apache Settings >> Letsencrypt Manager >> Install Letsencrypt .

At Present CWP Team has been removed "Letsencrypt Manager"  that's why it will not renew any cert automatic . They made Auto SSL by default but Auto SSL grade is B and I'm not satisfied with Auto SSL.

Previous Article Link Install Letsencrypt SSL Certificate for your Server Hostname/FQDN, 100% Working 

N.B: I am using the below cipherlist

So now I am writing this solution again for all of guys and I hope that it will be 100% working again on your CentOS-Webpanel as mine .

Environment Details:
CPU Model: Intel(R) Xeon(R) CPU X3440 @ 2.53GHz
CPU Details: 2 Core (2527 MHz)
Distro Name: Ce…