Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : Module 'mysqli' already loaded in Unknown on line 0

1


Threaded Mode | Print  

 Module 'mysqli' already loaded in Unknown on line 0 (25 Replies, Read 87796 times)
view
Group: Member
Post Group: Working Newbie
Posts: 76
Status:
Hello

After migration websites from webuzo server to new webuzo server and using this tutorial http://www.webuzo.com/wiki/Migration_From_Webuzo

All files,databases,emails are transfered without problems but i have a problem with connection to mysql.On all websites i have this error

Quote
Database Error: Unable to connect to the database:Could not connect to MySQL


Than i`m tryed manual to transfer database,recreate mysql users,reinstall mysql....and nothing..

In error logs i found this:

Quote

Module 'pdo_mysql' already loaded in Unknown on line 0 
PHP Warning:  Module 'mysqli' already loaded in Unknown on line 0


How to resolve this problem?
IP: --   

Module 'mysqli' already loaded in Unknown on line 0
divij
Group: Member
Post Group: Elite Member
Posts: 290
Status:
Hi,

Sir, Please check  whether default mysql is not installed on your server.

If it is installed then remove the default mysql using following command:
root>yum remove mysql

Then reinstall mysql from Webuzo Apps categories.

If you still face an issue please open a support ticket with your server root detail:
https://www.softaculous.com/support/

IP: --   

Module 'mysqli' already loaded in Unknown on line 0
view
Group: Member
Post Group: Working Newbie
Posts: 76
Status:
There was not have double mysql installation

Quote
[root@server ~]# yum remove mysql
Loaded plugins: fastestmirror
Setting up Remove Process
No Match for argument: mysql
Loading mirror speeds from cached hostfile
* base: centos.quelquesmots.fr
* extras: centos.mirror.fr.planethoster.net
* updates: centos.quelquesmots.fr
Softaculous                                              | 2.9 kB    00:00
base                                                    | 3.7 kB    00:00
extras                                                  | 3.4 kB    00:00
updates                                                  | 3.4 kB    00:00
Package(s) mysql available, but not installed.
No Packages marked for removal

IP: --   

Module 'mysqli' already loaded in Unknown on line 0
view
Group: Member
Post Group: Working Newbie
Posts: 76
Status:
Quote
[root@server ~]# service mysqld status
ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) exists
[root@server ~]# service mysqld start
Starting MySQL... ERROR! The server quit without updating PID file (/var/lib/mysql/mysqld.pid).


Board Image
IP: --   

Module 'mysqli' already loaded in Unknown on line 0
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
Hi,

Kill the MySQL service for once entirely and start it over:
Root > killall -9 mysqld mysqld_safe
Root > service mysqld start

Hope it helps \m/

-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

Module 'mysqli' already loaded in Unknown on line 0
view
Group: Member
Post Group: Working Newbie
Posts: 76
Status:
Thank you,this problem was resolved.
IP: --   

Module 'mysqli' already loaded in Unknown on line 0
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
Quote From : view March 27, 2014, 11:04 am
Thank you,this problem was resolved.


Glad to learn that it worked for you !!!

Cheers  :xd:


-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

Module 'mysqli' already loaded in Unknown on line 0
israel
Group: Member
Post Group: Newbie
Posts: 2
Status:
Quote
Database Error: Unable to connect to the database:Could not connect to MySQL


About this error log:
PHP Code

 [Tue Apr 22 15:34:07 2014] [error] [client 173.245.XX.XXPHP Warning:  Module 'tokenizer' already loaded in Unknown on line 0refererhttp://www.....XX.XX
[Tue Apr 22 15:34:07 2014] [error] [client 173.245.XX.XXPHP Warning:  Module 'pdo_sqlite' already loaded in Unknown on line 0refererhttp://www.....XX.XX
[Tue Apr 22 15:34:07 2014] [error] [client 173.245.XX.XXPHP Warning:  Module 'iconv' already loaded in Unknown on line 0refererhttp://www.....XX.XX
[Tue Apr 22 15:34:07 2014] [error] [client 173.245.XX.XXPHP Warning:  Module 'ctype' already loaded in Unknown on line 0refererhttp://www.....XX.XX
[Tue Apr 22 15:34:07 2014] [error] [client 173.245.XX.XXPHP Warning:  Module 'SQLite' already loaded in Unknown on line 0refererhttp://www.....XX.XX
[Tue Apr 22 15:34:07 2014] [error] [client 173.245.XX.XXPHP Warning:  Module 'PDO' already loaded in Unknown on line 0refererhttp://www.....XX.XX 



Any idea?
Thanks guys !
Israel.
IP: --   

Module 'mysqli' already loaded in Unknown on line 0
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
Quote From : israel April 22, 2014, 10:38 pm
Quote
Database Error: Unable to connect to the database:Could not connect to MySQL


About this error log:
PHP Code

 [Tue Apr 22 15:34:07 2014] [error] [client 173.245.XX.XXPHP Warning:  Module 'tokenizer' already loaded in Unknown on line 0refererhttp://www.....XX.XX
[Tue Apr 22 15:34:07 2014] [error] [client 173.245.XX.XXPHP Warning:  Module 'pdo_sqlite' already loaded in Unknown on line 0refererhttp://www.....XX.XX
[Tue Apr 22 15:34:07 2014] [error] [client 173.245.XX.XXPHP Warning:  Module 'iconv' already loaded in Unknown on line 0refererhttp://www.....XX.XX
[Tue Apr 22 15:34:07 2014] [error] [client 173.245.XX.XXPHP Warning:  Module 'ctype' already loaded in Unknown on line 0refererhttp://www.....XX.XX
[Tue Apr 22 15:34:07 2014] [error] [client 173.245.XX.XXPHP Warning:  Module 'SQLite' already loaded in Unknown on line 0refererhttp://www.....XX.XX
[Tue Apr 22 15:34:07 2014] [error] [client 173.245.XX.XXPHP Warning:  Module 'PDO' already loaded in Unknown on line 0refererhttp://www.....XX.XX 



Any idea?
Thanks guys !
Israel.


Is your MySQL service running ?
Restart it for once.

Guide :
http://webuzo.com/wiki/Restart_services



-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

Module 'mysqli' already loaded in Unknown on line 0
israel
Group: Member
Post Group: Newbie
Posts: 2
Status:
Quote From : valley April 23, 2014, 4:39 am

Is your MySQL service running ?
Restart it for once.

Guide :
http://webuzo.com/wiki/Restart_services



I don't know, but I don't think that's about the mysql. Yes, the mysql service is running. Yes, the cloud instance has been restarted some times.
PHP Code

 [Tue Apr 22 15:34:07 2014] [error] [client 173.245.XX.XXPHP Warning:  Module 'tokenizer' already loaded in Unknown on line 0refererhttp://www.....XX.XX
[Tue Apr 22 15:34:07 2014] [error] [client 173.245.XX.XXPHP Warning:  Module 'pdo_sqlite' already loaded in Unknown on line 0refererhttp://www.....XX.XX
[Tue Apr 22 15:34:07 2014] [error] [client 173.245.XX.XXPHP Warning:  Module 'iconv' already loaded in Unknown on line 0refererhttp://www.....XX.XX
[Tue Apr 22 15:34:07 2014] [error] [client 173.245.XX.XXPHP Warning:  Module 'ctype' already loaded in Unknown on line 0refererhttp://www.....XX.XX
[Tue Apr 22 15:34:07 2014] [error] [client 173.245.XX.XXPHP Warning:  Module 'SQLite' already loaded in Unknown on line 0refererhttp://www.....XX.XX
[Tue Apr 22 15:34:07 2014] [error] [client 173.245.XX.XXPHP Warning:  Module 'PDO' already loaded in Unknown on line 0refererhttp://www.....XX.XX 


Board Image
Apache + PHP 5.3 running.

..Israel.
IP: --   

Module 'mysqli' already loaded in Unknown on line 0
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
Try Login to your mysql server as root

http://www.webuzo.com/wiki/Category:FAQs#Password_for_MySQL


-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

Module 'mysqli' already loaded in Unknown on line 0
view
Group: Member
Post Group: Working Newbie
Posts: 76
Status:
Hi Agein

On almost all my servers i still have same problem.Also i checked and get same errors on new installed server and in your DEMO version on your server have same errors in error log.Check screenshoot in attach or http://demo.webuzo.com/enduser/index.php?act=errorlog


Edited by view : May 12, 2014, 10:25 pm
IP: --   

Module 'mysqli' already loaded in Unknown on line 0
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
It's a friendly warning I suppose.
We shall replicate it and fix it ASAP.

Apology for the inconvenience caused.

-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

Module 'mysqli' already loaded in Unknown on line 0
view
Group: Member
Post Group: Working Newbie
Posts: 76
Status:
This problem still filled error logs and clients constant have a questions about this errors.
IP: --   

Module 'mysqli' already loaded in Unknown on line 0
torcams
Group: Member
Post Group: Newbie
Posts: 15
Status:
It happens to me too and MYSQL crashing constantly, reinstalled it a couple of times.
IP: --   

Module 'mysqli' already loaded in Unknown on line 0
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
Quote From : view June 4, 2014, 1:13 am
This problem still filled error logs and clients constant have a questions about this errors.


Sir you can switch to PHP 5.4 at the moment.

Quote
It happens to me too and MYSQL crashing constantly, reinstalled it a couple of times.


What do the error logs have to say ?
Location /var/log


-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

Module 'mysqli' already loaded in Unknown on line 0
torcams
Group: Member
Post Group: Newbie
Posts: 15
Status:
My only website on the VPS is wordpress blog with just a static page.

Log attached, was too big.

IP: --   

Module 'mysqli' already loaded in Unknown on line 0
torcams
Group: Member
Post Group: Newbie
Posts: 15
Status:
It shuts down by itself and the it powers on by itself
IP: --   

Module 'mysqli' already loaded in Unknown on line 0
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
Check the MySQL logs
/var/log/mysqld.log

It will explain you the cause of the issue.

-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

Module 'mysqli' already loaded in Unknown on line 0
torcams
Group: Member
Post Group: Newbie
Posts: 15
Status:
Here is what I get

I am guessing its a hacker trying to access my db and he brings it down.
IP: --   

Module 'mysqli' already loaded in Unknown on line 0
torcams
Group: Member
Post Group: Newbie
Posts: 15
Status:
And the bruteforce log, which confirmes my theory. I have installed Brute Force Detection, Linux Malware Detect, Linux Environment Security from the apps page but I cannot find them anywhere, are they accessible only via ssh?
IP: --   

Module 'mysqli' already loaded in Unknown on line 0
torcams
Group: Member
Post Group: Newbie
Posts: 15
Status:
My site is on for like 1 min until it crashes, i have installed all those security apps and it doesn't help a bit...what can I do Valley?
IP: --   

Module 'mysqli' already loaded in Unknown on line 0
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
Quote From : view June 4, 2014, 1:13 am
This problem still filled error logs and clients constant have a questions about this errors.


Do you strongly require PHP 5.3 ?
If not, switch to PHP 5.4 and you will no longer face the warnings.




-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

Module 'mysqli' already loaded in Unknown on line 0
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
Quote From : torcams July 13, 2014, 3:29 am
Here is what I get

I am guessing its a hacker trying to access my db and he brings it down.


Are you using a remote database ?
Quote

And the bruteforce log, which confirmes my theory. I have installed Brute Force Detection, Linux Malware Detect, Linux Environment Security from the apps page but I cannot find them anywhere, are they accessible only via ssh?


Yes, they are accessible only via ssh.

Quote
It happens to me too and MYSQL crashing constantly, reinstalled it a couple of times.

You logs define only warnings and no errors which cause the crash.



-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

Module 'mysqli' already loaded in Unknown on line 0
torcams
Group: Member
Post Group: Newbie
Posts: 15
Status:
Quote


Are you using a remote database ?


Nope
Quote

You logs define only warnings and no errors which cause the crash.



What could be the problem then?
IP: --   

Module 'mysqli' already loaded in Unknown on line 0
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
Quote
What could be the problem then?


Could you please open a support ticket with the root details of your server and access to your Webuzo Enduser Panel, we will debug and resolve your issues.

Support : https://www.softaculous.com/support/open.php


-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

« Previous    Next »

Threaded Mode | Print  

1


Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 27, 2024, 12:40 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.266