我的系统是centos 7.4,apache 2.4
基于apache手册,apachectl -k graceful应该是优雅地重新启动apache的方法,但是我注意到如下所示:
[root@localhost root]# apachectl -k graceful
Passing arguments to httpd using apachectl is no longer supported.
You can only start/stop/restart httpd using this script.
If you want to pass extra arguments to
我按照下面的链接在centos-7 apache中启用了http/2。
Apache:2.4.27
我的openssl版本:
# openssl version
OpenSSL 1.1.0f 25 May 2017
我需要将https证书添加到该域,以检查浏览器中的http/2进程。
当我试图使用该证书添加证书时,让我们将其加密为:
#sudo certbot --apache
We were unable to find a vhost with a ServerName or Address of xxx.yyy.com.
Which virtual host would you li
在过去的几个小时里,我一直在谷歌上搜索,但无论如何,我似乎无法启动Apache。
我的服务器之前一直运行得很好,但今天我尝试通过LetsEncrypt证书机器人续订我的SSL证书。
Certbot遇到了问题,无法颁发新的证书,然后我运行apt-update并升级,以确保所有内容都已更新。
Certbot现在抛出此消息
Error while running apache2ctl graceful.
httpd not running, trying to start
Action 'graceful' failed.
The Apache error log may have
我正试图在我的域名上安装免费的SSL。我正在使用亚马逊主机,并试图安装SSL。但我犯了个错误。我不知道有什么问题。请任何人帮我做这个。
Error while running apache2ctl graceful.
httpd not running, trying to start
Action 'graceful' failed.
The Apache error log may have more information.
(98)Address already in use: AH00072: make_sock: could not bind to add
我正试着在我的树莓派上安装ownCloud。为了安装它,我使用这个教程: (它是德语的)
所以我按照描述做了所有的事情,在configtest之后,我想要重新开始
apache2ctl restart
我得到了这个:
httpd not running, trying to start (98)Address already in use: make_sock: could not bind to address 0.0.0.0:443 no listening sockets available, shutting down Unable to open logs Action 'r
如果我在/etc/apache2/sites-enabled/newsite.conf上添加了一个新的Apache站点,我如何加载新的配置而不删除当前由Apache托管的任何其他站点?
据我所知,sudo apachectl graceful、sudo service apache2 restart和sudo service apache2 reload都会对所有站点造成短暂的中断,而reload的中断时间更短。
你好吗?:我正在debian上配置我的Apache are服务器。经过一些配置后,我想重新启动apache并执行: service apache2 reload
然后我得到以下错误: apache2.service的作业失败,因为控制进程退出并返回错误代码。详细信息请参见"systemctl status apache2.service“和"journalctl -xe”。
然后我运行"systemctl status apache2.service“,得到如下结果:
root@root:/etc/apache2# systemctl status apache2.se
为了使用这个客户ODBC驱动程序,我需要从源代码构建PHP。我遵循了以下检查:当我用https://www.progress.com/tutorials/odbc/using-php手动启动/usr/local/apache2/bin/apachectl start时,所有东西(包括ODBC驱动程序)都可以正常工作,但是当我尝试用D1启动apache时,ODBC驱动程序就不再工作了。
我创建了这个文件:/usr/lib/systemd/system/httpd.service
[Unit]
Description=Apache Web Server
After=network.target r
使用maven的Hawkular服务器设置在构建过程中出现错误。在运行下面的命令后,我得到了下面的错误:
mvn clean install -Pdev -DskipTests -e
我正在使用git集线器源码通过以下链接构建此代码:
[WARNING] npm WARN deprecated babel@6.5.2: Babel's CLI commands have been moved from the babel package to the babel-cli package
[WARNING] npm WARN deprecated vinyl-map@1.0.1: Mis
尝试在docker容器中创建lamp堆栈时,在配置文件后尝试使用命令重新启动
service apache2 restart
它抛出错误
[....] Restarting Apache httpd web server: apache2/usr/sbin/apache2ctl: 99: ulimit: error setting limit (Operation not permitted)
Setting ulimit failed. See README.Debian for more information.
(98)Address already in use: AH00072:
今天,我的apache实例被某个cron作业自动地重新启动了--我猜,后来它没有运行。apache错误日志文件显示:
[Fri Jun 03 06:25:04.379685 2016] [mpm_prefork:notice] [pid 8256] AH00171: Graceful restart requested, doing restart
apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 2 of /etc/apache2/mods-enabled/access_c
本质上,我正在使用Apache2厨师食谱将apache2.4安装到centOs6.6上。我让它工作到了这样的程度,所有的服务命令都可以工作,而不是
sudo service httpd24-httpd graceful
命令,不幸的是,如果没有该服务,厨师脚本将无法完成。它提供了以下错误:
/opt/rh/httpd24/root/usr/sbin/apachectl: line 112: /usr/bin/systemctl: No such file or directory
当然,文件(systemctl)并不存在。食谱只是推迟到yum安装apache -所以我有点困惑为什么它没有安