[CentOS] mariadb fails to start under C7

Tim Dunphy bluethundr at gmail.com
Sun May 10 19:17:58 UTC 2015


Hi Earl,

>I think I found your problem, you do not have the correct package installed

>[root at c7-db1 ~]# rpm -qa | grep maria
>mariadb-libs-5.5.41-2.el7_0.x86_64
>mariadb-server-5.5.41-2.el7_0.x86_64
>mariadb-5.5.41-2.el7_0.x86_64
>[root at c7-db1 ~]#

>Install the mariadb-x package and you should be able to start the service

Thanks. While I could go with mariadb 5, the goal I had in mind was mariadb
10. They're pretty different and 10 is more advanced. Push comes to shove,
however I could go with 5.

And to Hal.. yeah you can use service mariadb start (assuming everything
you need is there). But systemctl is the preferred method under CentOS 7.

[root at nfsdb1 ~]# service mariadb start
Redirecting to /bin/systemctl start  mariadb.service
Failed to issue method call: Unit mariadb.service failed to load: No such
file or directory.

I guess I'll wait to see if anyone has any ideas on getting MariaDB 10
working. I've already googled this to no avail. If nothing turns up on the
list or if I can't find anything, I'll just go with MariaDB 5.

Thanks,
Tim

On Sun, May 10, 2015 at 3:11 PM, Earl A Ramirez <earlaramirez at gmail.com>
wrote:

> Hello Tim,
>
> On 10 May 2015 at 14:47, Tim Dunphy <bluethundr at gmail.com> wrote:
>
> > Hey all,
> >
> >  I just unstalled MariaDB version 10 from the mariadb repositories under
> a
> > CentOS 7 host.
> >
> >  The install went fine!
> >
> > [root at nfsdb1 ~]# rpm -qa | grep -i mariadb
> > MariaDB-common-10.0.19-1.el7.centos.x86_64
> > MariaDB-server-10.0.19-1.el7.centos.x86_64
> > MariaDB-client-10.0.19-1.el7.centos.x86_64
> > MariaDB-shared-10.0.19-1.el7.centos.x86_64
> >
> > However, when I go to start up the service, I'm getting this error:
> >
> > [root at nfsdb1 ~]# systemctl start mariadb.service
> > Failed to issue method call: Unit mariadb.service failed to load: No such
> > file or directory.
> >
> > Can someone please let me know how to start this up?
> >
> > Thanks,
> > Tim
> >
> > --
> > GPG me!!
> >
> > gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
> > _______________________________________________
> > CentOS mailing list
> > CentOS at centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
>
>
> I think I found your problem, you do not have the correct package installed
>
> [root at c7-db1 ~]# rpm -qa | grep maria
> mariadb-libs-5.5.41-2.el7_0.x86_64
> mariadb-server-5.5.41-2.el7_0.x86_64
> mariadb-5.5.41-2.el7_0.x86_64
> [root at c7-db1 ~]#
>
> Install the mariadb-x package and you should be able to start the service
>
> --
> Kind Regards
> Earl Ramirez
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B



More information about the CentOS mailing list