CXS Setup Problem

hostixo

Verified User
Joined
Jun 30, 2019
Messages
11
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.
 

bdacus01

Verified User
Joined
Jul 22, 2017
Messages
582
Location
Murfreesboro
Try installing these Perl modules

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

hostixo

Verified User
Joined
Jun 30, 2019
Messages
11
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
 

bdacus01

Verified User
Joined
Jul 22, 2017
Messages
582
Location
Murfreesboro
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
 

hostixo

Verified User
Joined
Jun 30, 2019
Messages
11
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
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,902
Location
GMT +7.00
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.
 

DanielP

Verified User
Joined
Jun 28, 2019
Messages
82
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
 

hostixo

Verified User
Joined
Jun 30, 2019
Messages
11
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
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,902
Location
GMT +7.00
Will
Code:
yum check
show any error?

And will
Code:
yum update
resolve conflicts?
 

hostixo

Verified User
Joined
Jun 30, 2019
Messages
11
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?
 
Top