Problems in mysql start, premissions ?

Rohit Aggarwal (raggarwa) raggarwa at cisco.com
Wed Jun 8 00:37:17 UTC 2005


I am trying to install mysql 4.1 and seeing the errors below in the log
files.
I have searched the faq's etc but not found a fix.  
Anyone know what the issue could be.

Fedora Core 3

[root at zedge log]# /etc/init.d/mysql start
Starting MySQL...................................          [FAILED]
[root at zedge log]# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)
[root at zedge log]# 

[root at zedge log]# mysql -V
mysql  Ver 14.7 Distrib 4.1.11, for pc-linux-gnu (i686)
[root at zedge log]# 

Jun  7 17:21:55 zedge kernel: audit(1118190115.708:0): avc:  denied  {
append } for  pid=26610 exe=/usr/sbin/mysqld
path=/var/lib/mysql/zedge.cisco.com.err dev=dm-0 ino=14254459
scontext=root:system_r:mysqld_t tcontext=root:object_r:var_lib_t
tclass=file

Jun  7 17:21:55 zedge kernel: audit(1118190115.708:0): avc:  denied  {
append } for  pid=26610 exe=/usr/sbin/mysqld
path=/var/lib/mysql/zedge.cisco.com.err dev=dm-0 ino=14254459
scontext=root:system_r:mysqld_t tcontext=root:object_r:var_lib_t
tclass=file

Jun  7 17:21:55 zedge kernel: audit(1118190115.971:0): avc:  denied  {
write } for  pid=26610 exe=/usr/sbin/mysqld name=mysql dev=dm-0
ino=14254456 scontext=root:system_r:mysqld_t
tcontext=root:object_r:var_lib_t tclass=dir

Jun  7 17:21:55 zedge kernel: audit(1118190115.985:0): avc:  denied  {
write } for  pid=26610 exe=/usr/sbin/mysqld name=mysql dev=dm-0
ino=14254456 scontext=root:system_r:mysqld_t
tcontext=root:object_r:var_lib_t tclass=dir
Jun  7 17:22:30 zedge lsb_log_message:  failed
[root at zedge log]# 




More information about the fedora-list mailing list