我正在运行CentOS 5.8,我不得不改变我的服务器的IP地址。 之后,我无法启动Apache。 我也运行virtualmin。 我收到的错误是:无法启动服务
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 184.106.146.125 for ServerName (99) Cannot assign requested address: make_sock: could not bind to address 50.56.33.100:8080 no listening sockets available, shutting down Unable to open logs
我编辑我的httpd.conf指向新的IP地址,如:
#Listen 12.34.56.78:80 Listen 184.106.146.125:80
而看着这个错误,它似乎仍然指的是旧的IP地址(50. *)。
有可能是另一个引用该IP地址的configuration文件。 你应该使用greprecursion来find这个,例如:
grep -ir 50.56.33.100 /etc/httpd