Sean C. Sheridan on 17 Sep 2009 09:12:54 -0700


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

Re: [PLUG] centos mysql problem (fwd)


Yes Tom,


That fixed it:

> Are you running with selinux in enforcing?
Yes

setenforce 0

allows the service to start as expected.



Audit log says:

type=AVC msg=audit(1253203770.505:128): avc:  denied  { read } for
 pid=10483 comm="mysqld" name="librt-2.5.so" dev=dm-0 ino=4846519
scontext=user_u:system_r:mysqld_t:s0
tcontext=system_u:object_r:file_t:s0 tclass=file


Sean C. Sheridan
scs@CampusClients.com

Campus Party, Inc.
444 North Third St.
Philadelphia, PA 19123
(215) 320-1810, xtn 117
(215) 320-1814 fax
http://www.CampusClients.com
http://www.CampusParty.com



> Sorry to reply to my own post but I just had a thought. Are you
> running with
> selinux in enforcing? What does "getenforce" say? If you are in
> enforcing,
> does it work if you do setenforce 0? If is does, you most likely
> need to
> relabel something. Look at the audit logs and run setroubleshoot.
>
> Regards,
>
> --
> Tom Diehl       tdiehl@rogueind.com      Spamtrap address
> mtd123@rogueind.com
>
> ---------- Forwarded message ----------
> Date: Thu, 17 Sep 2009 11:43:34
> From: Tom Diehl <tdiehl@rogueind.com>
> To: Philadelphia Linux User's Group Discussion List
> <plug@lists.phillylinux.org>
> Subject: Re: [PLUG] centos mysql problem
>
> On Thu, 17 Sep 2009, Sean C. Sheridan wrote:
>
>> I'm running Centos 5.x, everything was running just fine and
>> today
>> I find out mysql is not running at all and I cannot start it as
>> a
>> service.
>>
>> Yesterday, yum updated the following:
>> =====================================
>>
>> Sep 16 06:03:10 Installed: kernel-2.6.18-164.el5.i686
>> Sep 16 06:03:12 Updated: kernel-headers-2.6.18-164.el5.i386
>> Sep 16 06:03:17 Updated: openssl-0.9.8e-12.el5.i686
>> Sep 16 06:03:18 Updated: nspr-4.7.5-1.el5_4.i386
>> Sep 16 06:03:19 Updated: mysql-5.0.77-3.el5.i386
>> Sep 16 06:03:19 Updated: openssh-4.3p2-36.el5.i386
>> Sep 16 06:03:19 Updated: lftp-3.7.11-4.el5.i386
>> Sep 16 06:03:20 Updated: openssh-clients-4.3p2-36.el5.i386
>> Sep 16 06:03:21 Updated: 1:nfs-utils-1.0.9-42.el5.i386
>> Sep 16 06:03:22 Updated: mysql-server-5.0.77-3.el5.i386
>> Sep 16 06:03:22 Updated: openssh-server-4.3p2-36.el5.i386
>> Sep 16 06:03:23 Updated: fetchmail-6.3.6-1.1.el5_3.1.i386
>> Sep 16 06:03:25 mysql-server: ts_done name in te is nfs-utils
>> should be mysql-server
>> Sep 16 06:04:00 openssh-server: ts_done name in te is
>> mysql-server
>> should be openssh-server
>> Sep 16 06:04:03 mysql: ts_done name in te is openssh-server
>> should
>> be mysql
>> Sep 16 06:04:04 lftp: ts_done name in te is mysql should be lftp
>> Sep 16 06:04:04 fetchmail: ts_done name in te is lftp should be
>> fetchmail
>> Sep 16 06:04:04 openssl: ts_done name in te is fetchmail should
>> be
>> openssl
>
> I do not have a solution, just a data point. I just installed the
> same
> update on one of my machines and mysqld restarted as expected.
>
> Regards
>
> --
> Tom Diehl       tdiehl@rogueind.com      Spamtrap address
> mtd123@rogueind.com
>
> ___________________________________________________________________________
> Philadelphia Linux Users Group         --
> http://www.phillylinux.org
> Announcements -
> http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion  --
> http://lists.phillylinux.org/mailman/listinfo/plug
>


-- 

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug