Re: Mysqld refuses to start after upgrade to Fedora 29

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/10/18 3:54 PM, Danny Horne via users wrote:
> On 10/12/2018 11:48 pm, Rick Stevens wrote:
>> On 12/10/18 3:32 PM, Danny Horne via users wrote:
>>> On 10/12/2018 11:26 pm, Rick Stevens wrote:
>>>>
>>>> Keep in mind that you're really running mariadb and the command to
>>>> start
>>>> it is "systemctl start mariadb" even though the daemon will show up as
>>>> mysqld in a process list.
>>>>
>>>
>>> [root@hawking ~]# systemctl start mariadb
>>> Failed to start mariadb.service: Unit mariadb.service not found.
>>
>> Well, that's interesting. Do you have the mariadb-server RPM installed
>> or are you actually running mysqld (from their community download)?
>>
> I'm running community-mysql-server from the Fedora repo.  Very late here
> so don't want to mess around switching to MariaDB, do you think that
> will cause more problems if I do?

No, no, don't change it. Then "systemctl start mysqld" (or "systemctl
start mysql") should start it (not sure which is appropriate).

The journal does indicate a problem with mysqld.service, however.
There should be a logfile that indicates the problem. Have a look at
the /etc/my.cnf file (or possibly one of the files in /etc/my.cnf.d)
and look for a "log-error" directive. That should indicate where MySQL
is logging errors. Have a look at that file and see if there's anything
obvious.

You didn't mention if you did an SELinux AVC search (you could use the
sealert tool to look). Since you're using the community MySQL and not
MariaDB, there may be a gotcha in the SELinux policy they didn't catch
(it happens). You could also try:

	sudo setenforce 0
	systemctl start mysql[d]

If mysql starts after the "setenforce 0" (which sets SELinux into
permissive mode), then you have an SELinux policy problem and you'll
need to do the AVC search to find and squash it. I don't recommend you
continue running in permissive mode.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-              Never eat anything larger than your head              -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux