LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-10-2015, 02:05 PM   #1
cpartsenidis
LQ Newbie
 
Registered: Feb 2015
Posts: 1

Rep: Reputation: Disabled
Freshly installed Mysql (mysql-community-server) fails to start


Greetings to everyone,

I've installed a CentOS 7 64bit VM and have been trying all day to get Mysql to work, but to no avail, so I'm turn here for some help.

During the installation of CentOS, I selected the 'Minimal install' in the Software Selection.

After the OS installation completed, I following these steps:

1) Yum Update for the whole system

2) sudo yum localinstall mysql-community-release-el7-5.noarch.rpm

3) sudo yum install mysql-community-server

Everything completed without an error, however when trying to start mysqld I received the following:

[root@server ~]# service mysqld start
Redirecting to /bin/systemctl start mysqld.service

and after some time, I receive the following:

Job for mysqld.service failed. See 'systemctl status mysqld.service' and 'journalctl -xn' for details

Here is the output of the journalctl -xn:


Quote:
[root@server ~]# journalctl -xn
-- Logs begin at Mon 2015-02-09 21:50:33 CET, end at Mon 2015-02-09 22:58:44 CET
Feb 09 22:57:26 server.host.com systemd[1]: Stopped MySQL Community Serve
-- Subject: Unit mysqld.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman.../systemd-devel
--
-- Unit mysqld.service has finished shutting down.
Feb 09 22:57:30 server.host.com systemd[1]: Starting MySQL Community Serv
-- Subject: Unit mysqld.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman.../systemd-devel
--
-- Unit mysqld.service has begun starting up.
Feb 09 22:57:30 server.host.com mysqld_safe[16820]: 150209 22:57:30 mysql
Feb 09 22:57:30 server.host.com mysqld_safe[16820]: 150209 22:57:30 mysql
Feb 09 22:57:31 server.host.com mysqld_safe[16820]: 150209 22:57:31 mysql
Feb 09 22:58:44 server.host.com sshd[17167]: Accepted password for root f
Feb 09 22:58:44 server.host.com systemd[1]: Starting Session 4 of user ro
-- Subject: Unit session-4.scope has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman.../systemd-devel
--
-- Unit session-4.scope has begun starting up.
Feb 09 22:58:44 server.host.com systemd[1]: Started Session 4 of user roo
-- Subject: Unit session-4.scope has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman.../systemd-devel
--
-- Unit session-4.scope has finished starting up.
--
-- The start-up result is done.
Feb 09 22:58:44 server.host.com systemd-logind[830]: New session 4 of use
-- Subject: A new session 4 has been created for user root
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman.../systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Soft...temd/multiseat
--
-- A new session with the ID 4 has been created for the user root.
--
-- The leading process of the session is 17167.
Feb 09 22:58:44 server.host.com sshd[17167]: pam_unix(sshd:session): sess
[root@server ~]#
I'd really appreciate any help as to what might be going wrong and how I can fix this issue.

Many thanks for your help in advanced!

Chris.
 
Old 02-11-2015, 02:53 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
Welcome to LQ cpartsenidis!
What does
systemctl status mysqld.service
give out?

and
ps -e | grep mysql
 
Old 02-12-2015, 12:41 AM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,527

Rep: Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622
also have a look at the SELinux error logs
/var/log/SELinux

seeing as the DEFAULT database is Mariea and NOT Oracles Mysql
there might NOT be any se rules in that third party rpm

and just where did you get it from ?
Oracle ???

Maria DB is the replacement for Mysql- built and designed BY the original creator of Mysql BEFORE Oracle bought it

Last edited by John VV; 02-12-2015 at 12:42 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] mysql server fails to start on Fedora 15 previously was OK. Solved nerak99 Linux - Server 1 07-27-2011 08:14 PM
Problem changing mysql uid,gid: mysql start fails gjatute Linux - Newbie 7 02-25-2010 01:38 AM
MySQL Server fails to start after hdd was full Floix Linux - Server 3 09-18-2009 06:59 PM
yum install php-mysql fails with mysql 5.1 - "Error: mysql conflicts with MySQL" rebelde Linux - Software 2 03-13-2009 10:32 AM
I have RHEL 5.0 and MySQL start problem, my MySQL server doesn't start rsatya Linux - Enterprise 4 02-03-2009 12:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration