首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Apache2测试失败

Apache2测试失败
EN

Ask Ubuntu用户
提问于 2016-01-13 12:36:42
回答 1查看 199关注 0票数 0

我正在Ubuntu15.04上配置RT4,但是我遇到了错误。下面是错误的输出:

代码语言:javascript
复制
technical@rt:~$ systemctl status apache2.service -l
â apache2.service - LSB: Apache2 web server
   Loaded: loaded (/etc/init.d/apache2)
   Active: failed (Result: exit-code) since Wed 2016-01-13 14:31:48 CAT; 1min 22s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 14059 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
  Process: 14569 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)
代码语言:javascript
复制
Jan 13 14:31:48 rt apache2[14569]: *
Jan 13 14:31:48 rt apache2[14569]: * The apache2 configtest failed.
Jan 13 14:31:48 rt apache2[14569]: Output of config test was:
Jan 13 14:31:48 rt apache2[14569]: apache2: Syntax error on line 219 of /etc/apache2/apache2.conf: Syntax error on line 29 of /etc/apache2/sites-enabled/000-default.conf: Could not open configuration file /etc/request-tracker4/apache2-modperl2.conf: No such file or directory
Jan 13 14:31:48 rt apache2[14569]: Action 'configtest' failed.
Jan 13 14:31:48 rt apache2[14569]: The Apache error log may have more information.
Jan 13 14:31:48 rt systemd[1]: apache2.service: control process exited, code=exited status=1
Jan 13 14:31:48 rt systemd[1]: Failed to start LSB: Apache2 web server.
Jan 13 14:31:48 rt systemd[1]: Unit apache2.service entered failed state.
Jan 13 14:31:48 rt systemd[1]: apache2.service failed.

请协助

EN

回答 1

Ask Ubuntu用户

发布于 2016-01-13 12:52:30

现在的问题是第219行文件/etc/apache2/apache2.conf中的语法错误。

似乎您引用的是部分配置/etc/request-tracker4/apache2-modperl2.conf,实际上它并不存在。(No such file or directory)

若要解决此问题,请查找该文件的实际位置并调整文件路径。

票数 2
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/720612

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档