`
martinyuan
  • 浏览: 58834 次
  • 性别: Icon_minigender_1
  • 来自: 北京
最近访客 更多访客>>
社区版块
存档分类
最新评论

Could not determine the server's fully qualified d

阅读更多

Apache的启动经常看到这样一个警告

[root@eygle conf]# apachectl start
httpd: Could not determine the server's fully qualified domain name, using 172.16.11.99 for ServerName


刚刚查了一下,找到了解决方法.

Your box's config does not allow Apache to find your server's FQDN (Fully Qualified Domain Name).
原因是Apache无法找到服务器的FQDN(Fully Qualified Domain Name).

最简单的,修改httpd.conf文件,增加:

ServerName <server_name_or_ip_addr>

我的改为:

ServerName 192.168.203.132:8080

分享到:
评论

相关推荐

    apache安装

    httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.2.116 for ServerName错误 在#ServerName www.example.com:80 添加 ServerName www.example.com:80

    apache启动报错:httpd: apr_sockaddr_info_get() failed

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

    微软内部资料-SQL性能优化5

    The IAM allows SQL Server to do efficient prefetching of the table’s extents, but every row still must be examined. General Index Structure All SQL Server Indexes Are Organized As B-Trees ...

    在ubuntu下搭建Apache+MySQL+PHP开发环境[参考].pdf

    如果遇到"Could not determine the server's fully qualified domain name"的错误,可以通过创建或编辑`/etc/apache2/conf.d/fqdn`文件,添加`ServerName localhost`来解决。 **Apache2的虚拟主机** Apache2支持多...

    CentOS 6.4安装配置LAMP服务器(Apache+PHP5+MySQL)

    若启动时遇到“Could not reliably determine the server's fully qualified domain name”错误,需编辑`/etc/httpd/conf/httpd.conf`,将`ServerName www.example.com:80`改为`ServerName localhost:80`或你的实际...

    Gerrit搭建及权限配置.docx

    Gerrit搭建及权限配置 Gerrit是一款基于Web的代码...需要处理常见错误,如重启Apache2时遇到apache2: could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for servername等。

    CentOS6.2安装配置LAMP服务器(Apache+PHP5+MySQL).pdf

    如果出现“Could not reliably determine the server's fully qualified domain name”错误,需要编辑`/etc/httpd/conf/httpd.conf`文件,将`ServerName`行修改为实际的域名或IP地址,并设为开机启动。 然后,我们...

    lamp安装.doc

    如果在重启Apache时遇到“Could not reliably determine the server's fully qualified domain name”的警告,可以在`/etc/apache2/apache2.conf`文件末尾添加: ``` ServerName 127.0.0.1 ``` 6. 重启Apache服务:...

    lamp搭建(apache2.2+mysql+php5.3)

    注意,在启动Apache时,如果出现“Could not reliably determine the server's fully qualified domain name”警告,可以在Apache配置文件(如 `/usr/local/apache/conf/httpd.conf`)中添加或修改ServerName配置,...

    ubuntu下搭建LAMP环境

    - 如果遇到 `Could not determine the server's fully qualified domain name` 的错误,可以编辑 `/etc/apache2/conf.d/fqdn` 文件并设置 `ServerName` 项。 - **配置 PHP:** - 编辑 PHP 配置文件 `/etc/...

    redmine在centos下配置文档

    如果遇到启动时提示“apr_sockaddr_info_get() failed”和“Could not reliably determine the server's fully qualified domain name”的错误,可以通过编辑 /etc/hosts、/etc/sysconfig/network 和 /usr/local/...

    服务器安装lamp教程

    解决启动时可能出现的`Could not reliably determine the server's fully qualified domain name`错误,编辑httpd.conf配置文件: ```bash vi /etc/httpd/conf/httpd.conf ``` 将`#ServerName www.example.com:80`改...

    linux下安装apache

    重启 Apache 后,可能会弹出警告:AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.0.64. Set the 'ServerName' directive globally to suppress this ...

    查看进程端口

    当遇到类似“Could not reliably determine the server's fully qualified domain name”这样的错误时,通常是因为Apache服务器在启动时无法确定其完全限定域名(FQDN),这可能会影响到HTTPS证书的绑定或其他基于域名...

    Centos 下Lamp的配置

    httpd: Could not reliably determine the server's fully qualified domain name, using ::1 for ServerName ``` 可以通过修改`httpd.conf`文件来解决该问题: ```bash vi /etc/httpd/conf/httpd.conf ``` 找到如下...

    wxh linux9_0+apache+php+mysql安装与配置

    - 如果出现 `httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName` 提示,则需修改配置文件中的 ServerName。 - 复制 `httpd.conf` 文件为备份 `cp httpd.conf...

Global site tag (gtag.js) - Google Analytics