View previous topic :: View next topic |
Author |
Message |
Cyberg n00b
Joined: 19 May 2007 Posts: 8
|
Posted: Sat May 19, 2007 6:17 pm Post subject: [SOLVED][MYSQL] Impossible de demarrer MySQL |
|
|
Bonjour,
Je viens d'installer Apache2 PHP5 et Mysql 5.0.40 sur ma Gentoo l'installation c'est effectue sans probleme aucune erreur, mais maintenant lorsque je souhaite configurer le password root de MySQL avec la commande:
emerge --config =dev-db/mysql-5.0.40
apres avoir entrer le mot de passe desirer j'obtient une erreur:
Code: | !!! ERROR: dev-db/mysql-5.0.40 failed.
Call stack:
ebuild.sh, line 1595: Called qa_call 'pkg_config'
ebuild.sh, line 38: Called pkg_config
ebuild.sh, line 1304: Called mysql_pkg_config
mysql.eclass, line 809: Called die
!!! MySQL databases not installed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-db/mysql-5.0.40/temp/build.log'.
|
Le fichier build.log ne contient pas plus d'infos que ce message d'erreur.
Ca fait un moment que je recherche une solution mais je n'est encore rien trouver c'est pourquoi je m'adresse a vous si quelqu'un saurait comment regler ce probleme.
Last edited by Cyberg on Mon May 21, 2007 2:48 am; edited 3 times in total |
|
Back to top |
|
|
lejim Tux's lil' helper
Joined: 26 Feb 2007 Posts: 106 Location: France / Chilly Mazarin
|
Posted: Sat May 19, 2007 6:25 pm Post subject: |
|
|
tu peux toujours faire la config à la mano avec :
puis
Code: | mysqladmin -u root password 'tonpass' |
ça devrait le faire. |
|
Back to top |
|
|
Cyberg n00b
Joined: 19 May 2007 Posts: 8
|
Posted: Sat May 19, 2007 6:27 pm Post subject: |
|
|
Merci probleme resolu effectivement c'etait tout bete et moi je cherchai compliquer ... |
|
Back to top |
|
|
Cyberg n00b
Joined: 19 May 2007 Posts: 8
|
Posted: Sat May 19, 2007 8:04 pm Post subject: |
|
|
Maintenant j'ai un autre soucis toujours concernant MySQL apres reboot de la machine lors du chargement de MySQL j'ai l'erreur:
Code: | MySQL NOT started (1) [!!] |
|
|
Back to top |
|
|
lejim Tux's lil' helper
Joined: 26 Feb 2007 Posts: 106 Location: France / Chilly Mazarin
|
Posted: Sat May 19, 2007 10:53 pm Post subject: |
|
|
que donnent les logs mysql ?
Code: | cat/var/log/mysql/mysqld.err |
Code: | cat/var/log/mysql/mysql.err |
Code: | cat/var/log/mysql/mysql.log |
|
|
Back to top |
|
|
Cyberg n00b
Joined: 19 May 2007 Posts: 8
|
Posted: Sat May 19, 2007 10:58 pm Post subject: |
|
|
/var/log/mysql/mysqld.err => http://pastebin.ca/497562
c'est le seul fichier .err que j'ai concernant mysql |
|
Back to top |
|
|
lejim Tux's lil' helper
Joined: 26 Feb 2007 Posts: 106 Location: France / Chilly Mazarin
|
Posted: Sat May 19, 2007 11:03 pm Post subject: |
|
|
mmm je suis pas expert mais ça m'a tout l'air méchant...
As tu essayer une revdep-rebuild ? ( fourni par le package gentoolkit ) vu que dans le début du log ça raconte que y'a peut-être un lib mal linkée...
sinon essaye aussi de lancer mysql puis de choper les remontée syslog ( tail /var/log/messages ) tout de suite après |
|
Back to top |
|
|
Cyberg n00b
Joined: 19 May 2007 Posts: 8
|
Posted: Sat May 19, 2007 11:05 pm Post subject: |
|
|
pour revdep-rebuild mon system est OK pas de dependance manquante pour quoi que ce soit. |
|
Back to top |
|
|
lejim Tux's lil' helper
Joined: 26 Feb 2007 Posts: 106 Location: France / Chilly Mazarin
|
Posted: Sat May 19, 2007 11:07 pm Post subject: |
|
|
et la tail /var/log/messages tout de suite après avoir lancer mysql ? ( cf edit du post precedent ) |
|
Back to top |
|
|
Cyberg n00b
Joined: 19 May 2007 Posts: 8
|
Posted: Sat May 19, 2007 11:14 pm Post subject: |
|
|
Rien de plus que ca concernant MySQL:
May 20 02:17:29 Server rc-scripts: MySQL NOT started (1) |
|
Back to top |
|
|
lejim Tux's lil' helper
Joined: 26 Feb 2007 Posts: 106 Location: France / Chilly Mazarin
|
Posted: Sat May 19, 2007 11:19 pm Post subject: |
|
|
par hasard tu as déja ré emergé mysql ? ( quel sont tes useflags pour ce paquet ? ) |
|
Back to top |
|
|
Cyberg n00b
Joined: 19 May 2007 Posts: 8
|
Posted: Sat May 19, 2007 11:25 pm Post subject: |
|
|
Oueh dejas re-emerger
pour ce qui est des use pour mysql:
Code: | innodb berkdb latin1 perl ssl |
|
|
Back to top |
|
|
lejim Tux's lil' helper
Joined: 26 Feb 2007 Posts: 106 Location: France / Chilly Mazarin
|
Posted: Sat May 19, 2007 11:30 pm Post subject: |
|
|
j'avoue que la je sèche...
Quote: | #
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=0xbfa4eae8, backtrace may not be correct.
#
Stack range sanity check OK, backtrace follows:
#
0x8179583
#
0x83f99c9
#
0x83f6b6c
#
0x83ee528
#
0x830f761
#
0x8312cca
#
Stack trace seems successful - bottom reached
#
Please read http://dev.mysql.com/doc/mysql/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. |
essaye de voir sur l'url indiquée si y'a pas une solution, si le pb n'est pas déja connu |
|
Back to top |
|
|
Cyberg n00b
Joined: 19 May 2007 Posts: 8
|
Posted: Mon May 21, 2007 2:47 am Post subject: |
|
|
Bon j'ai pas trouver d'infos concernant les stack trace, cependant j'ai reussi a resoudre mon probleme !
C'est un peut de la bidouille mais ca a fonctionner, la solution que j'ai donc employer est:
- (re)Installer le package MySQL avec emerge
- Telecharger les sources de MySQL directement sur http://dev.mysql.com/
- Compiler MySQL (./configure && make)
- Copier le binaire mysqld obtenu lors de la compilation dans le repertoire /usr/sbin/ en ecrasant le binaire que emerge avait installer
Ensuite j'ai lancer le script mysql_install_db et la le message suivant apparait:
Code: |
Installing MySQL system tables...
OK
Filling help tables...
OK
|
Les tables on ete correctement installer, je me suis ensuite connecter a SQL et essayer 2/3 requete tout fonctionne correctement. |
|
Back to top |
|
|
|