Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED][MYSQL] Impossible de demarrer MySQL
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Cyberg
n00b
n00b


Joined: 19 May 2007
Posts: 8

PostPosted: Sat May 19, 2007 6:17 pm    Post subject: [SOLVED][MYSQL] Impossible de demarrer MySQL Reply with quote

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
View user's profile Send private message
lejim
Tux's lil' helper
Tux's lil' helper


Joined: 26 Feb 2007
Posts: 106
Location: France / Chilly Mazarin

PostPosted: Sat May 19, 2007 6:25 pm    Post subject: Reply with quote

tu peux toujours faire la config à la mano avec :

Code:
mysql_install_db


puis

Code:
mysqladmin -u root password 'tonpass'


ça devrait le faire.
Back to top
View user's profile Send private message
Cyberg
n00b
n00b


Joined: 19 May 2007
Posts: 8

PostPosted: Sat May 19, 2007 6:27 pm    Post subject: Reply with quote

Merci probleme resolu effectivement c'etait tout bete et moi je cherchai compliquer ...
Back to top
View user's profile Send private message
Cyberg
n00b
n00b


Joined: 19 May 2007
Posts: 8

PostPosted: Sat May 19, 2007 8:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
lejim
Tux's lil' helper
Tux's lil' helper


Joined: 26 Feb 2007
Posts: 106
Location: France / Chilly Mazarin

PostPosted: Sat May 19, 2007 10:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Cyberg
n00b
n00b


Joined: 19 May 2007
Posts: 8

PostPosted: Sat May 19, 2007 10:58 pm    Post subject: Reply with quote

/var/log/mysql/mysqld.err => http://pastebin.ca/497562

c'est le seul fichier .err que j'ai concernant mysql
Back to top
View user's profile Send private message
lejim
Tux's lil' helper
Tux's lil' helper


Joined: 26 Feb 2007
Posts: 106
Location: France / Chilly Mazarin

PostPosted: Sat May 19, 2007 11:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
Cyberg
n00b
n00b


Joined: 19 May 2007
Posts: 8

PostPosted: Sat May 19, 2007 11:05 pm    Post subject: Reply with quote

pour revdep-rebuild mon system est OK pas de dependance manquante pour quoi que ce soit.
Back to top
View user's profile Send private message
lejim
Tux's lil' helper
Tux's lil' helper


Joined: 26 Feb 2007
Posts: 106
Location: France / Chilly Mazarin

PostPosted: Sat May 19, 2007 11:07 pm    Post subject: Reply with quote

et la tail /var/log/messages tout de suite après avoir lancer mysql ? ( cf edit du post precedent )
Back to top
View user's profile Send private message
Cyberg
n00b
n00b


Joined: 19 May 2007
Posts: 8

PostPosted: Sat May 19, 2007 11:14 pm    Post subject: Reply with quote

Rien de plus que ca concernant MySQL:

May 20 02:17:29 Server rc-scripts: MySQL NOT started (1)
Back to top
View user's profile Send private message
lejim
Tux's lil' helper
Tux's lil' helper


Joined: 26 Feb 2007
Posts: 106
Location: France / Chilly Mazarin

PostPosted: Sat May 19, 2007 11:19 pm    Post subject: Reply with quote

par hasard tu as déja ré emergé mysql ? ( quel sont tes useflags pour ce paquet ? )
Back to top
View user's profile Send private message
Cyberg
n00b
n00b


Joined: 19 May 2007
Posts: 8

PostPosted: Sat May 19, 2007 11:25 pm    Post subject: Reply with quote

Oueh dejas re-emerger

pour ce qui est des use pour mysql:

Code:
innodb berkdb latin1 perl ssl
Back to top
View user's profile Send private message
lejim
Tux's lil' helper
Tux's lil' helper


Joined: 26 Feb 2007
Posts: 106
Location: France / Chilly Mazarin

PostPosted: Sat May 19, 2007 11:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
Cyberg
n00b
n00b


Joined: 19 May 2007
Posts: 8

PostPosted: Mon May 21, 2007 2:47 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum