Re: [CentOS] mariadb fails to start under C7

2015-05-10 Thread Richard


 Original Message 
> Date: Sunday, May 10, 2015 06:08:22 PM -0700
> From: Greg Lindahl 
>
> On Sun, May 10, 2015 at 06:00:05PM -0700, John R Pierce wrote:
> 
>> so far, other than having to learn a couple new commands, C7
>> really hasn't been a problem for us, everything we need to run
>> works just fine.
> 
> Once I decided to stop complaining about C7, it wasn't bad to learn
> about the different stuff. Complaining about it is mostly a waste
> of time.
> 
> -- g

I basically agree. I did switch from gnome to mate on my desk/laptop
machines, which made me much happier, but otherwise C7 has been fine.

  - Richard




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mariadb fails to start under C7

2015-05-10 Thread Greg Lindahl
On Sun, May 10, 2015 at 06:00:05PM -0700, John R Pierce wrote:

> so far, other than having to learn a couple new commands, C7 really
> hasn't been a problem for us, everything we need to run works just
> fine.

Once I decided to stop complaining about C7, it wasn't bad to learn
about the different stuff. Complaining about it is mostly a waste of
time.

-- g
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mariadb fails to start under C7

2015-05-10 Thread John R Pierce

On 5/10/2015 5:03 PM, Always Learning wrote:

C7 appears to be a nightmare. So many problems. I do not remember as
many problems with the introduction of C6.


so far, other than having to learn a couple new commands, C7 really 
hasn't been a problem for us, everything we need to run works just fine.





--
john r pierce, recycling bits in santa cruz

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mariadb fails to start under C7

2015-05-10 Thread Always Learning

On Sun, 2015-05-10 at 17:42 -0500, Hal Wigoda wrote:

> I'm old school.
> If it works...

. don't *** change it ?

C7 appears to be a nightmare. So many problems. I do not remember as
many problems with the introduction of C6.

I like lasting stability. Same commands. Same reliability. No need to
waste time learning new tricks when many of the existing old tricks
remain undiscovered. Anyone might think RH is attempting to emulate
Windoze.


-- 
Regards,

Paul.
England, EU. No problems with C5 and with C6.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mariadb fails to start under C7

2015-05-10 Thread Hal Wigoda
I'm old school.
If it works...

On Sun, May 10, 2015 at 2:17 PM, Tim Dunphy  wrote:

> Hi Earl,
>
> >I think I found your problem, you do not have the correct package
> installed
>
> >[root@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@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@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 
> wrote:
>
> > Hello Tim,
> >
> > On 10 May 2015 at 14:47, Tim Dunphy  wrote:
> >
> > > Hey all,
> > >
> > >  I just unstalled MariaDB version 10 from the mariadb repositories
> under
> > a
> > > CentOS 7 host.
> > >
> > >  The install went fine!
> > >
> > > [root@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@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@centos.org
> > > http://lists.centos.org/mailman/listinfo/centos
> > >
> >
> >
> > I think I found your problem, you do not have the correct package
> installed
> >
> > [root@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@c7-db1 ~]#
> >
> > Install the mariadb-x package and you should be able to start the service
> >
> > --
> > Kind Regards
> > Earl Ramirez
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
>
>
>
> --
> GPG me!!
>
> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
-
Hal Wigoda
Chicago
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mariadb fails to start under C7

2015-05-10 Thread Tim Dunphy
Actually, the systemctl command is:

   systemctl start mysql.service

from the "systemctl show" output it looks like this actually calls
the /etc/rc.d/init.d/mysql file for start/stop/reload, which seems
backwards.

It appears that mariadb is trying to be a total drop-in replacement
to mysql, so all the paths/files, etc., e.g., in the ps output, are
"mysql" not "mariadb" -- so it's tricky to have them both installed.

By the way, you can use things like:

   systemctl list-units

(and likely more efficient approaches) to find the systemctl command

> naming.





By gum! That seems to have done it!! Thank you very much for those tips!

[root@nfsdb1 ~]# systemctl list-units | grep -i mysql
mysql.service
loaded active running   LSB: start and stop MySQL

[root@nfsdb1 ~]#  systemctl start mysql.service

[root@nfsdb1 ~]# lsof -i :3306
COMMAND PID  USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
mysqld  839 mysql   16u  IPv6  15270  0t0  TCP *:mysql (LISTEN)

And then I just ran mysql_secure_install and now I can log into the DB!

Thanks so much for the help! The CentOS list rocks!!

Tim


On Sun, May 10, 2015 at 5:11 PM, Richard  wrote:

>
>
>  Original Message 
> > Date: Sunday, May 10, 2015 01:20:34 PM -0700
> > From: John R Pierce 
> >
> > On 5/10/2015 1:04 PM, Earl A Ramirez wrote:
> >> Did a little Googling [0] and I saw that they recommend starting
> >> it as follows:
> >>
> >> /etc/init.d/mysql start
> >
> > which is old school sysVinit style.
> >
> > my guess is, you'll need to fix up a systemd service description
> > file, like /usr/lib/systemd/system/mariadb.service
>
> Actually, the systemctl command is:
>
>systemctl start mysql.service
>
> from the "systemctl show" output it looks like this actually calls
> the /etc/rc.d/init.d/mysql file for start/stop/reload, which seems
> backwards.
>
> It appears that mariadb is trying to be a total drop-in replacement
> to mysql, so all the paths/files, etc., e.g., in the ps output, are
> "mysql" not "mariadb" -- so it's tricky to have them both installed.
>
> By the way, you can use things like:
>
>systemctl list-units
>
> (and likely more efficient approaches) to find the systemctl command
> naming.
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mariadb fails to start under C7

2015-05-10 Thread Richard


 Original Message 
> Date: Sunday, May 10, 2015 01:20:34 PM -0700
> From: John R Pierce 
>
> On 5/10/2015 1:04 PM, Earl A Ramirez wrote:
>> Did a little Googling [0] and I saw that they recommend starting
>> it as follows:
>> 
>> /etc/init.d/mysql start
> 
> which is old school sysVinit style.
> 
> my guess is, you'll need to fix up a systemd service description
> file, like /usr/lib/systemd/system/mariadb.service

Actually, the systemctl command is:
   
   systemctl start mysql.service

from the "systemctl show" output it looks like this actually calls
the /etc/rc.d/init.d/mysql file for start/stop/reload, which seems
backwards.

It appears that mariadb is trying to be a total drop-in replacement
to mysql, so all the paths/files, etc., e.g., in the ps output, are
"mysql" not "mariadb" -- so it's tricky to have them both installed.

By the way, you can use things like:

   systemctl list-units

(and likely more efficient approaches) to find the systemctl command
naming.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mariadb fails to start under C7

2015-05-10 Thread John R Pierce

On 5/10/2015 1:04 PM, Earl A Ramirez wrote:

Did a little Googling [0] and I saw that they recommend starting it as
follows:

/etc/init.d/mysql start


which is old school sysVinit style.

my guess is, you'll need to fix up a systemd service description file, 
like /usr/lib/systemd/system/mariadb.service




--
john r pierce, recycling bits in santa cruz

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mariadb fails to start under C7

2015-05-10 Thread Earl A Ramirez
On 10 May 2015 at 15:17, Tim Dunphy  wrote:

> Hi Earl,
>
> >I think I found your problem, you do not have the correct package
> installed
>
> >[root@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@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@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
> 
>

Did a little Googling [0] and I saw that they recommend starting it as
follows:

/etc/init.d/mysql start

[0] https://mariadb.com/blog/installing-mariadb-10-centos-7-rhel-7


-- 
Kind Regards
Earl Ramirez
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mariadb fails to start under C7

2015-05-10 Thread Tim Dunphy
Hi Earl,

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

>[root@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@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@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 
wrote:

> Hello Tim,
>
> On 10 May 2015 at 14:47, Tim Dunphy  wrote:
>
> > Hey all,
> >
> >  I just unstalled MariaDB version 10 from the mariadb repositories under
> a
> > CentOS 7 host.
> >
> >  The install went fine!
> >
> > [root@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@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@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
>
>
> I think I found your problem, you do not have the correct package installed
>
> [root@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@c7-db1 ~]#
>
> Install the mariadb-x package and you should be able to start the service
>
> --
> Kind Regards
> Earl Ramirez
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mariadb fails to start under C7

2015-05-10 Thread Earl A Ramirez
Hello Tim,

On 10 May 2015 at 14:47, Tim Dunphy  wrote:

> Hey all,
>
>  I just unstalled MariaDB version 10 from the mariadb repositories under a
> CentOS 7 host.
>
>  The install went fine!
>
> [root@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@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@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


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

[root@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@c7-db1 ~]#

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

-- 
Kind Regards
Earl Ramirez
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mariadb fails to start under C7

2015-05-10 Thread Hal Wigoda
Sorry - spellcheck.  

service mariadb start

Sent from my iPad

> On May 10, 2015, at 2:01 PM, Hal Wigoda  wrote:
> 
> It's service Marian start
> 
> Sent from my iPad
> 
>> On May 10, 2015, at 1:47 PM, Tim Dunphy  wrote:
>> 
>> Hey all,
>> 
>> I just unstalled MariaDB version 10 from the mariadb repositories under a
>> CentOS 7 host.
>> 
>> The install went fine!
>> 
>> [root@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@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@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mariadb fails to start under C7

2015-05-10 Thread Earl A Ramirez
On 10 May 2015 at 14:47, Tim Dunphy  wrote:

> Hey all,
>
>  I just unstalled MariaDB version 10 from the mariadb repositories under a
> CentOS 7 host.
>
>  The install went fine!
>
> [root@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@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@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

Hello Tim,

Try systemctl start mariadb (without the .service)

-- 
Kind Regards
Earl Ramirez
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mariadb fails to start under C7

2015-05-10 Thread Hal Wigoda
It's service Marian start

Sent from my iPad

> On May 10, 2015, at 1:47 PM, Tim Dunphy  wrote:
> 
> Hey all,
> 
> I just unstalled MariaDB version 10 from the mariadb repositories under a
> CentOS 7 host.
> 
> The install went fine!
> 
> [root@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@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@centos.org
> http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] mariadb fails to start under C7

2015-05-10 Thread Tim Dunphy
Hey all,

 I just unstalled MariaDB version 10 from the mariadb repositories under a
CentOS 7 host.

 The install went fine!

[root@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@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@centos.org
http://lists.centos.org/mailman/listinfo/centos