Posted on Friday, November 25, 2011
in Information, Linux
Today I was messing around with some of the settings on my CentOS6 Server in order to setup more VirtualHost site directories and every time I went to restart my httpd service I kept getting a warning that said,
[warn] module dnssd_module is already loaded, skipping
The reason I kept getting this warning is because I added,
to the end of my httpd.conf file in order to use all of the *.conf VirtualHost setup files in the conf.d directory. What I DIDN’T notice was that the httpd.conf file already had an Include inference listed at line 221 right under the all of the LoadModule settings. It specifically stated,
In turn, every time I tried to reload the httpd service, it was accessing the *.conf files multiple times thus returning the warning. It was a simple mistake that I had overlooked which caused me about an hour of trying to figure out what I missed in the httpd.conf file which kept tripping this warning. I have been setting up web servers for years but just recently started doing it on my own Linux server instead of using a hosting company and still have a lot to learn. I wanted to post this in case any of you run into the same issue. Be sure to check your httpd.conf file for a secondary instance of Include and luckily it’s an easy fix. Most of the web servers I’ve setup at my home office were on windows and I made the smart decision to finally begin porting over and learning Linux top to bottom. Feel free to leave comments below if you’ve ever had any similar embarrassing issues or if you possibly need help figuring out an issue you’re stuck on. I’d be happy to try to help!