红联Linux门户
Linux帮助

centos mysql无法启动服务

发布时间:2008-11-20 12:50:24来源:红联作者:online0066
配置和 make make install 的时候 都没报错
bin/mysql_install_db 也成功
但是就是启动服务的时候怎么都起不了
[root@localhost /]# /usr/local/mysql/share/mysql/mysql.server start
Starting MySQL..Manager of pid-file quit without updating f[失败]

网上有说改selinux的 我改了 重新启动机器还是不行,以下是SELINUX配置文件
[root@localhost selinux]# vi config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
#SELINUX=enforcing
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
~
~
~
另外 我配置apache的时候 80端口是自动开了的
我用setup取消掉 然后去停掉服务 居然显示停止失败。
然后去停止其他服务 都显示停止失败
弄了2天了 这个到底是怎么回事啊
文章评论

共有 2 条评论

  1. online0066 于 2008-11-20 23:03:58发表:

    因为先得把80端口关了 然后配置apache
    用apache得服务来开端口啊
    另外权限绝对没问题

    今天我把问题解决了。
    我把mysql用户的所有东西删除干净了
    重新配置编译
    服务成功启动
    但是用扫描器找不到3306端口
    进防火墙添加允许端口3306
    成功

  2. fengmx 于 2008-11-20 13:43:44发表:

    你为什么要关服务端口呢?关了就启不来的。
    你的mysql是源码编译安装的要注意目录权限和数据库目录的权限。。

    一定要mysql用户和组的权限才可以启动。。。