ich habe eine Intranetanwendung, die auf xampp läuft. Die habe ich aber selbst nicht entwickelt,
sondern jemand anders. Die letzte Version auf die diese Anwendung läuft ist xampp 1.6.6
daher arbeite ich noch damit.
Bisher lief sie auf einem Debian 5 Server.
Nun habe ich einen neuen Server und den mit Debian 6 (64bit) installiert.
Xampp habe ich wie früher schonmal auf dem alten Rechner gestoppt, dann alle DAteien aus dem /opt
Verzeichnis auf den neuen Server übertragen und gestartet.
Zuerst habe ich das getestet, alles lief.
Nun greifen alle Mitarbeiter darauf zu und in der Anwendung erscheint immer folgende Meldung.
Warning: mysql_fetch_array(): supplied argument ist not a valid MySQL result resource in */pfadzurdatei/inf_function.php" on line xxx .
Danach klappt es aber wieder. Nur das die Anwendung häufig in ganz vielen Bereichen diese Meldung zeigt.
Nun habe ich herausgefunden das diese Meldung immer dann kommt, wenn zwei Leute gleichzeitig in dem Programm arbeiten, also ein konkurierender Zugriff.
Das war auf dem alten Server nie !
Ich habe in die Log datei geschaut und gesehen, das der mysqld alle paar Sekunden neu gestartet wird.
Mal dauert es 3 Sekunden, mal 10 Sekunden. Ich denke immer wenn zwei Leute gleichzeitig das Programm nutzen.
Nun bin ich total ratlos. Daher meine Frage: Wie kann man am besten und auch schnellsten xampp von einem PC zu einem anderen übertragen, so das auch alle Dateien und Zugriffsrechte mitgenommen werden.
Und wie kann ich das aktuelle Problem nun beheben?
Kann es daran liegen, das das neue Debian 64 Bit ist? Oder kann der Rechner dafür zu schnell sein?
Hier die Meldung aus der mysql log Datei:
- Code: Select all
111011 14:32:04 - mysqld got signal 6;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.
key_buffer_size=16777216
read_buffer_size=258048
max_used_connections=1
max_connections=100
threads_connected=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 92783 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
thd=0x93edb90
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
Cannot determine thread, fp=0xf633c468, backtrace may not be correct.
Stack range sanity check OK, backtrace follows:
0x8152d24
0xf76e4400
0x2
0xf73f1e35
0xf73f1f64
0xf755613a
0xf75561dd
0xf7553ca8
0xf754d970
0x8152b1e
0x8163595
0xf754c955
0xf745df1e
New value of fp=(nil) failed sanity check, terminating stack trace!
Please read http://dev.mysql.com/doc/mysql/en/using ... trace.html and follow instructions on how to resolve the stack trace. Resolved
stack trace is much more helpful in diagnosing the problem, so please do
resolve it
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort...
thd->query at (nil) is invalid pointer
thd->thread_id=1
The manual page at http://www.mysql.com/doc/en/Crashing.html contains
information that should help you find out what is causing the crash.
-e
Number of processes running now: 0
111011 14:32:04 mysqld restarted
111011 14:32:04 [Note] /opt/lampp/sbin/mysqld: ready for connections.
Version: '5.0.51a-log' socket: '/opt/lampp/var/mysql/mysql.sock' port: 3306 Source distribution