After installing APACHE-HTTPD, the start times error is as follows:[[Email protected] app]# service httpd startstarting Httpd:httpd:apr_sockaddr_info_get () failed for ppthttpd:could not Reliably determine the server ' s fully qualified domain name, using 127.0.0.1 for ServerName [OK]Resolved as follows:1. Edit the httpd configuration file,Vim/etc/httpd/conf/httpd.confAdded: ServerName localhost:802. Restar
When the system starts Apache, it does not start up. Check the "Event Viewer" and some errors are reported:
The Apache service named reported the following error:>>> Httpd.exe: cocould not reliably determine the server's fully qualified domain name, using 192.168.0.200 for servername
Go back and check the Apache Log logs/error. log. A similar error is reported.
It all means cocould not reliably determ
When the Apache Boot httpd service is installed, httpd:could not reliably determine the server's fully qualified domain name, using XXX for Serverna MeFind a lot of information on the Internet, called Modify the httpd/conf/httpd.conf configuration file installed in the Apache root directory1. Open apache_home/httpd/conf/httpd.conf2. Find the #ServerName www.example.com:80 and remove the previous note, the #
Httpd:could not reliably determine the server ' s fully qualified domain name, using 127.0.0.1 for ServerName
The workaround is simple:
#vim/web/apache/conf/httpd.conf (here/web/apahce is the directory where I installed Apache, you should install it by default/usr/local/apache2/icons)
Find #servername www.example.com:80 to remove, and then restart Apache can be all right.
Phenomenon:
bogon:~/webse
Always prompts when you restart Apache on the command line
Httpd: cocould not reliably determine the server's fully qualified domain name, USIng xxxxxxxxxx for servername
Although it has no impact on the service, it is not very nice to see it clearly.
After searching in Baidu, we realized that it was because servername was not set in the early Apache configuration file.
The method to remove this prompt
Solution:Open httpd.conf with NotepadRemove the #ServerName localhost:80 comments from the inside.Re-execute HTTPDHTTP://LOCALHOST:80 can then be accessed through a browser if the page displays "It works! ", which means that Apache has been installed and started successfully.++++++++++++++++++++++++++++++++++++++++++++Using Localhost.localdomain for ServerName said that the server could not confirm the full confirmation of the domain name Localhost.localdoman This problem how to solveBest Answer
1.Open with NotepadRemove the #ServerName localhost:80 comments from the inside.Re-executeHTTP://LOCALHOST:80 can then be accessed through a browser if the page displays "It works! ", which means that Apache has been installed and started successfully.or use Curl http://localhost:80Reference: http://www.cnblogs.com/52linux/archive/2012/03/24/2415637.htmlHttps:could not reliably determine the server ' s fully quali
Solution:Open httpd.conf with NotepadRemove the #ServerName localhost:80 comments from the inside.Re-execute HTTPDHTTP://LOCALHOST:80 can then be accessed through a browser if the page displays "It works! ", which means that Apache has been installed and started successfully. Using Localhost.localdomain for ServerName said that the server could not confirm the full confirmation of the domain name Localhost.localdoman This problem how to solveBest Answer:vi/etc/httpd/conf/httpd.conf add a sentenc
[[Email protected] sbin] # service httpd start
Starting httpd: apr_sockaddr_info_get () failed for luozhonghua
Httpd: cocould not reliably determine the server's fully qualified domain name, using 127.0.0.1 for servername
(98) address already in use: make_sock: cocould not bind to address [:]: 80
(98) address already in use: make_sock: cocould not bind to address 0.0.0.0: 80
No listening sockets available,
When apache is installed on Ubuntu, the following error message is displayed every time it is restarted:
Cocould not reliably determine the server's fully qualified domain name, using 127.0.1.1 for servername
Solution
Modify the httpd. conf file
Open the terminal and enter the following command:
Sudo Vim/etc/apache2/httpd. conf
By default, this is an empty file. Add the following content to th
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.