New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Can't install CWP on CentOS 6.7 x64

Started by ohad, May 22, 2016, 01:19:56 PM

Previous topic - Next topic

ohad

Hi,

I tried to install CWP on VPS from "DigitalOcean" running CentOS 6.7 x64 but got this errors:
Quote[root@centos-512mb-lon1-01 src]# sh cwp-latest

#################################################################
#             CentOS Web Panel (CWP)   Installer                #
#################################################################

visit www.centos-webpanel.com

cwp-latest: line 72: type: mysql: not found
httpd: unrecognized service
mysql: unrecognized service
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirrors.coreix.net
* extras: mirrors.coreix.net
* updates: centos.serverspace.co.uk
Package wget-1.12-5.el6_6.1.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package chkconfig.x86_64 0:1.3.49.3-5.el6 will be updated
---> Package chkconfig.x86_64 0:1.3.49.3-5.el6_7.2 will be an update
^C
#######################################
# el6 version detected
#######################################

Installing MySQL!
###########################

Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
^C

Exiting on user cancel
error reading information on service mysqld: No such file or directory
mysqld: unrecognized service
/usr/local/src/sql.sh: line 77: mysqladmin: command not found
/usr/local/src/sql.sh: line 78: mysql: command not found
/usr/local/src/sql.sh: line 79: mysql: command not found
/usr/local/src/sql.sh: line 80: mysql: command not found
/usr/local/src/sql.sh: line 81: mysql: command not found
mysqld: unrecognized service
Installation FAILED at SQL !!!

Please help me!
I'm really want to install CWP but can't install it on CentOS 6.7 and this is the only version that DigitalOcean have.

Thank you !

Sandeep

reinstall the os
and try this commands :

cd /usr/local/src
wget http://centos-webpanel.com/cwp-latest
sh cwp-latest -d mariadb

ohad

Thank you but I got the same error  :o

[root@centos-512mb-fra1-01 src]# sh cwp-latest -d mariadb

#################################################################
#             CentOS Web Panel (CWP)   Installer                #
#################################################################

visit www.centos-webpanel.com

cwp-latest: line 72: type: mysql: not found
httpd: unrecognized service
mysql: unrecognized service
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.vodien.com
* extras: mirror.vodien.com
* updates: mirror.vodien.com
Package wget-1.12-5.el6_6.1.x86_64 already installed and latest version
Package chkconfig-1.3.49.3-5.el6_7.2.x86_64 already installed and latest version
Nothing to do

#######################################
# el6 version detected
#######################################

Installing MariaDB!
###########################

Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.vodien.com
* extras: mirror.vodien.com
* rpmforge: mirror1.hs-esslingen.de
* updates: mirror.vodien.com
mariadb                                                  | 2.9 kB     00:00     
mariadb/primary_db                                       |  19 kB     00:00     
rpmforge                                                 | 1.9 kB     00:00     
rpmforge/primary_db                                      | 2.7 MB     00:00     
^C

Exiting on user cancel
error reading information on service mysql: No such file or directory
mysql: unrecognized service
/usr/local/src/sql.sh: line 61: mysqladmin: command not found
/usr/local/src/sql.sh: line 62: mysql: command not found
/usr/local/src/sql.sh: line 63: mysql: command not found
/usr/local/src/sql.sh: line 64: mysql: command not found
/usr/local/src/sql.sh: line 65: mysql: command not found
mysqld: unrecognized service
Installation FAILED at SQL !!!

Sandeep

Pm me the details of you VPS control panel. Need to investigate.

ohad


ohad

Thank you Sandeep!
He connect to my VPS and fix the problem.
Something with swap.
Now everything works great and I can use CWP :)

Thank you again !!

ohad

Sandeep, I still got the errors.
I sent you a private message, I wrote it here because yesterday you didn't got my pm.

Thank you about your help!!


ohad

Hi guys,

I must to tell you that without the help of Sandeep I can't even think to install CWP.
He help me to solve the installation error, help me to fix my domain dns issue and even install for me DKIM and SPF and now the emails from the server not mark as SPAM.

He is amazing!
Thank you Sandeep, you are the best !

briansamuel

I have same problem , can you help me fix it !!

klone7474

The image shows that he can not find MYSQL source file to install or they are damaged. and 512MB VPS is very low and under the minimum requirement of CWP. If you go by the book. You can go into  latest.sh and change the minimum ram to 512MB but i do not advice that. It gives you in future problem. Just a extra information CLAMAV needs 1GB RAM then plus apache, bind , mysql etc. I suggest upgrade to higher VPN.

rjrajreehan

i had the same error please some one could please fix it for me :(  :-\ :-\ :-\ :-\ :-\ :-\

robbyq

It not a problem the CWP it a config the vps i think

rjrajreehan

make sure you had a fresh installation of CentOS 6.7 x64 and the server is fully clean not installed any tool it and then try or just simply remove your previous installed version of SQL