Jump to content
Froxlor Forum
  • 0

We are sorry, but a MySQL - error occurred


Bady

Question

Hallo Comm.

 

Ich habe folgendes Problem.

Gestern ging noch alles und heute auf einmal nicht mehr :) Der ?bliche Spruch halt :)

 

Wenn ich das Panel aufrufe bekomme ich folgenden fehler angezeigt:

We are sorry, but a MySQL - error occurred. The administrator may find more information in in the sql-error.log in the logs/ directory

In folgender Log steht:

06.07.2014 10:06 --- SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'reading initial communication packet', system error: 0
06.07.2014 10:06 --- DEBUG:
#0 /var/www/froxlor/lib/classes/database/class.Database.php(280): PDO->__construct('mysql:host=127....', 'froxlor', 'meinpw', Array)
#1 /var/www/froxlor/lib/classes/database/class.Database.php(178): Database::getDB()
#2 /var/www/froxlor/lib/cron_init.php(132): Database::__callStatic('query', Array)
#3 /var/www/froxlor/lib/cron_init.php(132): Database::query('SELECT 1')
#4 /var/www/froxlor/scripts/froxlor_master_cronjob.php(20): include_once('/var/www/froxlo...')
#5 {main}

Ich habe mir zwar die Database.php , die cron_init.php und die froxlor_master_cronjob.php(20) angesehen. Aber mir f?llt beim besten willen nichts auf.

 

H?tte ev. jemand eine L?sung f?r mein Problem?

 

mfg Bady
 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Hi.

Danke f?r die schnelle Antwort!

 

Froxlor db ist via phpmyadmin erreichbar mit den user froxlor und dem Passwort wie in der log steht.

Nein habe nichts angepasst.

 

mfg

 

EDIT: Funktioniert wieder ^^

 

Fehler lag anscheinen an der iptables.

Hab die hosts.deny gel?scht.

Danach:

iptables -X
iptables -F
und reboot.

 

und schwupp funktionierte es wieder. Da hat wohl portsentry oder fail2ban was geblockt.

 

Herzlichen Dank dennoch f?r deine M?he!!

 

mfg

Link to comment
Share on other sites

Die Fehlermeldung besagt ,dass die Verbindung zum MySQL Server "verloren" wurde - hast du da ggfls. Einstellungen angepasst von MySQL oder ?hnliches? Ist in erster Linie so jetzt kein Froxlor Problem - wir m?ssen uns halt darauf verlassen, dass die Datenbank auch l?uft :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...