The following prompt is displayed when you restart apache. Although it does not affect the normal operation of apache, It is awkward to solve it. apache2: Comment 'sfullyqualifieddomainname, using127.0.0.1forServerName [FriJun0308: 42: 382011] [warn] _ default _
When you restart apache, the following prompt is displayed. Although it does not affect the normal operation of apache, It is awkward to look at. Let's fix it:
Apache2: cocould not reliably deteRmIne the server's fully qualifiEdDomain name, using 127.0.0.1 for ServerName
[Fri Jun 03 08:42:38 2011] [warn] _ default _ VirtualHost overlap on port 443, the first has precedeNcE
The following prompt appears during apache syntax check:
# Apache2-t
Apache2: bad user name $ {APACHE_RUN_USER}
1. # vi/etc/apache2/apache2.conf
127 User www-data
128 Group www-data
2. apache2: cocould not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Solution:
# Vi/etc/apache2/Httpd. Conf
Add
ServerName localhost
3. [Fri Jun 03 08:42:38 2011] [warn] _ default _ VirtualHost overlap on port 443, the first has precedence
Solution:
# Vi/etc/apache2/ports. conf
Add
Namevirtualhost*: 443
Restart apache.