我输入命令apt-get install apache2 --fix-missing (在根用户下),结果如下:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
apache2-mpm-worker apache2-utils apache2.2-bin apache2.2-common libapr1 libaprutil1 libaprutil1-dbd-sqli
我在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:
The following packages have unmet dependencies:
apache2:
Depends: apache2-mpm-worker (= 2.2.22-1ubuntu1) but 2.2.22-1ubuntu1.2 is to be installed or
apache2-mpm-prefork (= 2.2.22-1ubuntu1) but it is not going to be installed or
apache2-mpm-event (= 2.2.22-1ubuntu1) bu
在我的ubuntu14.04LTS上安装apache2时,我遇到了以下错误
The following packages have unmet dependencies:
apache2 : Depends: apache2-bin (= 2.4.7-1ubuntu4.18) but 2.4.10-1ubuntu1.1~ubuntu14.
04.2 is to be installed
Depends: apache2-data (= 2.4.7-1ubuntu4.18) but 2.4.10-1ubuntu1.1~ubuntu14.04.2 is
t
拜托,这意味着谁能帮忙?
cannot open /usr/share/apache2/build/config_vars.mk: No such file or directory at /usr/bin/apxs2 line 203.
谢谢
apt-cache policy apache2-dev
apache2-dev:
Installed: 2.4.18-2ubuntu3.10
Candidate: 2.4.18-2ubuntu3.10
Version table:
*** 2.4.18-2ubuntu3.10 500
500 http://fi.arc
我使用了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.
下面是这两个状态命令的
root@tasnim:/home/tara# service apache2 restart
* Restarting web server apache2 [fail]
* The apache2 configtest failed.
配置测试的输出是:
AH00534: apache2: Configuration error: No MPM loaded.
Action 'configtest' failed.
使用
sudo a2enmod mpm_prefork
service a
当我试图更新时,我得到了这个错误。我使用的是Ubuntu 17.04。
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
apache2-bin
Suggested packages:
apache2-doc apache2-suexec-pristine | apache2-s
没有一个副本的Apache2安装错误。阿帕奇2-宾,不一样的错误和“好,我解决了它”的评论,由OP.
我正在尝试安装apache2,以便在我的Lubuntu18.04.1服务器上安装redmine。
在安装apache2时,我
Les paquets suivants contiennent des dépendances non satisfaites :
apache2 : Dépend: apache2-bin (= 2.4.18-2ubuntu3.9) mais 2.4.29-1ubuntu4.5
devra être installé
E: Impossible de corri
我试图通过以下方式在ubuntu16.04LTS上安装apache2:
sudo apt-get install apache2 -y
输出结果显示:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
apache2-data apache2-utils
Suggested packages:
apache2-doc apache2-suex
我尝试在EC2实例上安装tomcat服务器。完成安装后,成功安装并启动。请查看下面的日志:
ubuntu@ip-XXX-XX-X-XXX:~/apache-tomcat-8.5.43/bin$ /home/ubuntu/apache-
tomcat-8.5.43/bin/startup.sh
Using CATALINA_BASE: /home/ubuntu/apache-tomcat-8.5.43
Using CATALINA_HOME: /home/ubuntu/apache-tomcat-8.5.43
Using CATALINA_TMPDIR: /home/ubuntu/ap
我在我的Ubuntu10.04机器上安装了memcache,但是当涉及到重新启动apache时,它会给我一个错误。我的主根目录是/var/www/,其中只有index.php文件。
在安装memcache之前,一切都在正常工作。
请帮帮忙
错误:
myubuntu@ubuntu:~$ service apache2 restart
* Restarting web server apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
apache2-bin apache2-data apache2-utils
Suggested packages:
www-browser apache2-doc apache2-suexec-pristine | apache2-suexec-custom
Recommended package
我正试图在我的Ubntu12.X机器上重新安装apache2。我以前有过apache2,但是由于一些原因我已经卸载了。
我使用apt-get purge删除apache,但是在重新安装时,我得到了这些错误。我尝试过很多方法在很多博客中解释,没有一个能解决我的问题。
Setting up apache2.2-common (2.2.22-1ubuntu1.4) ...
ERROR: Config file dir.conf not properly enabled: /etc/apache2/mods-enabled/dir.conf is a real file, not touching i
当我登录到其他人为托管而创建的EC2实例时,我无法运行任何常见的Apache命令,但Apache正在运行:
$ ps -aux | grep apache
jimble 22250 0.0 0.0 12944 864 pts/0 S+ 02:28 0:00 grep --color=auto apache
这怎麽可能?Apache可执行文件在哪里?
$ apache2
The program 'apache2' is currently not installed. You can install it by typing:
sudo apt ins
我正在尝试在Apache中使用p线程。
第1步。
在安装和重新编译php之后,根据:
服务器按预期工作,我可以从CLI运行线程。
第2步。
然后,我需要从web服务器上运行线程,所以我遵循了以下说明:
sudo service apache2 restart && sudo service php7.0-fpm restart后
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.servic
弹簧启动2.6.x
May 11 14:08:41 ubuntu java[1831]: 2022-05-11 14:08:41.239 INFO 1831 --- [nio-2023-exec-7] o.apache.coyote.http11.Http11Processor : Error parsing HTTP request header
May 11 14:08:41 ubuntu java[1831]: Note: further occurrences of HTTP request parsing errors will be logged at DEBUG leve
我已经在ubuntu中安装了apache 2,但是当我试图重新启动它时,会出现以下错误
vmware@ubuntu:~$ sudo /etc/init.d/apache2 restart
* Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Mon Apr 12
我无法在Ubuntu14.04上安装apache2。
关于执行
获得以下错误的sudo apt-get install apache2:-
The following packages have unmet dependencies:
apache2 : Depends: apache2-bin (= 2.4.7-1ubuntu4) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
正如在中提到的,我尝试执行apt-get upgrade -f。
每当我尝试运行sudo apt install <package>时,我都会得到以下输出
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
apache2 : Depends: apache2-bi
我刚刚升级了Ubuntu,现在apache2不能启动了。
systemctl状态apache2.service
apachectl[2174]: apache2: Syntax error on line 144 of /etc/apache2/apache2.conf:
Syntax error on line 2 of /etc/apache2/mods-enabled/php7.0.load:
Cannot load /usr/lib/apache2/modules/libphp7.0.so intoserver:
/usr/lib/apache2/modules/libphp7.
我在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
我正在运行Ubuntu14.04.5和Apache2.4.7。我希望在LocationMatch指令中获得对命名组和反向引用的支持,该指令是(未发布的) 2.4.8的一部分。看起来我应该能够安装2.4.10,但我还不知道如何安装。我已经在这里找到了类似问题,但是我对版本控制还不太熟悉,并且倾向于想办法让它做我想做的事情。我如何升级Apache以便获得这些特性?这跟优先权有关吗?是否有令人信服的理由不这样做?
ubuntu@server:/$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Descripti