CXS Setup Problem

hostixo

Verified User
Joined
Jun 30, 2019
Messages
12
Hello

I have this error.
How can ı solve ?


[root@srv155 ~]# perl cxsinstaller.pl ipv4
OS: [CloudLinux release 7.6 (Vladimir Lyakhov) ] [ipv4]
Unpacking new cxs package...

Configuring for OS

Running cxs DirectAdmin installer

Installing cxs

Check we're running as root

Checking Perl modules...
Can't locate Archive/Zip.pm in @INC (@INC contains: /etc/cxs /root/perl5/lib/perl5/5.16.3/x86_64-linux-thread-multi /root/perl5/lib/perl5/5.16.3 /root/perl5/lib/perl5/x86_64-linux-thread-multi /root/perl5/lib/perl5 /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 60) line 2.
BEGIN failed--compilation aborted at (eval 60) line 2.

Can't locate Linux/Inotify2.pm in @INC (@INC contains: /etc/cxs /root/perl5/lib/perl5/5.16.3/x86_64-linux-thread-multi /root/perl5/lib/perl5/5.16.3 /root/perl5/lib/perl5/x86_64-linux-thread-multi /root/perl5/lib/perl5 /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 64) line 2.
BEGIN failed--compilation aborted at (eval 64) line 2.

You need to install the missing perl modules and then install cxs
Tidying up...
...All done.
 
Try installing these Perl modules

yum install -y perl-Archive-Tar perl-IO-Zlib perl-Archive-Zip perl-Linux-Inotify2
 
Hello

Now this error.

Error: Package: perl-Linux-Inotify2-1.21-3.el6.x86_64 (epel)
Requires: perl(:MODULE_COMPAT_5.10.1)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Try installing these Perl modules

yum install -y perl-Archive-Tar perl-IO-Zlib perl-Archive-Zip perl-Linux-Inotify2
 
Hello

Now this error.

Error: Package: perl-Linux-Inotify2-1.21-3.el6.x86_64 (epel)
Requires: perl(:MODULE_COMPAT_5.10.1)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

I see your on CentOS 6. I am on CentOS 7. I also didn’t use epel not that it should matter. It’s looking for a dependent package called module compat. Not sure as I don’t use CentOS 6
 
it is cloudlinux 7.

I see your on CentOS 6. I am on CentOS 7. I also didn’t use epel not that it should matter. It’s looking for a dependent package called module compat. Not sure as I don’t use CentOS 6
 
You should not have perl-Linux-Inotify2-1.21-3.el6.x86_64 (epel) on CentOS 7.x

Check
/etc/yum.repos.d/epel.repo and make sure you have repositories for 7 connected.
 
run

Code:
rm  /etc/yum.repos.d/epel.repo

and confirm deletion

Code:
yum clean all

Code:
yum install epel-release

and then try
Code:
yum install -y perl-Archive-Tar perl-IO-Zlib perl-Archive-Zip perl-Linux-Inotify2
 
Same error.

Checking Perl modules...
Can't locate Linux/Inotify2.pm in @INC (@INC contains: /etc/cxs /root/perl5/lib/perl5/5.16.3/x86_64-linux-thread-multi /root/perl5/lib/perl5/5.16.3 /root/perl5/lib/perl5/x86_64-linux-thread-multi /root/perl5/lib/perl5 /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 66) line 2.
BEGIN failed--compilation aborted at (eval 66) line 2.


run

Code:
rm  /etc/yum.repos.d/epel.repo

and confirm deletion

Code:
yum clean all

Code:
yum install epel-release

and then try
Code:
yum install -y perl-Archive-Tar perl-IO-Zlib perl-Archive-Zip perl-Linux-Inotify2
 
Now ı have installed.


yum -y install perl-libwww-perl.noarch
yum -y install perl-LWP-Protocol-https.noarch
yum -y install perl-Archive-Tar.noarch
yum -y install perl-Archive-Zip.noarch
yum -y install perl-Linux-Inotify2
yum -y install perl-Compress-Zlib
yum -y install sqlite
yum -y install perl-DBI
yum -y install perl-DBD-SQLite




Will
Code:
yum check
show any error?

And will
Code:
yum update
resolve conflicts?
 
Great does it work now? I think you have to set up the clamd socket as well.
 
Back
Top