Apache2 没有启动我的网络服务器

Rob*_*oss 8 apache-2.2

所以我运行这个命令:

/etc/init.d/apache2 start
Run Code Online (Sandbox Code Playgroud)

它说:

* Starting web server apache2 [ OK ]
Run Code Online (Sandbox Code Playgroud)

但!我的网站仍然没有拉起。和!

service --status-all
 [ - ]  apache2
Run Code Online (Sandbox Code Playgroud)

什么……?发生了什么事?;(

[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!
Run Code Online (Sandbox Code Playgroud)

Mar*_*mos 1

查看日志,尤其是 error_log。那应该有帮助。如果没有帮助,请尝试 strace apache2 命令:

strace -f -o output.txt /etc/init.d/apache2 start

strace 将跟踪系统调用(-f 标志命令 strace 也跟踪子进程,-o 标志将输出写入文件 output.txt)