Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - vinceent

Pages: [1]
1
CentOS-WebPanel GUI / Re: Warning: mysqli_connect(): (HY000/2002)
« on: June 07, 2019, 11:46:28 AM »
i delete in "
/etc/var/lib/mysql .
rm -rf .  rm -rf tc.log
after i restart mysql

service mysqld restart
Shutting down MariaDB.. SUCCESS!

and after in . 
cd /scripts/
./image_rebuild_server_config

and all is ok !!!

2
MySQL / Re: Warning: mysqli_connect(): (HY000/2002)
« on: June 07, 2019, 11:43:13 AM »
i delete in "
/etc/var/lib/mysql .
rm -rf .  rm -rf tc.log
after i restart mysql

service mysqld restart
Shutting down MariaDB.. SUCCESS!

and after in . 
cd /scripts/
./image_rebuild_server_config

and all is ok !!!

3
MySQL / Re: problem with start Mysql
« on: June 07, 2019, 11:37:11 AM »
now i have this problem and can't find one solution

Warning: mysqli_connect(): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

Warning: mysqli_connect(): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

Warning: mysqli_connect(): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: mysqli_connect(): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0


Trying to start mysql server, please wait!
Try to restart CentOS Web Panel with command: sh /scripts/restart_cwpsrv

**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf


Warning: mysqli_error() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Could not connect:

4
MySQL / Re: Warning: mysqli_connect(): (HY000/2002)
« on: June 07, 2019, 11:32:33 AM »
same i have error now and i don't now how to solved this !!!   can to tell me ?  Tnx very much

5
CentOS-WebPanel GUI / Re: Warning: mysqli_connect(): (HY000/2002)
« on: June 07, 2019, 11:13:39 AM »
same error i have .. and try to solved but i can't :-(

6
CentOS-WebPanel GUI / Re: Warning: mysqli_connect(): (HY000/2002)
« on: June 07, 2019, 11:06:55 AM »
190607 14:23:04 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
2019-06-07 14:23:05 140120395659296 [Note] /usr/sbin/mysqld (mysqld 10.1.40-MariaDB) starting as process 6262 ...
2019-06-07 14:23:05 140120395659296 [Note] InnoDB: innodb_empty_free_list_algorithm has been changed to legacy because of small buffer pool size. In order to use backoff, increase buffer pool at least up to 20MB.

2019-06-07 14:23:05 140120395659296 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2019-06-07 14:23:05 140120395659296 [Note] InnoDB: The InnoDB memory heap is disabled
2019-06-07 14:23:05 140120395659296 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2019-06-07 14:23:05 140120395659296 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2019-06-07 14:23:05 140120395659296 [Note] InnoDB: Compressed tables use zlib 1.2.3
2019-06-07 14:23:05 140120395659296 [Note] InnoDB: Using Linux native AIO
2019-06-07 14:23:05 140120395659296 [Note] InnoDB: Using SSE crc32 instructions
2019-06-07 14:23:05 140120395659296 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2019-06-07 14:23:05 140120395659296 [Note] InnoDB: Completed initialization of buffer pool
2019-06-07 14:23:05 140120395659296 [Note] InnoDB: Highest supported file format is Barracuda.
2019-06-07 14:23:05 140120395659296 [Note] InnoDB: 128 rollback segment(s) are active.
2019-06-07 14:23:05 140120395659296 [Note] InnoDB: Waiting for purge to start
2019-06-07 14:23:05 140120395659296 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.43-84.3 started; log sequence number 17677359499
2019-06-07 14:23:05 140120395659296 [Note] Plugin 'FEEDBACK' is disabled.
2019-06-07 14:23:05 140120395659296 [Note] Recovering after a crash using tc.log
2019-06-07 14:23:05 140120395659296 [ERROR] Can't init tc log
2019-06-07 14:23:05 140120395659296 [ERROR] Aborting

190607 14:23:07 mysqld_safe mysqld from pid file /var/lib/mysql/srv.netlinkunix.eu.pid ended

7
CentOS-WebPanel GUI / Re: Warning: mysqli_connect(): (HY000/2002)
« on: June 07, 2019, 10:24:57 AM »
[root@srv scripts]# ./checkdb
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")

[root@srv init.d]# service mysqld restart
 ERROR! MariaDB server PID file could not be found!
Starting MariaDB.190607 14:15:23 mysqld_safe Logging to '/var/lib/mysql/srv.netlinkunix.eu.err'.
190607 14:15:23 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
.../etc/init.d/mysqld: line 264: kill: (328) - No such process
 ERROR!
 ERROR! Failed to restart server.

8
CentOS-WebPanel GUI / Warning: mysqli_connect(): (HY000/2002)
« on: June 07, 2019, 09:13:01 AM »
i have this problem
and i reset password and after restart all and same no worked !!!
Tnx very much

============

Warning: mysqli_connect(): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

Warning: mysqli_connect(): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

Warning: mysqli_connect(): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: mysqli_connect(): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0


Trying to start mysql server, please wait!
Try to restart CentOS Web Panel with command: sh /scripts/restart_cwpsrv

**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf


Warning: mysqli_error() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Could not connect:

9
MySQL / Re: MySQL error
« on: January 08, 2017, 11:52:01 AM »
cd /var/lib/mysql/
and after delete this:  rm -rf tc.log
after:  service mysqld restart

10
MySQL / Re: problem with start Mysql
« on: January 08, 2017, 11:40:09 AM »
SOLVED !!!!

cd /var/lib/mysql/
and after delete this:  rm -rf tc.log
after:  service mysqld restart


11
MySQL / problem with start Mysql
« on: January 07, 2017, 11:56:51 PM »
Hi all i have a install after 8 months a cwp and worked perfect but in this night i try to login in cwp pannel and my password is not worked ... i reboot my server and now i recive this error :

Warning: [obfuscated](): No such file or directory in /usr/local/cwpsrv/htdocs/admin/index.php on line 0
ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) exists

Trying to start mysql server, please wait!
Try to restart CentOS Web Panel with command: service cwpsrv restart

**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf

Could not connect: No such file or directory

and i specific: in /root/.my.cnf and /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php is same password !!!

AND I HAVE THIS VERSION:  mysql  Ver 15.1 Distrib 10.1.20-MariaDB, for Linux (x86_64) using readline 5.1


i try to restart mysqld manualy and recive :
[root@srv ~]# service mysqld start
Starting MySQL.170108 01:58:56 mysqld_safe Logging to '/var/lib/mysql/srv.netlinkunix.eu.err'.
.. ERROR!

and in /var/lib/mysql/srv.netlinkunix.eu.err     have this :
170108 02:00:28 mysqld_safe mysqld from pid file /var/lib/mysql/srv.netlinkunix.eu.pid ended
170108 02:00:33 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
2017-01-08  2:00:34 139957175629856 [Note] /usr/sbin/mysqld (mysqld 10.1.20-MariaDB) starting as process 16418 ...
2017-01-08  2:00:34 139957175629856 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2017-01-08  2:00:34 139957175629856 [Note] InnoDB: The InnoDB memory heap is disabled
2017-01-08  2:00:34 139957175629856 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2017-01-08  2:00:34 139957175629856 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2017-01-08  2:00:34 139957175629856 [Note] InnoDB: Compressed tables use zlib 1.2.3
2017-01-08  2:00:34 139957175629856 [Note] InnoDB: Using Linux native AIO
2017-01-08  2:00:34 139957175629856 [Note] InnoDB: Using SSE crc32 instructions
2017-01-08  2:00:34 139957175629856 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2017-01-08  2:00:34 139957175629856 [Note] InnoDB: Completed initialization of buffer pool
2017-01-08  2:00:34 139957175629856 [Note] InnoDB: Highest supported file format is Barracuda.
2017-01-08  2:00:34 139957175629856 [Note] InnoDB: 128 rollback segment(s) are active.
2017-01-08  2:00:34 139957175629856 [Note] InnoDB: Waiting for purge to start
2017-01-08  2:00:34 139957175629856 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.34-79.1 started; log sequence number 1$
2017-01-08  2:00:34 139957175629856 [Note] Plugin 'FEEDBACK' is disabled.
2017-01-08  2:00:34 139957175629856 [Note] Recovering after a crash using tc.log
2017-01-08  2:00:34 139957175629856 [ERROR] Can't init tc log
2017-01-08  2:00:34 139957175629856 [ERROR] Aborting




I need help to solved this problem !!!


Tnx

Pages: [1]