所以我运行以下命令:
/etc/init.d/apache2 start
它说:
* Starting web server apache2 [ OK ]
但!我的网站仍然没有启动。和!
service --status-all
[ - ] apache2
哇...?发生了什么事?;(
[Sat May 01 14:45:18 2010] [warn] pid file /var/run/apache2.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat May 01 14:45:18 2010] [notice] Apache/2.2.11 (Ubuntu) PHP/5.3.2 configured -- resuming normal operations
[Sat May 01 14:45:18 2010] [alert] (11)Resource temporarily unavailable: apr_thread_create: unable to create worker thread
[Sat May 01 14:45:18 2010] [alert] (11)Resource temporarily unavailable: apr_thread_create: unable to create worker thread
[Sat May 01 14:45:20 2010] [alert] No active workers found... Apache is exiting!
4
日志,请!查看“ /var/logs/apache2/error.log”或同一目录中的其他文件。
—
lajuette 2010年
日志什么也没说。
—
罗伯特·罗斯
只是为了确保您是以root身份或使用sudo来运行它?即不是普通的用户帐户
—
David Rickman,2010年
您确定安装完成吗?键入
—
ℝaphink
dpkg --configure -a以确保所有文件均已正确配置。