/etc/rc.conf 問題 - BBS
By Steve
at 2009-04-30T14:13
at 2009-04-30T14:13
Table of Contents
※ 引述《mflo (殞浮流)》之銘言:
: ※ 引述《denniswave (tsmc.168rent.com)》之銘言:
: : PO 一下 rc.conf 的設定吧。
: : 也 PO 一下 /usr/local/etc/rc.d/mysql-server 的內容
: : 順便看一下 error log 有沒有問題。
: rc.conf:
: inetd_enable="YES"
: sshd_enable="YES"
: lighttpd_enable="YES"
: fcgiphp_enable="YES"
: fcgiphp_port="8023"
: fcgiphp_socket=""
: pureftpd_enable="YES"
沒有加入 mysql_enable="YES"
: mysql-server:
: #
: # $FreeBSD: ports/databases/mysql51-server/files/mysql-server.sh.in,v 1.6
: 2008/07/30 06:11:16 ale Exp $
: #
: # PROVIDE: mysql
: # REQUIRE: LOGIN
: # KEYWORD: shutdown
: #
: # Add the following line to /etc/rc.conf to enable mysql:
: # mysql_enable (bool): Set to "NO" by default.
: # Set it to "YES" to enable MySQL.
: # mysql_limits (bool): Set to "NO" by default.
: # Set it to yes to run `limits -e -U mysql`
: # just before mysql starts.
: # mysql_dbdir (str): Default to "/var/db/mysql"
: # Base database directory.
: # mysql_args (str): Custom additional arguments to be passed
Set it to "YES" to enable MySQL
文件都寫的很清楚,你沒有加上 mysql_enable
所以開機不會啟動,command line 鍵入
/usr/local/etc/rc.d/mysql-server start 是不會 work 的
需要鍵入
/usr/local/etc/rc.d/mysql-server forcestart 這樣就可以了
--
Appleboy Blog: http://blog.Wu-Boy.com 電腦技術、美食介紹、旅遊資訊
--
: ※ 引述《denniswave (tsmc.168rent.com)》之銘言:
: : PO 一下 rc.conf 的設定吧。
: : 也 PO 一下 /usr/local/etc/rc.d/mysql-server 的內容
: : 順便看一下 error log 有沒有問題。
: rc.conf:
: inetd_enable="YES"
: sshd_enable="YES"
: lighttpd_enable="YES"
: fcgiphp_enable="YES"
: fcgiphp_port="8023"
: fcgiphp_socket=""
: pureftpd_enable="YES"
沒有加入 mysql_enable="YES"
: mysql-server:
: #
: # $FreeBSD: ports/databases/mysql51-server/files/mysql-server.sh.in,v 1.6
: 2008/07/30 06:11:16 ale Exp $
: #
: # PROVIDE: mysql
: # REQUIRE: LOGIN
: # KEYWORD: shutdown
: #
: # Add the following line to /etc/rc.conf to enable mysql:
: # mysql_enable (bool): Set to "NO" by default.
: # Set it to "YES" to enable MySQL.
: # mysql_limits (bool): Set to "NO" by default.
: # Set it to yes to run `limits -e -U mysql`
: # just before mysql starts.
: # mysql_dbdir (str): Default to "/var/db/mysql"
: # Base database directory.
: # mysql_args (str): Custom additional arguments to be passed
Set it to "YES" to enable MySQL
文件都寫的很清楚,你沒有加上 mysql_enable
所以開機不會啟動,command line 鍵入
/usr/local/etc/rc.d/mysql-server start 是不會 work 的
需要鍵入
/usr/local/etc/rc.d/mysql-server forcestart 這樣就可以了
--
Appleboy Blog: http://blog.Wu-Boy.com 電腦技術、美食介紹、旅遊資訊
--
Tags:
BBS
All Comments
Related Posts
/etc/rc.conf 問題
By Kelly
at 2009-04-30T12:02
at 2009-04-30T12:02
/etc/rc.conf 問題
By Emily
at 2009-04-30T11:55
at 2009-04-30T11:55
Freebsd 抓不到 Acer R520 LSI SAS1078?
By Ethan
at 2009-04-30T08:31
at 2009-04-30T08:31
Freebsd 抓不到 Acer R520 LSI SAS1078?
By Regina
at 2009-04-30T00:16
at 2009-04-30T00:16
Freebsd 抓不到 Acer R520 LSI SAS1078?
By Sandy
at 2009-04-29T23:40
at 2009-04-29T23:40