当我在执行apache2配方后登录我的远程系统(亚马逊Linux)时,httpd服务正在运行,我使用service httpd status
检查了它,然后我在服务停止后写了service httpd restart
但没有重新开始。它给了我以下错误。
[root@java-app1 webapps]# sudo service httpd restart
Stopping httpd: [ OK ]
Starting httpd: httpd: Syntax error on line 106 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/mods-enabled/systemd.load: Cannot load /usr/lib64/httpd/modules/mod_systemd.so into server: /usr/lib64/httpd/modules/mod_systemd.so: cannot open shared object file: No such file or directory
[FAILED]