Author Topic: Can't install CWP on CentOS 6.7 x64  (Read 15372 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Can't install CWP on CentOS 6.7 x64
« on: May 22, 2016, 01:19:56 PM »
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 !

Offline
*****
Re: Can't install CWP on CentOS 6.7 x64
« Reply #1 on: May 22, 2016, 02:11:33 PM »
reinstall the os
and try this commands :
Code: [Select]
cd /usr/local/src
wget http://centos-webpanel.com/cwp-latest
sh cwp-latest -d mariadb

Offline
*
Re: Can't install CWP on CentOS 6.7 x64
« Reply #2 on: May 22, 2016, 02:18:57 PM »
Thank you but I got the same error  :o

Code: [Select]
[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 !!!

Offline
*****
Re: Can't install CWP on CentOS 6.7 x64
« Reply #3 on: May 22, 2016, 02:46:06 PM »
Pm me the details of you VPS control panel. Need to investigate.

Offline
*
Re: Can't install CWP on CentOS 6.7 x64
« Reply #4 on: May 22, 2016, 03:06:28 PM »
I send it to you :)
Thank you !

Offline
*
Re: Can't install CWP on CentOS 6.7 x64
« Reply #5 on: May 22, 2016, 05:27:19 PM »
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 !!

Offline
*
Re: Can't install CWP on CentOS 6.7 x64
« Reply #6 on: May 23, 2016, 07:37:17 AM »
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!!

Offline
*****
Re: Can't install CWP on CentOS 6.7 x64
« Reply #7 on: May 23, 2016, 06:47:46 PM »
Solved

Offline
*
Re: Can't install CWP on CentOS 6.7 x64
« Reply #8 on: May 25, 2016, 06:20:02 AM »
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 !

Offline
*
Re: Can't install CWP on CentOS 6.7 x64
« Reply #9 on: July 20, 2016, 05:10:10 PM »
I have same problem , can you help me fix it !!

Offline
*
Re: Can't install CWP on CentOS 6.7 x64
« Reply #10 on: August 09, 2016, 08:45:08 AM »
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.

Offline
*
Re: Can't install CWP on CentOS 6.7 x64
« Reply #11 on: October 31, 2016, 12:42:55 PM »
i had the same error please some one could please fix it for me :(  :-\ :-\ :-\ :-\ :-\ :-\

Offline
***
Re: Can't install CWP on CentOS 6.7 x64
« Reply #12 on: October 31, 2016, 02:43:12 PM »
It not a problem the CWP it a config the vps i think

Offline
*
Re: Can't install CWP on CentOS 6.7 x64
« Reply #13 on: March 08, 2017, 08:44:48 AM »
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