在Ubuntu 13.04将Apache更新后的错误 [英] Error after updating apache in ubuntu 13.04

查看:178
本文介绍了在Ubuntu 13.04将Apache更新后的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有更新我的包后的错误。尝试启动我的网络服务器时,它抛出以下错误,

I have a error after updating my packages. when trying to start my webserver, it throws following error,

$ sudo service apache2 restart
 * Restarting web server apache2                                                               [fail] 
 * The apache2 configtest failed.
Output of config test was:
AH00526: Syntax error on line 84 of /etc/apache2/apache2.conf:
Invalid command 'LockFile', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.

和apache的错误日志(从文件/var/log/apache2/error.log)

and apache error log is(from file /var/log/apache2/error.log),

[Sat Aug 17 01:30:03 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.4.17RC1 configured -- resuming normal operations
[Sat Aug 17 01:41:38 2013] [notice] caught SIGTERM, shutting down
[Sat Aug 17 03:10:11.132425 2013] [mpm_prefork:notice] [pid 4182] AH00163: Apache/2.4.6 (Ubuntu) PHP/5.5.1-2+debphp.org~raring+2 configured -- resuming normal operations
[Sat Aug 17 03:10:11.143718 2013] [core:notice] [pid 4182] AH00094: Command line: '/usr/sbin/apache2'
[Sat Aug 17 03:13:56.527245 2013] [mpm_prefork:notice] [pid 4182] AH00169: caught SIGTERM, shutting down

谁能帮助上我必须做恢复或修复我的服务器了什么东西。

can anyone help on what things i have to do to recover or fix my server up.

推荐答案

在apache2.conf替换:

Replace in apache2.conf:

LockFile /var/lock/apache2/accept.lock

Mutex file:${APACHE_LOCK_DIR} default

这篇关于在Ubuntu 13.04将Apache更新后的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆