Current time: 11-28-2024, 07:03 AM Hello There, Guest! (LoginRegister)


Post Reply 
MySql geht nicht mehr error 2002
Author Message
grex Offline
Junior Member
*

Posts: 156
Joined: Sep 2007
Reputation: 0
Post: #1
MySql geht nicht mehr error 2002
Hallo Leute.
Nach einen reboot de Linux Systems, geht der MySql server nicht mehr folgendes kommt wenn ich mich im phpmyadmin anmelden will:
Code:
#2002 - Der Server antwortet nicht. (evtl. ist auch der Socket des lokalen MySQL-Servers socket nicht korrekt konfiguriert)

Diese ist auch net erreichbar ( Gameserver kann net zugreifen ) und ISPCP also das Control webinterface kann auch nicht zugreifen, ich habe auch nichts gemacht an der Datenbank, nur einen Reboot Sad


Weiss einer was da falsch läuft?


Mfg Grex
10-14-2007 08:21 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: MySql geht nicht mehr error 2002
ich vermute, du must die Konsole/Shell bemühen, um mehr herauszufinden.

Es gibt Logfiles, die weiterhelfen.

grex Wrote:Weiss einer was da falsch läuft?

ich nehme an, der MySQL Dienst läuft nicht.

/etc/init.d/mysql restart

oder so...

/Joximu
10-14-2007 09:10 PM
Visit this user's website Find all posts by this user Quote this message in a reply
grex Offline
Junior Member
*

Posts: 156
Joined: Sep 2007
Reputation: 0
Post: #3
RE: MySql geht nicht mehr error 2002
hallo, welche log file brauchst du den?
das ergebniss beim restarten:
Code:
/etc/init.d/mysql restart
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!


mfg
Grex
10-14-2007 10:08 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: MySql geht nicht mehr error 2002
grex Wrote:hallo, welche log file brauchst du den?

ich? ich denke, *du* brauchst sie.
Schau mal in /var/log/mysql.err und mysql.log

grex Wrote:das ergebniss beim restarten:
Code:
/etc/init.d/mysql restart
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!

hm, na also - meine Vermutung war richtig... mysql läuft nicht.

Gruss
Joximu
10-14-2007 10:56 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #5
RE: MySql geht nicht mehr error 2002
sagen die logs irgendwas?
10-14-2007 11:52 PM
Find all posts by this user Quote this message in a reply
grex Offline
Junior Member
*

Posts: 156
Joined: Sep 2007
Reputation: 0
Post: #6
RE: MySql geht nicht mehr error 2002
also alle beide logs sind leer.

Wie kann ich denn , den mysql starten? er lässt sich ja net ma starten...

wobei ich die lgo nicht geändert habe und habe sie mir von meinen gleichen 2ten virteullen root server runter geladen und auf den ersten rauf, ( habe zuerst abgeglichen, alles war gleich )

und es passiert auch nichts also er lässt sich auch net starten, einer ne idee? ich habe nichts gemacht bis auf reboot eingetippt, dann hat er sich net mehr starten lassen, und dann habe ich mittels providerbox ( webinterace zum starten,stoppen,usw. ) und seit dem geht der mysql server nicht mehr Sad


Bitte helft mir.


Mfg
Grex
10-15-2007 12:21 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #7
RE: MySql geht nicht mehr error 2002
Steht was in der /var/log/messages?

Gruss
Joximu

Edit: oder /var/log/syslog
oder sonst eine neu veränderte Logdatei in /var/log...
(This post was last modified: 10-15-2007 01:24 AM by joximu.)
10-15-2007 01:18 AM
Visit this user's website Find all posts by this user Quote this message in a reply
grex Offline
Junior Member
*

Posts: 156
Joined: Sep 2007
Reputation: 0
Post: #8
RE: MySql geht nicht mehr error 2002
/var/log/messages:
Code:
Feb 10 18:35:07 localhost syslogd 1.4.1#17: restart.
Feb 10 18:41:08 localhost exiting on signal 15
Feb 10 18:41:31 localhost syslogd 1.4.1#18: restart.
Feb 10 18:41:54 localhost shutdown[24486]: shutting down for system reboot
Feb 10 18:41:54 localhost kernel: Kernel logging (proc) stopped.
Feb 10 18:41:54 localhost kernel: Kernel log daemon terminating.
Feb 10 18:41:55 localhost exiting on signal 15
Feb 10 18:45:03 localhost syslogd 1.4.1#18: restart.
Feb 10 18:45:03 localhost kernel: klogd 1.4.1#18, log source = /proc/kmsg started.
Feb 10 18:49:19 localhost shutdown[26440]: shutting down for system halt
Feb 10 18:49:19 localhost kernel: Kernel logging (proc) stopped.
Feb 10 18:49:19 localhost kernel: Kernel log daemon terminating.
Feb 10 18:49:20 localhost exiting on signal 15
Jun 23 07:30:34 ve490270355 syslogd 1.4.1#18: restart.
Jun 23 07:30:34 ve490270355 kernel: klogd 1.4.1#18, log source = /proc/kmsg started.
Jun 23 07:50:34 ve490270355 -- MARK --
Jun 23 08:10:34 ve490270355 -- MARK --
Jun 23 08:30:34 ve490270355 -- MARK --
Jun 23 08:50:34 ve490270355 -- MARK --
Jun 23 09:10:34 ve490270355 -- MARK --
Jun 23 09:30:34 ve490270355 -- MARK --
Jun 23 09:50:34 ve490270355 -- MARK --
Jun 23 10:10:34 ve490270355 -- MARK --
Jun 23 10:30:34 ve490270355 -- MARK --
Jun 23 10:50:35 ve490270355 -- MARK --
Jun 23 11:10:35 ve490270355 -- MARK --
Jun 23 11:30:35 ve490270355 -- MARK --
Jun 23 11:50:35 ve490270355 -- MARK --
Jun 23 12:10:35 ve490270355 -- MARK --
Jun 23 12:30:35 ve490270355 -- MARK --
Jun 23 12:50:35 ve490270355 -- MARK --
Jun 23 13:10:35 ve490270355 -- MARK --
Jun 23 13:30:35 ve490270355 -- MARK --
Jun 23 13:50:35 ve490270355 -- MARK --
Jun 23 14:10:35 ve490270355 -- MARK --
Jun 23 14:30:35 ve490270355 -- MARK --
Jun 23 14:50:35 ve490270355 -- MARK --
Jun 23 15:10:36 ve490270355 -- MARK --
Jun 23 15:30:36 ve490270355 -- MARK --
Jun 23 15:50:36 ve490270355 -- MARK --
Jun 23 16:10:36 ve490270355 -- MARK --
Jun 23 16:30:36 ve490270355 -- MARK --
Jun 23 16:50:36 ve490270355 -- MARK --
Jun 23 17:10:36 ve490270355 -- MARK --
Jun 23 17:30:36 ve490270355 -- MARK --
Jun 23 17:50:36 ve490270355 -- MARK --
Jun 23 18:03:30 ve490270355 shutdown[7469]: shutting down for system halt
Jun 23 18:03:36 ve490270355 kernel: Kernel logging (proc) stopped.
Jun 23 18:03:36 ve490270355 kernel: Kernel log daemon terminating.
Jun 23 18:03:37 ve490270355 exiting on signal 15
Jun 23 18:07:51 ispconfig syslogd 1.4.1#18: restart.
Jun 23 18:07:51 ispconfig kernel: klogd 1.4.1#18, log source = /proc/kmsg started.
Jun 23 18:08:51 ispconfig shutdown[10057]: shutting down for system halt
Jun 23 18:08:58 ispconfig kernel: Kernel logging (proc) stopped.
Jun 23 18:08:58 ispconfig kernel: Kernel log daemon terminating.
Jun 23 18:08:59 ispconfig exiting on signal 15
Jun 23 18:09:54 ispconfig syslogd 1.4.1#18: restart.
Jun 23 18:09:54 ispconfig kernel: klogd 1.4.1#18, log source = /proc/kmsg started.
Jun 23 18:29:54 ispconfig -- MARK --
Jun 23 18:49:54 ispconfig -- MARK --
Jun 23 19:09:54 ispconfig -- MARK --
Jun 23 19:29:54 ispconfig -- MARK --
Jun 23 19:49:55 ispconfig -- MARK --
Jun 23 20:09:55 ispconfig -- MARK --
Jun 23 20:22:58 ispconfig shutdown[32110]: shutting down for system halt
Jun 23 20:23:06 ispconfig kernel: Kernel logging (proc) stopped.
Jun 23 20:23:06 ispconfig kernel: Kernel log daemon terminating.
Jun 23 20:23:07 ispconfig exiting on signal 15
Jun 23 20:34:49 ispconfig syslogd 1.4.1#18: restart.
Jun 23 20:34:49 ispconfig kernel: klogd 1.4.1#18, log source = /proc/kmsg started.
Jun 23 20:36:56 ispconfig shutdown[9552]: shutting down for system halt
Jun 23 20:36:58 ispconfig kernel: Kernel logging (proc) stopped.
Jun 23 20:36:58 ispconfig kernel: Kernel log daemon terminating.
Jun 23 20:36:59 ispconfig exiting on signal 15
Jun 23 20:49:36 ispconfig syslogd 1.4.1#18: restart.
Jun 23 20:49:36 ispconfig kernel: klogd 1.4.1#18, log source = /proc/kmsg started.
Jun 23 20:51:47 ispconfig shutdown[21535]: shutting down for system halt
Jun 23 20:51:51 ispconfig kernel: Kernel logging (proc) stopped.
Jun 23 20:51:51 ispconfig kernel: Kernel log daemon terminating.
Jun 23 20:51:52 ispconfig exiting on signal 15
Oct 13 10:48:14 ve311804405 syslogd 1.4.1#18: restart.
Oct 13 10:48:14 ve311804405 kernel: klogd 1.4.1#18, log source = /proc/kmsg started.
Oct 13 11:08:14 ve311804405 -- MARK --
Oct 13 11:08:33 ve311804405 squid[17502]: Squid Parent: child process 17504 started
Oct 13 11:28:14 ve311804405 -- MARK --
Oct 13 11:48:14 ve311804405 -- MARK --
Oct 13 12:08:14 ve311804405 -- MARK --
Oct 13 12:28:14 ve311804405 -- MARK --
Oct 13 12:48:15 ve311804405 -- MARK --
Oct 13 13:08:15 ve311804405 -- MARK --
Oct 13 13:12:25 ve311804405 squid[17502]: Squid Parent: child process 17504 exited with status 0
Oct 13 13:13:07 ve311804405 squid[25657]: Squid Parent: child process 25659 started
Oct 13 13:28:15 ve311804405 -- MARK --
Oct 13 13:48:17 ve311804405 -- MARK --
Oct 13 14:08:17 ve311804405 -- MARK --
Oct 13 14:28:17 ve311804405 -- MARK --
Oct 13 14:48:17 ve311804405 -- MARK --
Oct 13 15:08:17 ve311804405 -- MARK --
Oct 13 15:28:17 ve311804405 -- MARK --
Oct 13 15:48:18 ve311804405 -- MARK --
Oct 13 16:08:18 ve311804405 -- MARK --
Oct 13 16:28:18 ve311804405 -- MARK --
Oct 13 16:48:20 ve311804405 -- MARK --
Oct 13 17:08:21 ve311804405 -- MARK --
Oct 13 17:28:21 ve311804405 -- MARK --
Oct 13 17:48:21 ve311804405 -- MARK --
Oct 13 18:08:22 ve311804405 -- MARK --
Oct 13 18:28:22 ve311804405 -- MARK --
Oct 13 18:48:23 ve311804405 -- MARK --
Oct 13 19:08:23 ve311804405 -- MARK --
Oct 13 19:28:23 ve311804405 -- MARK --
Oct 13 19:48:23 ve311804405 -- MARK --
Oct 13 20:08:23 ve311804405 -- MARK --
Oct 13 20:28:23 ve311804405 -- MARK --
Oct 13 20:48:24 ve311804405 -- MARK --
Oct 13 21:08:24 ve311804405 -- MARK --
Oct 13 21:28:24 ve311804405 -- MARK --
Oct 13 21:48:24 ve311804405 -- MARK --
Oct 13 22:08:26 ve311804405 -- MARK --
Oct 13 22:28:26 ve311804405 -- MARK --
Oct 13 22:48:26 ve311804405 -- MARK --
Oct 13 23:08:26 ve311804405 -- MARK --
Oct 13 23:28:27 ve311804405 -- MARK --
Oct 13 23:48:27 ve311804405 -- MARK --
Oct 14 00:08:27 ve311804405 -- MARK --
Oct 14 00:28:27 ve311804405 -- MARK --
Oct 14 00:48:27 ve311804405 -- MARK --
Oct 14 01:08:27 ve311804405 -- MARK --
Oct 14 01:28:28 ve311804405 -- MARK --
Oct 14 01:48:28 ve311804405 -- MARK --
Oct 14 02:08:28 ve311804405 -- MARK --
Oct 14 02:28:29 ve311804405 -- MARK --
Oct 14 02:48:29 ve311804405 -- MARK --
Oct 14 03:08:29 ve311804405 -- MARK --
Oct 14 03:28:29 ve311804405 -- MARK --
Oct 14 03:48:29 ve311804405 -- MARK --
Oct 14 04:08:29 ve311804405 -- MARK --
Oct 14 04:28:29 ve311804405 -- MARK --
Oct 14 04:48:29 ve311804405 -- MARK --
Oct 14 05:08:30 ve311804405 -- MARK --
Oct 14 05:28:31 ve311804405 -- MARK --
Oct 14 05:48:31 ve311804405 -- MARK --
Oct 14 06:08:31 ve311804405 -- MARK --
Oct 14 06:28:32 ve311804405 -- MARK --
Oct 14 06:48:33 ve311804405 -- MARK --
Oct 14 07:08:33 ve311804405 -- MARK --
Oct 14 07:28:33 ve311804405 -- MARK --
Oct 14 07:48:33 ve311804405 -- MARK --
Oct 14 08:08:34 ve311804405 -- MARK --
Oct 14 08:28:34 ve311804405 -- MARK --
Oct 14 08:48:35 ve311804405 -- MARK --
Oct 14 09:08:36 ve311804405 -- MARK --
Oct 14 09:28:37 ve311804405 -- MARK --
Oct 14 09:48:37 ve311804405 -- MARK --
Oct 14 09:51:49 ve311804405 shutdown[28031]: shutting down for system reboot
Oct 14 10:02:11 ve311804405 syslogd 1.4.1#18: restart.
Oct 14 10:02:11 ve311804405 kernel: klogd 1.4.1#18, log source = /proc/kmsg started.
Oct 14 10:02:35 ve311804405 squid[8175]: Squid Parent: child process 8181 started
Oct 14 10:09:33 ve311804405 shutdown[15401]: shutting down for system reboot
Oct 14 10:10:08 ve311804405 squid[8175]: Squid Parent: child process 8181 exited with status 0
Oct 14 10:10:09 ve311804405 kernel: Kernel logging (proc) stopped.
Oct 14 10:10:09 ve311804405 kernel: Kernel log daemon terminating.
Oct 14 10:10:11 ve311804405 exiting on signal 15
Oct 14 10:15:07 ve311804405 syslogd 1.4.1#18: restart.
Oct 14 10:15:07 ve311804405 kernel: klogd 1.4.1#18, log source = /proc/kmsg started.
Oct 14 10:15:22 ve311804405 squid[25861]: Squid Parent: child process 25863 started
Oct 14 10:35:07 ve311804405 -- MARK --
Oct 14 10:55:07 ve311804405 -- MARK --
Oct 14 11:15:07 ve311804405 -- MARK --
Oct 14 11:35:07 ve311804405 -- MARK --
Oct 14 11:55:07 ve311804405 -- MARK --
Oct 14 12:15:07 ve311804405 -- MARK --
Oct 14 12:35:07 ve311804405 -- MARK --
Oct 14 12:55:07 ve311804405 -- MARK --
Oct 14 13:15:08 ve311804405 -- MARK --
Oct 14 13:35:08 ve311804405 -- MARK --
Oct 14 13:55:08 ve311804405 -- MARK --
Oct 14 14:15:08 ve311804405 -- MARK --
Oct 14 14:35:09 ve311804405 -- MARK --
Oct 14 14:55:09 ve311804405 -- MARK --
Oct 14 15:15:09 ve311804405 -- MARK --
Oct 14 15:35:12 ve311804405 -- MARK --
Oct 14 15:55:12 ve311804405 -- MARK --
Oct 14 16:15:12 ve311804405 -- MARK --
Oct 14 16:35:12 ve311804405 -- MARK --

die syslog isn bisschen lang, die geht sich net aus, brauchst du diese auch wirklich? weil sonst lad ich sie hoch.
Per Webmin lässt sich der MySQL server auch nicht starten...
(This post was last modified: 10-15-2007 03:11 AM by grex.)
10-15-2007 02:50 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #9
RE: MySql geht nicht mehr error 2002
eigentlich sind nur die Zeilen wichtig, die während dem MySQL-Startversuch gfeschrieben werden wichtig.

Vorschlag:
Versuch den mysql zu starten und gleich danach postest du die Ausgabe von

tail -30 /var/log/syslog

Gruss J
10-15-2007 06:47 AM
Visit this user's website Find all posts by this user Quote this message in a reply
grex Offline
Junior Member
*

Posts: 156
Joined: Sep 2007
Reputation: 0
Post: #10
RE: MySql geht nicht mehr error 2002
Hallo, hier das Ergebnis:
Code:
/etc/init.d/mysql start
Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
root@ve311804405:~# tail -30 /var/log/syslog
Oct 15 12:39:01 ve311804405 /USR/SBIN/CRON[1390]: (root) CMD (  [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f -cmin +$(/usr/lib/php4/maxlifetime) -print0 | xargs -r -0 rm)
Oct 15 12:39:01 ve311804405 /USR/SBIN/CRON[1392]: (root) CMD (  [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Oct 15 12:45:01 ve311804405 /USR/SBIN/CRON[6094]: (root) CMD (/var/www/ispcp/engine/traffic/ispcp-vrl-traff-correction &>/var/log/ispcp/ispcp-vrl-traff-correction.log)
Oct 15 12:55:17 ve311804405 -- MARK --
Oct 15 13:00:01 ve311804405 /USR/SBIN/CRON[20117]: (root) CMD (/var/www/ispcp/engine/traffic/ispcp-vrl-traff &>/var/log/ispcp/ispcp-vrl-traff.log)
Oct 15 13:00:01 ve311804405 /USR/SBIN/CRON[20118]: (root) CMD (/var/www/ispcp/engine/traffic/ispcp-srv-traff &>/var/log/ispcp/ispcp-srv-traff.log)
Oct 15 13:09:01 ve311804405 /USR/SBIN/CRON[30336]: (root) CMD (  [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Oct 15 13:09:01 ve311804405 /USR/SBIN/CRON[30348]: (root) CMD (  [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f -cmin +$(/usr/lib/php4/maxlifetime) -print0 | xargs -r -0 rm)
Oct 15 13:15:01 ve311804405 /USR/SBIN/CRON[3397]: (root) CMD (/var/www/ispcp/engine/traffic/ispcp-vrl-traff-correction &>/var/log/ispcp/ispcp-vrl-traff-correction.log)
Oct 15 13:27:01 ve311804405 /USR/SBIN/CRON[15772]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Oct 15 13:30:01 ve311804405 /USR/SBIN/CRON[17504]: (root) CMD (/var/www/ispcp/engine/traffic/ispcp-vrl-traff &>/var/log/ispcp/ispcp-vrl-traff.log)
Oct 15 13:30:02 ve311804405 /USR/SBIN/CRON[17541]: (root) CMD (/var/www/ispcp/engine/traffic/ispcp-srv-traff &>/var/log/ispcp/ispcp-srv-traff.log)
Oct 15 13:32:43 ve311804405 mysqld_safe[22079]: started
Oct 15 13:32:43 ve311804405 mysqld[22082]: 071015 15:32:43  InnoDB: Started; log sequence number 0 43655
Oct 15 13:32:43 ve311804405 mysqld[22082]: ^G/usr/sbin/mysqld: File '' not found (Errcode: 2)
Oct 15 13:32:43 ve311804405 mysqld[22082]: 071015 15:32:43 [ERROR] Failed to open log (file '', errno 2)
Oct 15 13:32:43 ve311804405 mysqld[22082]: 071015 15:32:43 [ERROR] Could not open log file
Oct 15 13:32:43 ve311804405 mysqld[22082]: 071015 15:32:43 [ERROR] Can't init tc log
Oct 15 13:32:43 ve311804405 mysqld[22082]: 071015 15:32:43 [ERROR] Aborting
Oct 15 13:32:43 ve311804405 mysqld[22082]:
Oct 15 13:32:43 ve311804405 mysqld[22082]: 071015 15:32:43  InnoDB: Starting shutdown...
Oct 15 13:32:45 ve311804405 mysqld[22082]: 071015 15:32:45  InnoDB: Shutdown completed; log sequence number 0 43655
Oct 15 13:32:45 ve311804405 mysqld[22082]: 071015 15:32:45 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 15 13:32:45 ve311804405 mysqld[22082]:
Oct 15 13:32:45 ve311804405 mysqld_safe[22111]: ended
Oct 15 13:32:57 ve311804405 /etc/init.d/mysql[22254]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Oct 15 13:32:57 ve311804405 /etc/init.d/mysql[22254]: ^G/usr/bin/mysqladmin: connect to server at 'localhost' failed
Oct 15 13:32:57 ve311804405 /etc/init.d/mysql[22254]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Oct 15 13:32:57 ve311804405 /etc/init.d/mysql[22254]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
Oct 15 13:32:57 ve311804405 /etc/init.d/mysql[22254]:

mfg
Grex
10-15-2007 11:36 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)