我已经从 lenny 升级到 wheezy,现在 apache 无法启动:
# /etc/init.d/apache2 start
Starting web server: apache2[Wed May 08 19:01:08 2013] [crit] (22)Invalid argument: alloc_listener: failed to get a socket for (null)
Syntax error on line 17 of /etc/apache2/ports.conf:
Listen setup failed
Action 'start' failed.
The Apache error log may have more information.
failed!
Run Code Online (Sandbox Code Playgroud)
ports.conf 的第 17 行当然是正确的:
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default …
Run Code Online (Sandbox Code Playgroud)