MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: Trust35 on 2016-08-17, 18:13:48

Title: Kloxo Install
Post by: Trust35 on 2016-08-17, 18:13:48
Hi!
I am trying to install Kloxo
Centos 6-x86 64   Kloxo 7.0.0
but appares,during installation:
Complete!
/script/counter-start.inc: line 1: lxphp.exe: command not found

* No 'lxphp.exe' exists
  - Need install Kloxo-MR 7.0 perfectly with 'sh /script/upcp -y'

File: '/opt/php54s/custom/php-cli.sh' not exists. Installing...
/script/counter-start.inc: line 1: lxphp.exe: command not found

* No 'lxphp.exe' exists
  - Need install Kloxo-MR 7.0 perfectly with 'sh /script/upcp -y'

Execute fixlxphpexe for php54s...
/usr/local/lxlabs/kloxo/install/setup.sh: line 206: /usr/bin/lxphp.exe: No such file or directory

... Wait until finished (restart services) ...


Can you help me?

Thank you!
Title: Re: Kloxo Install
Post by: MRatWork on 2016-08-17, 18:19:40
Inform here result from:
Code: [Select]
dir -l /etc/yum.repos.d
cat /etc/yum.conf
cat /etc/*release
uname -m
free -m
df -l /
Title: Re: Kloxo Install
Post by: Trust35 on 2016-08-17, 18:23:42
This?


[root@smagadin ~]# dir -l /etc/yum.repos.d
total 36
-rw-r--r-- 1 root root 1991 May 18 22:47 CentOS-Base.repo
-rw-r--r-- 1 root root  647 May 18 22:47 CentOS-Debuginfo.repo
-rw-r--r-- 1 root root  630 May 18 22:47 CentOS-Media.repo
-rw-r--r-- 1 root root 6259 May 18 22:47 CentOS-Vault.repo
-rw-r--r-- 1 root root  289 May 18 22:47 CentOS-fasttrack.repo
-rw-r--r-- 1 root root 8621 Aug 16 00:25 mratwork.repo
[root@smagadin ~]# cat /etc/yum.conf
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=19&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release

#  This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
#  It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
[root@smagadin ~]# cat /etc/*release
CentOS release 6.8 (Final)
CentOS release 6.8 (Final)
CentOS release 6.8 (Final)
[root@smagadin ~]# uname -m
x86_64
[root@smagadin ~]# free -m
             total       used       free     shared    buffers     cached
Mem:          1024        253        770          3          0         80
-/+ buffers/cache:        173        850
Swap:          512          0        512
[root@smagadin ~]# df -l /
Filesystem     1K-blocks    Used Available Use% Mounted on
/dev/simfs      41943040 1994620  39948420   5% /
Title: Re: Kloxo Install
Post by: Trust35 on 2016-08-17, 18:27:34
ERRATA CORRIDGE!!
The results are this:

[root@alfer ~]# dir -l /etc/yum.repos.d
total 40
-rw-r--r-- 1 root root 1991 May 18 23:47 CentOS-Base.repo
-rw-r--r-- 1 root root  647 May 18 23:47 CentOS-Debuginfo.repo
-rw-r--r-- 1 root root  289 May 18 23:47 CentOS-fasttrack.repo
-rw-r--r-- 1 root root  630 May 18 23:47 CentOS-Media.repo
-rw-r--r-- 1 root root 6259 May 18 23:47 CentOS-Vault.repo
-rw-r--r-- 1 root root 8621 Aug 17 20:35 mratwork.repo
-rw-r--r-- 1 root root  219 Feb 17  2012 vz.repo
[root@alfer ~]# cat /etc/yum.conf
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=19&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release

#  This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
#  It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
[root@alfer ~]# cat /etc/*release
CentOS release 6.8 (Final)
CentOS release 6.8 (Final)
CentOS release 6.8 (Final)
[root@alfer ~]# uname -m
x86_64
[root@alfer ~]# free -m
             total       used       free     shared    buffers     cached
Mem:          2048        771       1276          3          0        619
-/+ buffers/cache:        151       1896
Swap:            0          0          0
[root@alfer ~]# df -l /
Filesystem     1K-blocks    Used Available Use% Mounted on
/dev/simfs      36700160 1265844  35434316   4% /
Title: Re: Kloxo Install
Post by: MRatWork on 2016-08-17, 19:00:32
For awhile change content /script/counter-start.inc

from:
Code: [Select]
if [ "$(dir -l /usr/bin/lxphp.exe|grep 'php-cli.sh')" == "" ] ; then
to:
Code: [Select]
if [ "$(dir -l /usr/bin/lxphp.exe|grep 'php-cli.sh')" == "" ] ; then

Or, wait for next upload in 1 hour.
Title: Re: Kloxo Install
Post by: Trust35 on 2016-08-17, 19:03:29
Thank you very much!

Can you tell me,please how can i change this file?
Title: Re: Kloxo Install
Post by: Trust35 on 2016-08-17, 19:05:21
P.s. if i waut 1 hur or more,the installation will be ok?
Title: Re: Kloxo Install
Post by: MRatWork on 2016-08-17, 19:08:34
Run 'vi /script/counter-start.inc' or 'nano /script/counter-start.inc' to edit this file.
Title: Re: Kloxo Install
Post by: Trust35 on 2016-08-17, 19:19:55
Thank you

but the code you paste is the same: It is right?

from:
Code: [Select]

if [ "$(dir -l /usr/bin/lxphp.exe|grep 'php-cli.sh')" == "" ] ; then

to:
Code: [Select]

if [ "$(dir -l /usr/bin/lxphp.exe|grep 'php-cli.sh')" == "" ] ; then
Title: Re: Kloxo Install
Post by: MRatWork on 2016-08-17, 19:34:34
Better wait next upload.
Title: Re: Kloxo Install
Post by: MRatWork on 2016-08-17, 19:48:57
Try:
Code: [Select]
yum clean all
yum update -y
sh /script/upcp -y
Title: Re: Kloxo Install
Post by: Trust35 on 2016-08-17, 21:56:09
Hi!

It is the same. What can i do?

Thank you!
Title: Re: Kloxo Install
Post by: Trust35 on 2016-08-18, 01:09:54
CENTOS reinstalled. Now is OK!

Thank you