亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
最近訪問(wèn)板塊 發(fā)新帖
查看: 3963 | 回復(fù): 4
打印 上一主題 下一主題

剛安裝完MYSQL,無(wú)法啟動(dòng) [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2014-04-06 15:23 |只看該作者 |倒序?yàn)g覽
[root@blast bin]# 140406 23:14:22 mysqld_safe Logging to '/var/log/mysqld.log'.
140406 23:14:22 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
140406 23:14:22 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended

[1]+  Done                    ./mysqld_safe --user=mysql
[root@blast bin]#
[root@blast log]# more mysqld.log
140406 21:15:45 mysqld_safe Starting mysqld daemon with databases from /var/lib/
mysql
140406 21:15:45 [ERROR] /usr/local/mysql/libexec/mysqld: Can't create/write to f
ile '/var/run/mysqld/mysqld.pid' (Errcode: 2)
140406 21:15:45 [ERROR] Can't start server: can't create PID file: No such file
or directory
140406 21:15:45 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ende
d
140406 21:25:22 mysqld_safe Starting mysqld daemon with databases from /var/lib/
mysql
140406 21:25:23 [ERROR] /usr/local/mysql/libexec/mysqld: Can't create/write to f
ile '/var/run/mysqld/mysqld.pid' (Errcode: 2)
140406 21:25:23 [ERROR] Can't start server: can't create PID file: No such file
or directory
140406 21:25:23 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ende
d
140406 21:27:47 mysqld_safe Starting mysqld daemon with databases from /var/lib/
mysql
140406 21:27:47 [ERROR] /usr/local/mysql/libexec/mysqld: Can't create/write to f
ile '/var/run/mysqld/mysqld.pid' (Errcode: 2)
140406 21:27:47 [ERROR] Can't start server: can't create PID file: No such file
or directory
140406 21:27:47 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ende
d
140406 23:14:22 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
140406 23:14:22 [ERROR] /usr/local/mysql/libexec/mysqld: Can't create/write to file '/var/run/mysqld/mysqld.pid' (Errcode: 2)
140406 23:14:22 [ERROR] Can't start server: can't create PID file: No such file or directory
140406 23:14:22 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended


為什么會(huì)出現(xiàn)這個(gè)目錄呀??140406 21:15:45 [ERROR] /usr/local/mysql/libexec/mysqld: Can't create/write to f
ile '/var/run/mysqld/mysqld.pid' (Errcode: 2)
難道要我去手動(dòng)創(chuàng)建這個(gè)目錄嗎??請(qǐng)教下各位,誰(shuí)來(lái)幫忙看看

論壇徽章:
1
處女座
日期:2014-01-21 13:20:51
2 [報(bào)告]
發(fā)表于 2014-04-06 20:05 |只看該作者
是不是你權(quán)限不夠呢?

論壇徽章:
0
3 [報(bào)告]
發(fā)表于 2014-04-06 20:37 |只看該作者
回復(fù) 2# webdna



[root@blast local]# ll
total 64
drwxrwxrwx. 14 root root  4096 Apr  5 19:35 apache
drwxrwxrwx.  6 root root  4096 Apr  5 19:20 apr
drwxr-xr-x.  5 root root  4096 Apr  5 19:24 apr-util
drwxr-xr-x.  2 root root  4096 Sep 23  2011 bin
drwxr-xr-x.  2 root root  4096 Sep 23  2011 etc
drwxr-xr-x.  2 root root  4096 Sep 23  2011 games
drwxr-xr-x.  2 root root  4096 Sep 23  2011 include
drwxr-xr-x.  2 root root  4096 Sep 23  2011 lib
drwxr-xr-x.  2 root root  4096 Sep 23  2011 lib64
drwxr-xr-x.  2 root root  4096 Sep 23  2011 libexec
drwxr-xr-x. 11 root mysql 4096 Apr  6 22:59 mysql
drwxr-xr-x.  2 root root  4096 Apr  5 19:21 pcre
drwxr-xr-x.  2 root root  4096 Apr  5 20:38 php
drwxr-xr-x.  2 root root  4096 Sep 23  2011 sbin
drwxr-xr-x.  5 root root  4096 Apr  4 20:01 share
drwxr-xr-x.  2 root root  4096 Sep 23  2011 src
[root@blast local]# cd mysql/
[root@blast mysql]# ll
total 36
drwxr-xr-x.  2 root mysql 4096 Apr  6 22:51 bin
drwxr-xr-x.  2 root mysql 4096 Apr  6 22:35 data
drwxr-xr-x.  2 root mysql 4096 Apr  6 22:51 docs
drwxr-xr-x.  3 root mysql 4096 Apr  6 22:50 include
drwxr-xr-x.  3 root mysql 4096 Apr  6 22:51 lib
drwxr-xr-x.  2 root mysql 4096 Apr  6 22:59 libexec
drwxr-xr-x. 10 root mysql 4096 Apr  6 22:59 mysql-test
drwxr-xr-x.  5 root mysql 4096 Apr  6 22:59 share
drwxr-xr-x.  5 root mysql 4096 Apr  6 22:59 sql-bench
[root@blast mysql]#


應(yīng)該沒(méi)有錯(cuò)吧SELINUX我也關(guān)閉了

論壇徽章:
0
4 [報(bào)告]
發(fā)表于 2014-04-08 12:16 |只看該作者
/var/run/mysqld/mysqld.pid 權(quán)限吧

論壇徽章:
0
5 [報(bào)告]
發(fā)表于 2014-04-08 20:03 |只看該作者
回復(fù) 4# gu_jj


    話說(shuō)其實(shí)我去查了下/var/run/,下面沒(méi)有mysqld.....后來(lái)把/etc/my.cnf修改了就好了.../usr/local/mysql/libexec/mysqld沒(méi)有配對(duì)...
感謝答謝的關(guān)注我的問(wèn)題
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專(zhuān)區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過(guò)ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP