Control Web Panel

WebPanel => Installation => Topic started by: Wolli on November 21, 2019, 09:30:56 PM

Title: Errors during installation
Post by: Wolli on November 21, 2019, 09:30:56 PM
On my fresh LAMP VPS always I get errors during installation. Can somebody give my an advice what to do?

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


Installing phpMyAdmin

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Enter password:
ERROR 1049 (42000) at line 1: Unknown database 'root_cwp'

Enter password:
Password OK!!
Enter password:
ERROR 1064 (42000) at line 2: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'USER 'root'@'localhost' IDENTIFIED BY ''' at line 1
Title: Re: Errors during installation
Post by: Wolli on November 22, 2019, 11:02:09 AM
During the last 5 hours I tried all to get CWP installed on Centos 7, no way. I installed a fresh LAMP 4 times, I looked for the database passwords (all correct), I installed root_cwp manually etc etc. It seems to be a bug in the installation script or I am too stupid to get that working. I am really desperate and will install webmin/virtualmin now.
Title: Re: Errors during installation
Post by: Jamshed Datori on November 23, 2019, 02:16:26 AM
CWP can't be installed on a LAMP server as it needs a blank server.

So, try to install it on a fresh server with only Centos 6 or 7 installed on it (without any package like apache, mysql, php, etc..)
Title: Re: Errors during installation
Post by: lukenguyen on November 24, 2019, 03:42:33 PM
Reinstall OS then install CWP