Sto cercando di installare un server LAMP su s9 ma non riesco a far partire il server mysql:
l'ho installato così:
- Code: Select all
equo installl dev-db/mysql
ho quindi lanciato la configurazione
- Code: Select all
equo config dev-db/mysql
e ottengo un errore dopo aver ribattuto la pswd:
- Code: Select all
# equo config dev-db/mysql
>> # (1/1) dev-db/mysql-5.5.22-r1 | Installato da: sabayon-weekly
>> ## Configurazione pacchetto: dev-db/mysql-5.5.22-r1
>> ## SPM: fase di configurazione
* Please provide a password for the mysql 'root' user now, in the
* MYSQL_ROOT_PASSWORD env var or through the /root/.my.cnf file.
* Avoid ["'\_%] characters in the password
>
* Retype the password
>
* ERROR: dev-db/mysql-5.5.22-r1 failed (config phase):
* Failed to run mysql_install_db. Please review /var/log/mysql/mysqld.err AND /tmp/tmpXQxtUQ/portage/dev-db/mysql-5.5.22-r1/temp/mysql_install_db.log
*
* Call stack:
* ebuild.sh, line 85: Called pkg_config
* environment, line 3441: Called mysql-v2_pkg_config
* environment, line 3095: Called die
* The specific snippet of code:
* die "Failed to run mysql_install_db. Please review ${EPREFIX}/var/log/mysql/mysqld.err AND ${TMPDIR}/mysql_install_db.log";
*
* If you need support, post the output of `emerge --info '=dev-db/mysql-5.5.22-r1'`,
* the complete build log and the output of `emerge -pqv '=dev-db/mysql-5.5.22-r1'`.
* The complete build log is located at '/tmp/tmpXQxtUQ/portage/dev-db/mysql-5.5.22-r1/temp/build.log'.
* The ebuild environment file is located at '/tmp/tmpXQxtUQ/portage/dev-db/mysql-5.5.22-r1/temp/environment'.
* Working directory: '/tmp/tmpXQxtUQ/portage/dev-db/mysql-5.5.22-r1/temp'
* S: '/tmp/tmpXQxtUQ/portage/dev-db/mysql-5.5.22-r1/work/mysql-5.5.22'
>> ## E' avvenuto un errore. Azione abortita.
>> @@ Ricerca file di configurazione completata.
e così mysql non parte:
- Code: Select all
# /etc/init.d/mysql start
* Starting mysql ...
* MySQL datadir `/var/lib/mysql' is empty or invalid
* Please check your config file `/etc/mysql/my.cnf'
* ERROR: mysql failed to start
un suggerimento?
grazie!

