MySQL無法啟動 - BBS
By Carolina Franco
at 2006-04-24T21:52
at 2006-04-24T21:52
Table of Contents
已爬過文。
OS: FreeBSD 4.11 stable
MySQL version: MySQL 4.0.26
在/etc/rc.conf裡已加上mysql_enable="YES",
在/usr/local/etc/rc.d/mysql-server.sh裡mysql_enable也已改為="YES"
但是仍然出現以前的文章所出現的情形:
%mysql-server.sh start
Starting mysql.
%Can't open /dev/null: Permission denied
%/usr/local/bin/mysqld_safe
Starting mysqld daemon with databases from /var/db/mysql
STOPPING server from pid file /var/db/mysql/mydomainname.pid
060424 21:45:10 mysqld ended
查詢mydomainname.err
060424 21:45:10 mysqld started
060424 21:45:10 Can't start server: Bind on TCP/IP port: Address already in
use
060424 21:45:10 Do you already have another mysqld server running on port:
3306 ?
060424 21:45:10 Aborting
060424 21:45:10 /usr/local/libexec/mysqld: Shutdown Complete
060424 21:45:10 mysqld ended
下netstat -an得到port 3306的狀態為:
tcp4 0 0 *.3306 *.* LISTEN
開機時MySQL都順利啟動,但是有時會突然就關閉,然後就無法再啟動。
以前碰到這種情形,重開機後就可以。
但是這台機器上有安裝系上的BBS及一些網路服務,不定時就得重開機很不方便。
請大家幫個忙看一下...謝謝^^
--
Tags:
BBS
All Comments
Related Posts
關於postfix
By Quanna
at 2006-04-24T19:17
at 2006-04-24T19:17
關於postfix
By Ingrid
at 2006-04-24T18:24
at 2006-04-24T18:24
關於postfix
By Emily
at 2006-04-24T17:29
at 2006-04-24T17:29
關於freesbie的問題
By Belly
at 2006-04-24T11:08
at 2006-04-24T11:08
關於postfix
By Ingrid
at 2006-04-24T08:50
at 2006-04-24T08:50