MariaDB couldn't install correctly under fedora 17 with latest updates
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
New
|
Undecided
|
Daniel Bartholomew |
Bug Description
MariaDB couldn't install correctly under fedora 17 with latest updates
# cat /etc/yum.
# MariaDB repository list - created 2012-08-20 16:03 UTC
# http://
[mariadb]
name = MariaDB
baseurl = http://
gpgcheck=1
# yum install MariaDB-server
Loaded plugins: langpacks, presto, refresh-packagekit
Resolving Dependencies
--> Running transaction check
---> Package MariaDB-server.i686 0:5.5.25-1 will be installed
--> Processing Dependency: MariaDB-common for package: MariaDB-
--> Running transaction check
---> Package MariaDB-common.i686 0:5.5.25-1 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=======
Package Arch Version Repository Size
=======
Installing:
MariaDB-server i686 5.5.25-1 mariadb 32 M
Installing for dependencies:
MariaDB-common i686 5.5.25-1 mariadb 23 k
Transaction Summary
=======
Install 1 Package (+1 Dependent package)
Total download size: 32 M
Installed size: 129 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): MariaDB-
(2/2): MariaDB-
-------
Total 2.9 MB/s | 32 MB 00:11
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : MariaDB-
Installing : MariaDB-
chown: invalid user: `mysql:mysql'
chown: invalid user: `mysql'
Cannot change ownership of the database directories to the 'mysql'
user. Check that you have the necessary permissions and try again.
chown: invalid user: `mysql:mysql'
Verifying : MariaDB-
Verifying : MariaDB-
Installed:
MariaDB-
Dependency Installed:
MariaDB-
Complete!
# service mysql restart
MySQL server PID file could not be found! [FAILED]
Starting MySQL.The server quit without updating PID file (/[FAILED]
# ls -la /var/lib/mysql
total 20
drwxr-xr-x. 4 root root 4096 сент. 2 15:08 .
drwxr-xr-x. 42 root root 4096 сент. 2 14:33 ..
drwx--x--x. 2 root root 4096 сент. 2 14:33 mysql
drwxr-xr-x. 2 root root 4096 сент. 2 14:33 test
-rw-rw----. 1 root root 371 сент. 2 15:08 u3s3.err
# cat /var/lib/
120902 15:08:43 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
120902 15:08:43 [ERROR] Fatal error: Can't change to run as user 'mysql' ; Please check that the user exists!
120902 15:08:43 [ERROR] Aborting
120902 15:08:43 [Note] /usr/sbin/mysqld: Shutdown complete
120902 15:08:43 mysqld_safe mysqld from pid file /var/lib/
In /etc/passwd and /etc/group mysql is absent!!!
I believe we don't have packages for Fedora 17 in the currently available release 5.5.25.
Daniel, could you please take a look -- is the problem caused by trying to install Fedora 16 packages on Fedora 17?