回文章列表
作者style520.bbs@ptt.cc (XXYY), 信區: 386bsd
標題Re: [問題] 請問apache怎麼重新啟動?
時間批踢踢實業 (Fri Sep 29 15:19:10 2006)
轉信站: GIBBS!ccnews.ncku!news.ccns.ncku!news.mksh.phc!news.nsysu!news.cis.nctu
Origin: sally.csie.ntu.edu.tw

※ 引述《sadcafe (sadcafe)》之銘言:
: 請教各位一下
: apache22怎麼重新啟動
: 我執行 # /etc/rc.d/init.d/httpd restart
: 出現   /etc/rc.d/init.d/httpd: Command not found.
: 執行  # service httpd restart
: 出現  service: Command not found.
: 請問是怎麼一回事,該怎麼啟動
: 謝謝!


你確定你參考的資料是 FreeBSD ??


/etc/rc.d/init.d/xxxxd restart
service xxxxd restart
是 Linux 的東東


FreeBSD 果如由 ports安裝大多是
/usr/local/etc/rc.d/xxxx.sh start|stop|restart




--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.245.58
※ 編輯: style520        來自: 140.112.245.58       (09/29 23:19)
文章選讀←離開[主題上]主題下(k)上篇(j)下篇S/a搜尋 G串列 TAB精華 ↑↓捲 Pg/Space翻