FC3, MySQL and PHP

Trevor "TeC" Christian trevor at bouyon.dalive.com
Mon May 2 12:38:44 UTC 2005


Trevor "TeC" Christian wrote:

> Hey all,
>
> I've run into a problem with my web development server.
>
> Up to this afternoon it was working.  Working meaning that my 
> php/mysql pages worked.  The mysql server was then made to run as user 
> mysql, which is an error it kept showing in the logs. SELinux is 
> installed and enabled, and i believe i've gone through the steps of 
> getting them to all work together quite nicely.
>
> However, i currently get the message unable to connect to server when 
> attempting to use any of my database backed pages.  I see no SELinux 
> errors in the logs, i see no mysql error logs.  I am able to use the 
> local mysql client, and i'm also able to connect to the server from a 
> remote machine.
>
> Can someone please help me, as i'm currently a lil frutrated and at a 
> loss as to where to go from here.
>
> Thanx
>
Follow up....This morning i found the following three message in the logs.


May  2 01:00:28 soca kernel: audit(1115010028.240:0): avc:  denied  { 
setsched } for  pid=4859 exe=/usr/sbin/mysqld scontext=r
oot:system_r:mysqld_t tcontext=root:system_r:mysqld_t tclass=process
May  2 01:14:17 soca kernel: audit(1115010857.589:0): avc:  denied  { 
read write } for  pid=4891 exe=/usr/bin/php name=1 dev=d
evpts ino=3 scontext=root:system_r:httpd_sys_script_t 
tcontext=root:object_r:devpts_t tclass=chr_file
May  2 01:14:17 soca kernel: audit(1115010857.945:0): avc:  denied  { 
getattr } for  pid=4891 exe=/usr/bin/php path=/var dev=d
m-0 ino=573441 scontext=root:system_r:httpd_sys_script_t 
tcontext=system_u:object_r:var_t tclass=dir

-- 
*Trevor "TeC" Christian*
Cell #: (767) 225 4472
IM
   MSN: trevorc98 at hotmail.com / trevor at bouyon.dalive.com
   YM : trevorc01
   AIM: DoubleOTeC
------------------------------------------------------------------------
Curriculum Vitae (PDF) <http://bouyon.dalive.com/cv/curriculum_vitae.pdf>
Curriculum Vitae (HTML) <http://bouyon.dalive.com/cv/curriculum_vitae.html>




More information about the fedora-list mailing list