您的位置:首页 > 大数据 > 人工智能

yum 安装httpd时,遇到错误apr_sockaddr_info_get() failed for kickstart;Could not reliably determine the serve

2017-10-18 14:53 561 查看
在yum安装httpd服务时,遇到此种问题:

[root@kickstart ~]# /etc/init.d/httpd start

Starting httpd: httpd: apr_sockaddr_info_get() failed for kickstart

httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName     [  OK  ]

解决方法:

步骤一:sed -i.org  '266a  ServerName localhost:80'  /etc/httpd/conf/httpd.conf

步骤二:/etc/init.d/httpd restart   便不再有上述提示。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐