Problem mit MYSQL | Startet scheinbar nicht (richtig)

Irgendwelche Probleme mit XAMPP für Linux? Dann ist hier genau der richtige Ort um nachzufragen.

Problem mit MYSQL | Startet scheinbar nicht (richtig)

Postby Thanquol » 03. July 2004 18:53

So hallöchen ;)

Muss ich mich mal an euch wenden!

Ich hab mir einen alten P3-500,128MB Ram in einen ALukoffer reingebaut *g* und darauf Gentoo mit nem 2.6.6er Kernel installiert.

Alles läuft 1A, neben den grundsachen nur MC und Webmin installiert.

Lampp nach Anleitung nach /opt/lampp installiert, lampp security ausgeführt und lampp start gemacht!

Der Apache läuft einwandfrei, ich kann die XAMPP SEiten mit dem Kennwort ohne Probleme erreichen!

Aber: Wenn ich PHP MY Admin starte wecheseln beim aktualisieren folgende 3 Meldungen durch:
Code: Select all
#2002 - Can't connect to local MySQL server through socket '/opt/lampp/var/mysql/mysql.sock' (111)
#2013 - Lost connection to MySQL server during query
#2002 - Can't connect to local MySQL server through socket '/opt/lampp/var/mysql/mysql.sock' (2)


ok, ein wenig im Forum gesucht und folgendes ausprobiert:

Code: Select all
Thanquol-KofferPC1 root # ln -s /opt/lampp/var/mysql/mysql.sock /var/lib/mysql/mysql.sock
ln: creating symbolic link `/var/lib/mysql/mysql.sock' to `/opt/lampp/var/mysql/mysql.sock': No such file or directory

Code: Select all
Thanquol-KofferPC1 root # ln -s /opt/lampp/bin/mysql /usr/bin/mysql
(ohne weitere Meldung)


Hat aber leider alles nicht zum Erfolg geführt! ;(
Fehlermeldungen bleiben.

ich weis zwar nicht was die mysql.sock eigentlich ausgeben müsste (exestieren tut sie!) aber:
Code: Select all
Thanquol-KofferPC1 root # cat /opt/lampp/var/mysql/mysql.sock
cat: /opt/lampp/var/mysql/mysql.sock: No such device or address


Code: Select all
Thanquol-KofferPC1 root # /opt/lampp/lampp stop
Thanquol-KofferPC1 root # /opt/lampp/lampp start
Starting XAMPP for Linux 1.4.5...
XAMPP: Starting Apache with SSL...
XAMPP: Starting MySQL...
XAMPP for Linux started.
Thanquol-KofferPC1 root # ps -aux | egrep mysql
Warning: bad syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
root      9978  0.0  1.6  1976  984 pts/0    S    19:49   0:00 /bin/sh /opt/lampp/bin/mysqld_safe --datadir=/opt/lampp/var/mysql --pid-file=/opt/lampp/var/mysql/Thanquol-KofferPC1.pid
root     10436  0.0  1.6  1976  984 pts/0    S    19:50   0:00 /bin/sh /opt/lampp/bin/mysqld_safe --datadir=/opt/lampp/var/mysql --pid-file=/opt/lampp/var/mysql/Thanquol-KofferPC1.pid
root     10439  0.0  0.5  1384  312 pts/0    R    19:50   0:00 grep -c /opt/lampp/sbin/mysqld
root     10446  0.0  0.7  1384  432 pts/0    S    19:50   0:00 egrep mysql


error_log Datei:
Code: Select all
Thanquol-KofferPC1 root # cat /opt/lampp/logs/error_log
[Sat Jul 03 19:25:42 2004] [notice] suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Sat Jul 03 19:25:45 2004] [notice] Digest: generating secret for digest authentication ...
[Sat Jul 03 19:25:45 2004] [notice] Digest: done
[Sat Jul 03 19:25:46 2004] [notice] Apache/2.0.49 (Unix) mod_perl/1.99_13 Perl/v5.8.4 mod_ssl/2.0.49 OpenSSL/0.9.7d PHP/4.3.7 DAV/2 configured -- resuming normal operations
[Sat Jul 03 19:49:13 2004] [warn] child process 5430 still did not exit, sending a SIGTERM
[Sat Jul 03 19:49:13 2004] [warn] child process 5431 still did not exit, sending a SIGTERM
[Sat Jul 03 19:49:13 2004] [warn] child process 5432 still did not exit, sending a SIGTERM
[Sat Jul 03 19:49:13 2004] [warn] child process 5433 still did not exit, sending a SIGTERM
[Sat Jul 03 19:49:13 2004] [warn] child process 5436 still did not exit, sending a SIGTERM
[Sat Jul 03 19:49:13 2004] [warn] child process 10638 still did not exit, sending a SIGTERM
[Sat Jul 03 19:49:13 2004] [notice] caught SIGTERM, shutting down
[Sat Jul 03 19:49:49 2004] [notice] suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Sat Jul 03 19:49:50 2004] [notice] Digest: generating secret for digest authentication ...
[Sat Jul 03 19:50:07 2004] [notice] Digest: done
[Sat Jul 03 19:50:08 2004] [notice] Apache/2.0.49 (Unix) mod_perl/1.99_13 Perl/v5.8.4 mod_ssl/2.0.49 OpenSSL/0.9.7d PHP/4.3.7 DAV/2 configured -- resuming normal operations


in der DAtei opt/lampp/var/mysql/Thanquol-KofferPC1.err steht seeeehr oft: (scheinbar schreibt der das regelmäßig rein, denn die DAtei wächst pro Minute um mind. 1MB
Code: Select all
040703 19:54:05  mysqld started
mysqld got signal 11;
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=131072
max_used_connections=0
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 = 80383 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

thd=(nil)
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=0xbffff238, backtrace may not be correct.
Stack range sanity check OK, backtrace follows:
0x80ce0df
0x400276b5
0x82945c4
0x829429f
0x80d171a
0x80cf4b2
0x400f68a8
0x80a3e21
New value of fp=(nil) failed sanity check, terminating stack trace!
Please read http://www.mysql.com/doc/en/Using_stack_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
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.


auffällig: wenn ich eingebe lampp security kommt:
Code: Select all
Thanquol-KofferPC1 lampp # ./lampp security
XAMPP: Quick security check...
XAMPP: Your XAMPP pages are secured by a password.
XAMPP: Do you want to change the password anyway? [no]
XAMPP: MySQL is not accessable via network. Good.
XAMPP: MySQL has to run before I can check the security.
XAMPP: MySQL has a root passwort set. Fine! :)
XAMPP: ProFTPD has a new FTP password. Great!
XAMPP: Do you want to change the password anyway? [no]
XAMPP: Done.
Thanquol-KofferPC1 lampp # ./lampp security
XAMPP: Quick security check...
XAMPP: Your XAMPP pages are secured by a password.
XAMPP: Do you want to change the password anyway? [no]
XAMPP: MySQL is not accessable via network. Good.
XAMPP: MySQL has a root passwort set. Fine! :)
XAMPP: ProFTPD has a new FTP password. Great!
XAMPP: Do you want to change the password anyway? [no]
XAMPP: Done.

(manchmal kommt die Meldung mit dem Mysql, manchmal nicht!)



So, ich hoffe ich hab euch mit den DAten nun nicht erschlagen, aber ich weis wirklich nimmer wo ich noch nach dem FEhler suchen kann ;(
Vielleicht fällt einem von euch ja der Fehler auf!
Lampp ist 2 mal frisch runtergeladen, ohne irgendeinen Fehler ;(

Vielen Dank schonmal,
Florian
Thanquol
 
Posts: 3
Joined: 03. July 2004 18:26

Postby daxim » 03. July 2004 19:58

Code: Select all
Thanquol-KofferPC1 root # ln -s /opt/lampp/var/mysql/mysql.sock /var/lib/mysql/mysql.sock
ln: creating symbolic link `/var/lib/mysql/mysql.sock' to `/opt/lampp/var/mysql/mysql.sock': No such file or directory
Hier liegt der Hase im Pfeffer. Erstelle das Verzeichnis /var/lib/mysql und führe den Symlink noch mal durch.

Zur Info, ein Unix-Socket liegt zwar im Dateisystem, aber da kann man nicht mit herkömmlichen Werkzeugen wie cat dran. Stelle dir stattdessen ein Socket wie zwei Konservenbüchsen mit Strippe vor, einer redet rein (Client), und MySQL am anderen Ende lauscht (Server). Man erkennt Sockets im mc an der schwarzen Farbe und dem =-Zeichen vor dem Namen, und in bash an der Farbe magenta und dem s vor den Attributen.
daxim
 
Posts: 53
Joined: 04. June 2004 20:45

Postby alanin » 04. July 2004 09:07

wenn du dir die arbeit mit gentoo schon gemacht hast, kannst doch eigentlich auch noch nen apache und den rest compilieren ?!

läuft auf alle fälle schneller...
alanin
 
Posts: 16
Joined: 06. January 2004 18:44

Postby Thanquol » 04. July 2004 10:39

vielen dank @ daxim, wieder was dazugelernt! Leider startet der SQL dennoch niht richtig, Fehler bleibt der gleiche ;(

@alanin: wollt ich zuerst eigentlich auch, aber ich finde kein gutes howto, von wegen: was muss ich beachten, in welcher REihenfolge etc...
zudem weis ich das beim xampp der support stimmt und das er normal ohne Probleme läuft!
Thanquol
 
Posts: 3
Joined: 03. July 2004 18:26


Return to XAMPP für Linux

Who is online

Users browsing this forum: No registered users and 16 guests