Estou tendo um diabo tentando fazer com que o mysql inicie em uma instalação do Fedora.
Sempre que tento iniciar, obtenho:
[root@server1 log]# service mysqld start
Redirecting to /bin/systemctl start mysqld.service
Job failed. See system logs and 'systemctl status' for details.
Então, quando faço uma consulta systemctl, obtenho:
[root@server1 log]# systemctl status mysqld.service
mysqld.service - MySQL database server
Loaded: loaded (/lib/systemd/system/mysqld.service; enabled)
Active: failed since Sat, 18 Aug 2012 21:06:48 -0400; 1min 59s ago
Process: 747 ExecStartPre=/usr/libexec/mysqld-prepare-db-dir (code=exited, status=254)
CGroup: name=systemd:/system/mysqld.service
A parte engraçada é quando eu verifico /var/log/mysqld.log, não há absolutamente nada lá
Atualizar. Eu fiz mysql_install_db (eu deveria mesmo fazer isso?) E agora aqui está o meu log de erro se parece com:
120818 22:29:36 mysqld_safe Starting mysqld daemon with databases from /var/lib$
120818 22:29:36 [Note] Plugin 'FEDERATED' is disabled.
^G/usr/libexec/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)
120818 22:29:36 [ERROR] Can't open the mysql.plugin table. Please run mysql_upg$
120818 22:29:36 InnoDB: The InnoDB memory heap is disabled
120818 22:29:36 InnoDB: Mutexes and rw_locks use GCC atomic builtins
120818 22:29:36 InnoDB: Compressed tables use zlib 1.2.5
120818 22:29:36 InnoDB: Using Linux native AIO
^G/usr/libexec/mysqld: Can't create/write to file '/tmp/ibvxiFII' (Errcode: 13)
120818 22:29:36 InnoDB: Error: unable to create temporary file; errno: 13
120818 22:29:36 [ERROR] Plugin 'InnoDB' init function returned error.
120818 22:29:36 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
120818 22:29:36 [ERROR] Unknown/unsupported storage engine: InnoDB
120818 22:29:36 [ERROR] Aborting
120818 22:29:36 [Note] /usr/libexec/mysqld: Shutdown complete
^G/usr/libexec/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)
120818 22:36:34 [ERROR] Can't open the mysql.plugin table. Please run mysql_upg$
120818 22:36:34 InnoDB: The InnoDB memory heap is disabled
120818 22:36:34 InnoDB: Mutexes and rw_locks use GCC atomic builtins
120818 22:36:34 InnoDB: Compressed tables use zlib 1.2.5
120818 22:36:34 InnoDB: Using Linux native AIO
^G/usr/libexec/mysqld: Can't create/write to file '/tmp/ibnO07sQ' (Errcode: 13)
120818 22:36:34 InnoDB: Error: unable to create temporary file; errno: 13
120818 22:36:34 [ERROR] Plugin 'InnoDB' init function returned error.
120818 22:36:34 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
120818 22:36:34 [ERROR] Unknown/unsupported storage engine: InnoDB
120818 22:36:34 [ERROR] Aborting
120818 22:36:34 [Note] /usr/libexec/mysqld: Shutdown complete
120818 22:36:34 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid end$