APACHE起動不了

本區專門提供 Mac OS X 使用者交換使用心得

版主: ross_ttbryanchangdigdogchester

回覆文章
內容
發表人
edwardhyh
新生訓練中
文章: 16
註冊時間: 02/18/2002 1:01 am
來自: Hong Kong
聯繫:

APACHE起動不了

#1 文章 edwardhyh »

web sharing沒有反應,
之後用termional打開apache就看到這些:
[cm61-15-148-98:~] edward% /System/Library/StartupItems/Apache/Apache
Starting web server
dyld: /usr/sbin/httpd Undefined symbols:
_hfs_apple_module
/usr/sbin/apachectl start: httpd could not be started

麻煩幫幫忙
[img]images/smiles/icon_confused.gif[/img]
頭像
bryanchang
討論區管理員
文章: 7057
註冊時間: 04/19/2001 1:01 am
來自: The '60s
聯繫:

APACHE起動不了

#2 文章 bryanchang »

你是否曾改過 Apache 的設定?你可以把 /etc/httpd/httpd.conf 這個檔案裡有關 HFS Apple 的那幾行文字前頭加上#去把它們 comment out 後重新啟動 Apache 即可。
edwardhyh
新生訓練中
文章: 16
註冊時間: 02/18/2002 1:01 am
來自: Hong Kong
聯繫:

APACHE起動不了

#3 文章 edwardhyh »

我把有hfs的都把#加上前面,再起動一次就看見這些:

[cm61-15-148-98:~] edward% /System/Library/StartupItems/Apache/Apache
Starting web server
Processing config directory: /private/etc/httpd/users
Processing config file: /private/etc/httpd/users/ben.conf
Processing config file: /private/etc/httpd/users/edward.conf
fopen: Permission denied
httpd: could not open error log file /private/var/log/httpd/error_log.
/usr/sbin/apachectl start: httpd could not be started

再次麻煩幫幫忙 [img]images/smiles/icon_sad.gif[/img] [img]images/smiles/icon_sad.gif[/img]
edwardhyh
新生訓練中
文章: 16
註冊時間: 02/18/2002 1:01 am
來自: Hong Kong
聯繫:

APACHE起動不了

#4 文章 edwardhyh »

呃, 之後用system preferences去起動就行了啦! [img]images/smiles/icon_biggrin.gif[/img]
未有弄清楚就 留言真不好意思 [img]images/smiles/icon_smile.gif[/img]
謝謝站長的幫忙!! [img]images/smiles/icon_biggrin.gif[/img] [img]images/smiles/icon_biggrin.gif[/img]
回覆文章