mariadb意外启动崩溃[Fedora 20]

时间:2015-06-22 11:38:34

标签: mariadb

尝试通过systemctl启动mariadb.service后启动mariaDB。我收到这个错误。

čen 22 13:22:02 localhost.localdomain mysql-prepare-db-dir[16094]: The log file /var/log/mariadb/mariadb.log cannot be touched, please, fix its permis
čen 22 13:22:02 localhost.localdomain mysql-prepare-db-dir[16094]: The daemon will be run under mysql:mysql
čen 22 13:22:28 localhost.localdomain fprintd[16052]: ** Message: No devices in use, exit
čen 22 13:23:30 localhost.localdomain sudo[16279]: meeee : TTY=pts/0 ; PWD=/ ; USER=root ; COMMAND=/bin/yum remove mysql
čen 22 13:23:30 localhost.localdomain sudo[16279]: pam_unix(sudo:session): session opened for user root by meeee(uid=0)
čen 22 13:23:34 localhost.localdomain sudo[16279]: pam_unix(sudo:session): session closed for user root
čen 22 13:30:46 localhost.localdomain dbus[569]: [system] Activating via systemd: service name='net.reactivated.Fprint' unit='fprintd.service'
čen 22 13:30:46 localhost.localdomain dbus[569]: [system] Successfully activated service 'net.reactivated.Fprint'
čen 22 13:30:46 localhost.localdomain fprintd[16394]: Launching FprintObject
čen 22 13:30:46 localhost.localdomain fprintd[16394]: ** Message: D-Bus service launched with name: net.reactivated.Fprint
čen 22 13:30:46 localhost.localdomain fprintd[16394]: ** Message: entering main loop
čen 22 13:30:48 localhost.localdomain sudo[16393]: meeee : TTY=pts/0 ; PWD=/ ; USER=root ; COMMAND=/bin/systemctl start mariadb.service
čen 22 13:30:48 localhost.localdomain sudo[16393]: pam_unix(sudo:session): session opened for user root by meeee(uid=0)
čen 22 13:30:48 localhost.localdomain mysql-prepare-db-dir[16424]: touch: cannot touch '/var/log/mariadb/mariadb.log': Permission denied
čen 22 13:30:48 localhost.localdomain sudo[16393]: pam_unix(sudo:session): session closed for user root
čen 22 13:30:48 localhost.localdomain systemd[1]: mariadb.service: control process exited, code=exited status=1
čen 22 13:30:48 localhost.localdomain systemd[1]: Failed to start MariaDB 10.0 database server.
-- Subject: Unit mariadb.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit mariadb.service has failed.
-- 
-- The result is failed.
čen 22 13:30:48 localhost.localdomain systemd[1]: Dependency failed for MySQL compatibility service (another name for mariadb.service; you should use 
-- Subject: Unit mysqld.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit mysqld.service has failed.
-- 
-- The result is dependency.
čen 22 13:30:48 localhost.localdomain systemd[1]: Unit mariadb.service entered failed state.
čen 22 13:30:48 localhost.localdomain systemd[1]: mariadb.service failed.
čen 22 13:30:48 localhost.localdomain mysql-prepare-db-dir[16424]: The log file /var/log/mariadb/mariadb.log cannot be touched, please, fix its permis
čen 22 13:30:48 localhost.localdomain mysql-prepare-db-dir[16424]: The daemon will be run under mysql:mysql

现在该怎么办?

抱歉这句无用的句子...... STO需要更多的文字和更少的代码,但我需要包含完整的错误报告,所以我必须写下这个无用的东西...

0 个答案:

没有答案