我使用了Ubuntu16.04,并在Apache2中遇到了奇怪的错误,在那里它不再启动,我不知道是什么导致了这一点。希望有新眼睛的人能帮我进来。
以下是我收到的一些错误:
>sudo service apache2 start
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
下面是这两个状态命令的
我正在尝试安装一个名为的laravel包,但在这个包中需要bcmath。每当我尝试安装它时,它都会在bcmath上显示错误,所以我尝试通过以下命令安装bcmath
sudo apt-get install php7.1-bcmath
但是当我这样做的时候,我的Ubuntu是17.10,这是我得到的错误
After this operation, 128 kB of additional disk space will be used.
你想继续吗?Y/n Y错误:1 artful/main amd64 php7.1-gd amd64 7.1.12-2+ubuntu17.10.1+deb.su
我在用Ubuntu 18.04。我似乎无法使用“”重新启动Apache2。我看到这个
~$ sudo apachectl start
Invoking 'systemctl start apache2'.
Use 'systemctl status apache2' for more info.
Job for apache2.service failed because a timeout was exceeded.
See "systemctl status apache2.service" and "journalctl -xe
在终端中执行命令:sudo systemctl restart apache2之后,它会引发一个错误:
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xeu apache2.service" for details.
根据上面的提示符执行systemctl status apache2.service命令之后,我收到这个提示符:
×
我在Ubuntu16.04上运行,在phpMyAdmin抛出一个HTTP500错误后,我决定重新安装Apache。
重新安装之后,在尝试启动Apache服务时,我会收到此错误。
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
invoke-rc.d: initscript apache2, actio
我无法启动apache2,因为出现错误“apache2.service的作业失败,因为控制进程以错误代码退出。有关详细信息,请参阅"systemctl status apache2.service”和"journalctl -xe“。”
所以,当我检查"systemctl status apache2.service“
我查看:apache2ctl configtest
出现错误:"mkdir:无法创建目录'/var/run/apache2':权限被拒绝chown:更改‘/var/lock/apache2.G6bcI3GyMQ’的所有权:不允许操
Created symlink /etc/systemd/system/multi-user.target.wants/apache2.service → /lib/systemd/system/apache2.service.
Created symlink /etc/systemd/system/multi-user.target.wants/apache-htcacheclean.service → /lib/systemd/system/apache-htcacheclean.service.
Job for apache2.service failed because the con
刚从19.10升级到ubuntu 20.04。重新启动之后,我注意到我的apache服务器失败了。
我运行的systemctl restart apache2显示
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
然后我运行systemctl status apache2.service给出了这个
因此,我尝试用以下命令启动我的apache2服务器.
sudo service apache2 start
但我得到了这个错误信息..。
Job for apache2.service failed. See "systemctl status apache2.service" and "journalctl -xe" for details.
所以当我试着去看系统时,我得到了这个.
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Act
我正在尝试重新启动Apache2,但是每当我运行该命令时,就会发生这样的情况:
Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.
现在,当我键入"systemctl状态apache2.service“时,它会输出以下内容:
● apache2.service - LSB: Apache2 web
当我重新启动apache2时,我收到以下错误消息
Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.
我将此代码插入到/etc/apache2/sites enabled/000-default.conf中
<VirtualHost *:80>
<Directory /var/www/te
我在我的Ubuntu机器上安装了Apache2。一开始,我在课程中开始和重新开始了很多次,这一切都很好。但是现在,当我试图重新启动它时,突然给了我一个错误消息:
[....] Restarting apache2 (via systemctl): apache2.serviceJob
for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe
我在ubuntu上编辑apache模块,当我尝试使用service apache2 restart重新启动服务器时,我得到以下消息:
Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.
运行命令systemctl status apache2.service
● apache2.service - LSB:
我刚刚将我的Ubuntu17.10升级到18.04,php停止工作。我重新启动了apache,并尝试了一些我在网上找到的解决方案,例如
sudo a2enmod php7.1
sudo systemctl restart apache2
但还是不起作用。
$ journalctl -xe -u apache2
-- Unit apache2.service has failed.
--
-- The result is RESULT.
-- Reboot --
Nis 29 02:31:21 hasan systemd[1]: Starting The Apache HTTP Server
如果我像往常一样用systemd禁用systemctl disable单元apache2,那么Ubuntu19.04上的apache2会出现以下故障:
> sudo systemctl disable apache2
Synchronizing state of apache2.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable apache2
update-rc.d: error: can
我已经在我的Ubuntu16.04.1系统上安装了Apache2。
我也想在我的网络服务器上安装并激活PHP7.0。
我安装了php并尝试在Apache2中激活该模块。
当重新启动服务器时,我得到:
Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.
当我执行"systemctl status ap
我在安装apache2 (或其他什么)时遇到了问题。然后我开始重新安装,然后发生了这样的事情:
sudo apt install --reinstall apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/95,5 kB of archives.
Afte
我在18.04.I中遇到了一个问题,我想为我的网站配置SSL,所以我用etc/apache2/ports.conf编辑配置文件并添加像Listen 443这样的行,但是当我执行service apache2 restart时,apahce服务不能重新启动,但是它在16.04 (比如that.Then )中工作得很好,我删除了行Listen 443,而Apache服务再次工作。
上面写着:Job for apache2.service failed because the control process exited with error code.See "systemctl stat
我无法在debian 9上重新启动apache服务器。
我试过重新安装:
sudo apt-get autoremove --purge apache2 && sudo apt-get install apache2
但是没有变化..。
Job for apache2.service failed because of unavailable resources or another system error.
See "systemctl status apache2.service" and "journalctl -xe" for deta