0 Members and 1 Guest are viewing this topic.
[root@server ~]# sh /scripts/update_cwp================================================================= CentOS Web Panel Cron ====================================================================###########################Firewall Flush Daily Blocks#################################################Update Server Packages######################PHP Warning: mysqli_connect(): (HY000/2002): Connection refused in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0PHP Warning: mysqli_connect(): (HY000/2002): Connection refused in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0PHP Warning: mysqli_connect(): (HY000/2002): Connection refused in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0PHP Warning: mysqli_select_db() expects parameter 1 to be mysqli, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0Could not select database root_cwp[root@server ~]#
seems like you've changed the mysql root password or deleted root_cwp database
sh /scripts/mysql_pwd_reset
sh /scripts/check_apish /scripts/cwpsrv_rebuild_user_conf
Execute the following:Code: [Select]sh /scripts/mysql_pwd_resetYes, the error continues, please execute the following and show your output here, and I will be able to help youCode: [Select]sh /scripts/check_apish /scripts/cwpsrv_rebuild_user_conf
Please confirm MySQL root password reset. Continue? (y/N): yShutting down any mysql processes...Stopping mysqld (via systemctl): [ OK ]mysqld: no process foundResetting password... hold onERROR 1146 (42S02) at line 1: Table 'mysql.user' doesn't existCleaning up...Stopping mysqld (via systemctl): [ OK ]Killed mysqld(12643) with signal 15Starting mysqld (via systemctl): Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details. [FAILED] ERROR! MariaDB is not runningPassword reset has been completedNew MySQL root password: [removed password]Remember to store this password safely!
[root@server ~]# sh /scripts/check_apiUser API port 2302 check: OKOauth query check: FAILEDUser API folder check: OKExternal API port 2304 check: OKExternal API files and htaccess : FAILEDCSF Firewall status check: DISABLED
[root@server ~]# sh /scripts/cwpsrv_rebuild_user_confERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")Redirecting to /bin/systemctl reload cwpsrv.serviceRedirecting to /bin/systemctl reload cwp-phpfpm.service
I am unable to login as admin in my cwp also unable to update.Code: [Select][root@server ~]# sh /scripts/update_cwp================================================================= CentOS Web Panel Cron ====================================================================###########################Firewall Flush Daily Blocks#################################################Update Server Packages######################PHP Warning: mysqli_connect(): (HY000/2002): Connection refused in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0PHP Warning: mysqli_connect(): (HY000/2002): Connection refused in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0PHP Warning: mysqli_connect(): (HY000/2002): Connection refused in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0PHP Warning: mysqli_select_db() expects parameter 1 to be mysqli, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0Could not select database root_cwp[root@server ~]#