我正在Ubuntu15.04上配置RT4,但是我遇到了错误。下面是错误的输出:
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)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.请协助
发布于 2016-01-13 12:52:30
现在的问题是第219行文件/etc/apache2/apache2.conf中的语法错误。
似乎您引用的是部分配置/etc/request-tracker4/apache2-modperl2.conf,实际上它并不存在。(No such file or directory)
若要解决此问题,请查找该文件的实际位置并调整文件路径。
https://askubuntu.com/questions/720612
复制相似问题